Interface CrossbowAttackMob

All Superinterfaces:
RangedAttackMob
All Known Implementing Classes:
Piglin, Pillager

public interface CrossbowAttackMob extends RangedAttackMob
  • Method Details

    • setChargingCrossbow

      void setChargingCrossbow(boolean p_32339_)
    • shootCrossbowProjectile

      void shootCrossbowProjectile(LivingEntity p_32328_, ItemStack p_32329_, Projectile p_32330_, float p_32331_)
    • getTarget

      @Nullable LivingEntity getTarget()
    • onCrossbowAttackPerformed

      void onCrossbowAttackPerformed()
    • performCrossbowAttack

      default void performCrossbowAttack(LivingEntity p_32337_, float p_32338_)
    • shootCrossbowProjectile

      default void shootCrossbowProjectile(LivingEntity p_32323_, LivingEntity p_32324_, Projectile p_32325_, float p_32326_, float p_32327_)
    • getProjectileShotVector

      default Vector3f getProjectileShotVector(LivingEntity p_32333_, Vec3 p_32334_, float p_32335_)