Package net.minecraft.entity
Interface CrossbowUser
- All Superinterfaces:
RangedAttackMob
- All Known Implementing Classes:
PiglinEntity,PillagerEntity
- Mappings:
Namespace Name intermediary net/minecraft/class_3745official bvnnamed net/minecraft/entity/CrossbowUser
-
Method Summary
Modifier and TypeMethodDescriptiondefault Vector3fgetProjectileLaunchVelocity(LivingEntity entity, Vec3d positionDelta, float multishotSpray) voidvoidsetCharging(boolean charging) default voidshoot(LivingEntity entity, float speed) default voidshoot(LivingEntity entity, LivingEntity target, ProjectileEntity projectile, float multishotSpray, float speed) voidshoot(LivingEntity target, ItemStack crossbow, ProjectileEntity projectile, float multiShotSpray) Methods inherited from interface net.minecraft.entity.ai.RangedAttackMob
attack
-
Method Details
-
setCharging
void setCharging(boolean charging) - Mappings:
Namespace Name Mixin selector intermediary method_7110Lnet/minecraft/class_3745;method_7110(Z)Vofficial bLbvn;b(Z)Vnamed setChargingLnet/minecraft/entity/CrossbowUser;setCharging(Z)V
-
shoot
void shoot(LivingEntity target, ItemStack crossbow, ProjectileEntity projectile, float multiShotSpray) - Mappings:
Namespace Name Mixin selector intermediary method_18811Lnet/minecraft/class_3745;method_18811(Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;Lnet/minecraft/class_1676;F)Vofficial aLbvn;a(Lbfx;Lcfx;Lbze;F)Vnamed shootLnet/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 intermediary method_5968Lnet/minecraft/class_3745;method_5968()Lnet/minecraft/class_1309;official P_Lbvn;P_()Lbfx;named getTargetLnet/minecraft/entity/CrossbowUser;getTarget()Lnet/minecraft/entity/LivingEntity;
-
postShoot
void postShoot()- Mappings:
Namespace Name Mixin selector intermediary method_24651Lnet/minecraft/class_3745;method_24651()Vofficial aLbvn;a()Vnamed postShootLnet/minecraft/entity/CrossbowUser;postShoot()V
-
shoot
- Mappings:
Namespace Name Mixin selector intermediary method_24654Lnet/minecraft/class_3745;method_24654(Lnet/minecraft/class_1309;F)Vofficial bLbvn;b(Lbfx;F)Vnamed shootLnet/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 intermediary method_24652Lnet/minecraft/class_3745;method_24652(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;Lnet/minecraft/class_1676;FF)Vofficial aLbvn;a(Lbfx;Lbfx;Lbze;FF)Vnamed shootLnet/minecraft/entity/CrossbowUser;shoot(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/projectile/ProjectileEntity;FF)V
-
getProjectileLaunchVelocity
default Vector3f getProjectileLaunchVelocity(LivingEntity entity, Vec3d positionDelta, float multishotSpray) - Mappings:
Namespace Name Mixin selector intermediary method_24653Lnet/minecraft/class_3745;method_24653(Lnet/minecraft/class_1309;Lnet/minecraft/class_243;F)Lorg/joml/Vector3f;official aLbvn;a(Lbfx;Leea;F)Lorg/joml/Vector3f;named getProjectileLaunchVelocityLnet/minecraft/entity/CrossbowUser;getProjectileLaunchVelocity(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/Vec3d;F)Lorg/joml/Vector3f;
-