Package net.minecraft.entity
Interface ICrossbowUser
- All Superinterfaces:
IRangedAttackMob
- All Known Implementing Classes:
PiglinEntity
,PillagerEntity
-
Method Summary
Modifier and TypeMethodDescriptiondefault Vector3f
getProjectileShotVector
(LivingEntity p_234280_1_, Vector3d p_234280_2_, float p_234280_3_) void
default void
performCrossbowAttack
(LivingEntity p_234281_1_, float p_234281_2_) void
setChargingCrossbow
(boolean p_213671_1_) default void
shootCrossbowProjectile
(LivingEntity p_234279_1_, LivingEntity p_234279_2_, ProjectileEntity p_234279_3_, float p_234279_4_, float p_234279_5_) void
shootCrossbowProjectile
(LivingEntity p_230284_1_, ItemStack p_230284_2_, ProjectileEntity p_230284_3_, float p_230284_4_) Methods inherited from interface net.minecraft.entity.IRangedAttackMob
performRangedAttack
-
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
-
onCrossbowAttackPerformed
void onCrossbowAttackPerformed() -
performCrossbowAttack
-
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_)
-