Interface ProjectileDeflection

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ProjectileDeflection
Mappings:
Namespace Name
named net/minecraft/entity/ProjectileDeflection
intermediary net/minecraft/class_9109
official cnr
  • Field Details

    • NONE

      static final ProjectileDeflection NONE
      Mappings:
      Namespace Name Mixin selector
      named NONE Lnet/minecraft/entity/ProjectileDeflection;NONE:Lnet/minecraft/entity/ProjectileDeflection;
      intermediary field_48347 Lnet/minecraft/class_9109;field_48347:Lnet/minecraft/class_9109;
      official a Lcnr;a:Lcnr;
    • SIMPLE

      static final ProjectileDeflection SIMPLE
      Mappings:
      Namespace Name Mixin selector
      named SIMPLE Lnet/minecraft/entity/ProjectileDeflection;SIMPLE:Lnet/minecraft/entity/ProjectileDeflection;
      intermediary field_48348 Lnet/minecraft/class_9109;field_48348:Lnet/minecraft/class_9109;
      official b Lcnr;b:Lcnr;
    • REDIRECTED

      static final ProjectileDeflection REDIRECTED
      Mappings:
      Namespace Name Mixin selector
      named REDIRECTED Lnet/minecraft/entity/ProjectileDeflection;REDIRECTED:Lnet/minecraft/entity/ProjectileDeflection;
      intermediary field_51509 Lnet/minecraft/class_9109;field_51509:Lnet/minecraft/class_9109;
      official c Lcnr;c:Lcnr;
    • TRANSFER_VELOCITY_DIRECTION

      static final ProjectileDeflection TRANSFER_VELOCITY_DIRECTION
      Mappings:
      Namespace Name Mixin selector
      named TRANSFER_VELOCITY_DIRECTION Lnet/minecraft/entity/ProjectileDeflection;TRANSFER_VELOCITY_DIRECTION:Lnet/minecraft/entity/ProjectileDeflection;
      intermediary field_51510 Lnet/minecraft/class_9109;field_51510:Lnet/minecraft/class_9109;
      official d Lcnr;d:Lcnr;
  • Method Details

    • deflect

      void deflect(ProjectileEntity projectile, @Nullable @Nullable Entity hitEntity, Random random)
      Mappings:
      Namespace Name Mixin selector
      named deflect Lnet/minecraft/entity/ProjectileDeflection;deflect(Lnet/minecraft/entity/projectile/ProjectileEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/random/Random;)V
      intermediary deflect Lnet/minecraft/class_9109;deflect(Lnet/minecraft/class_1676;Lnet/minecraft/class_1297;Lnet/minecraft/class_5819;)V
      official deflect Lcnr;deflect(Lcnq;Lbsv;Lazh;)V