接口 CrossbowUser
-
- 所有超级接口:
RangedAttackMob
- 所有已知实现类:
PiglinEntity,PillagerEntity
public interface CrossbowUser extends RangedAttackMob
- Mappings:
Namespace Name official bgmintermediary net/minecraft/class_3745named net/minecraft/entity/CrossbowUser
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 default Vec3fgetProjectileLaunchVelocity(LivingEntity entity, Vec3d positionDelta, float multishotSpray)@Nullable LivingEntitygetTarget()voidpostShoot()voidsetCharging(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)-
从接口继承的方法 net.minecraft.entity.ai.RangedAttackMob
attack
-
-
-
-
方法详细资料
-
setCharging
void setCharging(boolean charging)
- Mappings:
Namespace Name Mixin selector official bLbgm;b(Z)Vintermediary method_7110Lnet/minecraft/class_3745;method_7110(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 official aLbgm;a(Lasy;Lbpr;Lbjv;F)Vintermediary method_18811Lnet/minecraft/class_3745;method_18811(Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;Lnet/minecraft/class_1676;F)Vnamed shootLnet/minecraft/entity/CrossbowUser;shoot(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/projectile/ProjectileEntity;F)V
-
getTarget
@Nullable @Nullable LivingEntity getTarget()
- Mappings:
Namespace Name Mixin selector official GLbgm;G()Lasy;intermediary method_5968Lnet/minecraft/class_3745;method_5968()Lnet/minecraft/class_1309;named getTargetLnet/minecraft/entity/CrossbowUser;getTarget()Lnet/minecraft/entity/LivingEntity;
-
postShoot
void postShoot()
- Mappings:
Namespace Name Mixin selector official W_Lbgm;W_()Vintermediary method_24651Lnet/minecraft/class_3745;method_24651()Vnamed postShootLnet/minecraft/entity/CrossbowUser;postShoot()V
-
shoot
default void shoot(LivingEntity entity, float speed)
- Mappings:
Namespace Name Mixin selector official bLbgm;b(Lasy;F)Vintermediary method_24654Lnet/minecraft/class_3745;method_24654(Lnet/minecraft/class_1309;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 official aLbgm;a(Lasy;Lasy;Lbjv;FF)Vintermediary method_24652Lnet/minecraft/class_3745;method_24652(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;Lnet/minecraft/class_1676;FF)Vnamed shootLnet/minecraft/entity/CrossbowUser;shoot(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/projectile/ProjectileEntity;FF)V
-
getProjectileLaunchVelocity
default Vec3f getProjectileLaunchVelocity(LivingEntity entity, Vec3d positionDelta, float multishotSpray)
- Mappings:
Namespace Name Mixin selector official aLbgm;a(Lasy;Ldma;F)Lk;intermediary method_24653Lnet/minecraft/class_3745;method_24653(Lnet/minecraft/class_1309;Lnet/minecraft/class_243;F)Lnet/minecraft/class_1160;named getProjectileLaunchVelocityLnet/minecraft/entity/CrossbowUser;getProjectileLaunchVelocity(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/Vec3d;F)Lnet/minecraft/util/math/Vec3f;
-
-