Interface ICrossbowUser

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

public interface ICrossbowUser extends IRangedAttackMob
  • Method Details

    • setChargingCrossbow

      void setChargingCrossbow(boolean p_213671_1_)
    • shootCrossbowProjectile

      void shootCrossbowProjectile(LivingEntity p_230284_1_, ItemStack p_230284_2_, ProjectileEntity p_230284_3_, float p_230284_4_)
    • getTarget

      @Nullable LivingEntity getTarget()
    • onCrossbowAttackPerformed

      void onCrossbowAttackPerformed()
    • performCrossbowAttack

      default void performCrossbowAttack(LivingEntity p_234281_1_, float p_234281_2_)
    • shootCrossbowProjectile

      default void shootCrossbowProjectile(LivingEntity p_234279_1_, LivingEntity p_234279_2_, ProjectileEntity p_234279_3_, float p_234279_4_, float p_234279_5_)
    • getProjectileShotVector

      default Vector3f getProjectileShotVector(LivingEntity p_234280_1_, Vector3d p_234280_2_, float p_234280_3_)