Interface CrossbowUser

All Superinterfaces:
RangedAttackMob
All Known Implementing Classes:
PiglinEntity, PillagerEntity

public interface CrossbowUser extends RangedAttackMob
Mappings:
Namespace Name
official bkr
intermediary net/minecraft/class_3745
named net/minecraft/entity/CrossbowUser
  • Method Details

    • setCharging

      void setCharging(boolean charging)
      Mappings:
      Namespace Name Mixin selector
      official b Lbkr;b(Z)V
      intermediary method_7110 Lnet/minecraft/class_3745;method_7110(Z)V
      named setCharging Lnet/minecraft/entity/CrossbowUser;setCharging(Z)V
    • shoot

      void shoot(LivingEntity target, ItemStack crossbow, ProjectileEntity projectile, float multiShotSpray)
      Mappings:
      Namespace Name Mixin selector
      official a Lbkr;a(Laxa;Lbtx;Lboa;F)V
      intermediary method_18811 Lnet/minecraft/class_3745;method_18811(Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;Lnet/minecraft/class_1676;F)V
      named shoot Lnet/minecraft/entity/CrossbowUser;shoot(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/projectile/ProjectileEntity;F)V
    • getTarget

      Mappings:
      Namespace Name Mixin selector
      official G Lbkr;G()Laxa;
      intermediary method_5968 Lnet/minecraft/class_3745;method_5968()Lnet/minecraft/class_1309;
      named getTarget Lnet/minecraft/entity/CrossbowUser;getTarget()Lnet/minecraft/entity/LivingEntity;
    • postShoot

      void postShoot()
      Mappings:
      Namespace Name Mixin selector
      official a Lbkr;a()V
      intermediary method_24651 Lnet/minecraft/class_3745;method_24651()V
      named postShoot Lnet/minecraft/entity/CrossbowUser;postShoot()V
    • shoot

      default void shoot(LivingEntity entity, float speed)
      Mappings:
      Namespace Name Mixin selector
      official b Lbkr;b(Laxa;F)V
      intermediary method_24654 Lnet/minecraft/class_3745;method_24654(Lnet/minecraft/class_1309;F)V
      named shoot Lnet/minecraft/entity/CrossbowUser;shoot(Lnet/minecraft/entity/LivingEntity;F)V
    • shoot

      default void shoot(LivingEntity entity, LivingEntity target, ProjectileEntity projectile, float multishotSpray, float speed)
      Mappings:
      Namespace Name Mixin selector
      official a Lbkr;a(Laxa;Laxa;Lboa;FF)V
      intermediary method_24652 Lnet/minecraft/class_3745;method_24652(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;Lnet/minecraft/class_1676;FF)V
      named shoot Lnet/minecraft/entity/CrossbowUser;shoot(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/projectile/ProjectileEntity;FF)V
    • getProjectileLaunchVelocity

      default Vec3f getProjectileLaunchVelocity(LivingEntity entity, Vec3d positionDelta, float multishotSpray)
      Mappings:
      Namespace Name Mixin selector
      official a Lbkr;a(Laxa;Ldnz;F)Lk;
      intermediary method_24653 Lnet/minecraft/class_3745;method_24653(Lnet/minecraft/class_1309;Lnet/minecraft/class_243;F)Lnet/minecraft/class_1160;
      named getProjectileLaunchVelocity Lnet/minecraft/entity/CrossbowUser;getProjectileLaunchVelocity(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/Vec3d;F)Lnet/minecraft/util/math/Vec3f;