Uses of Class
cn.nukkit.entity.projectile.EntityProjectile
Package
Description
-
Uses of EntityProjectile in cn.nukkit.entity.item
Modifier and TypeClassDescriptionclass
class
class
class
-
Uses of EntityProjectile in cn.nukkit.entity.projectile
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
这个抽象类代表较为细长的投射物实体(例如弓箭,三叉戟),它通过重写Entity.move(double, double, double)
方法实现这些实体较为准确的碰撞箱计算。 -
Uses of EntityProjectile in cn.nukkit.event.entity
Modifier and TypeMethodDescriptionProjectileLaunchEvent.getEntity()
EntityShootBowEvent.getProjectile()
EntityShootCrossbowEvent.getProjectile
(int array) EntityShootCrossbowEvent.getProjectiles()
Modifier and TypeMethodDescriptionvoid
EntityShootCrossbowEvent.setProjectile
(EntityProjectile projectile, int array) void
EntityShootCrossbowEvent.setProjectiles
(EntityProjectile[] projectiles) ModifierConstructorDescriptionEntityShootBowEvent
(EntityLiving shooter, Item bow, EntityProjectile projectile, double force) EntityShootCrossbowEvent
(EntityLiving shooter, Item crossbow, EntityProjectile... projectiles) ProjectileHitEvent
(EntityProjectile entity) ProjectileHitEvent
(EntityProjectile entity, MovingObjectPosition movingObjectPosition) Deprecated.ProjectileLaunchEvent
(EntityProjectile entity, Entity shooter) -
Uses of EntityProjectile in cn.nukkit.item.enchantment.bow
Modifier and TypeMethodDescriptionvoid
EnchantmentBow.onBowShoot
(EntityLiving user, EntityProjectile projectile, ItemBow bow) 当弓箭射击时被调用