接口的使用
org.bukkit.entity.Projectile
-
org.bukkit.entity中Projectile的使用
修饰符和类型接口说明interface
表示一只箭矢.interface
interface
代表抛出的鸡蛋.interface
代表抛出的末影珍珠实体.interface
Represents a Fireball.interface
已过时。interface
Represents a fishing hook.interface
代表大的火球(Fireball
).interface
Represents a thrown lingering potion bottleinterface
代表羊驼唾沫.interface
interface
代表小的火球(Fireball
).interface
代表雪球.interface
Represents a spectral arrow.interface
Represents a thrown splash potion bottleinterface
代表抛出的附魔之瓶.interface
Represents a thrown potion bottleinterface
interface
代表凋零之首. -
org.bukkit.event.entity中Projectile的使用
限定符构造器说明EntityShootBowEvent
(LivingEntity shooter, ItemStack bow, Projectile projectile, float force) ProjectileHitEvent
(Projectile projectile) ProjectileHitEvent
(Projectile projectile, Block hitBlock) ProjectileHitEvent
(Projectile projectile, Entity hitEntity) ProjectileHitEvent
(Projectile projectile, Entity hitEntity, Block hitBlock) -
org.bukkit.projectiles中Projectile的使用
修饰符和类型方法说明<T extends Projectile>
TProjectileSource.launchProjectile
(Class<? extends T> projectile) 让ProjectileSource发射一个Projectile
。<T extends Projectile>
TProjectileSource.launchProjectile
(Class<? extends T> projectile, Vector velocity) 让ProjectileSource以一个初始速度向量发射Projectile
。
FishHook