Package net.minecraft.entity
Interface ICrossbowUser
-
- All Superinterfaces:
IRangedAttackMob
- All Known Implementing Classes:
PiglinEntity
,PillagerEntity
public interface ICrossbowUser extends IRangedAttackMob
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Vector3f
getProjectileShotVector(LivingEntity p_234280_1_, Vector3d p_234280_2_, float p_234280_3_)
LivingEntity
getTarget()
void
onCrossbowAttackPerformed()
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 Detail
-
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_)
-
-