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 cns
  • 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 Lcns;a:Lcns;
    • 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 Lcns;b:Lcns;
    • 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 Lcns;c:Lcns;
    • 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 Lcns;d:Lcns;
  • 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 Lcns;deflect(Lcnr;Lbsw;Lazh;)V