接口的使用
org.bukkit.entity.Projectile
-
org.bukkit.entity中Projectile的使用
修饰符和类型接口说明interface
代表一支箭.interface
Represents a Wind Charge.interface
表示一只箭矢.interface
Represents a Wind Charge.interface
恶龙咆哮, 哇呜~(指末影龙火球)interface
我创造了生命?interface
代表抛出的末影珍珠实体.interface
代表一个火球.interface
烟花火箭实体.interface
代表一个鱼钩.interface
代表大的火球(Fireball
).interface
已过时。滞留状态仅取决于药水物品/lingering status depends on only on the potion item.interface
代表羊驼唾沫.interface
interface
Represents a sized fireball.interface
代表小的火球(Fireball
).interface
代表雪球.interface
Represents a spectral arrow.interface
已过时。splash status depends on only on the potion item.interface
interface
代表抛出的附魔之瓶.interface
代表一个被抛出的药水瓶.interface
已过时。tipped status depends only on base potion type not being UNCRAFTABLE and effects being empty.interface
代表被抛出的三叉戟.interface
Represents a Wind Charge.interface
代表凋零之首. -
org.bukkit.event.entity中Projectile的使用
限定符构造器说明ProjectileHitEvent
(@NotNull Projectile projectile) ProjectileHitEvent
(@NotNull Projectile projectile, @Nullable Block hitBlock) ProjectileHitEvent
(@NotNull Projectile projectile, @Nullable Entity hitEntity) ProjectileHitEvent
(@NotNull Projectile projectile, @Nullable Entity hitEntity, @Nullable Block hitBlock) ProjectileHitEvent
(@NotNull Projectile projectile, @Nullable Entity hitEntity, @Nullable Block hitBlock, @Nullable BlockFace hitFace) -
org.bukkit.projectiles中Projectile的使用
修饰符和类型方法说明<T extends Projectile>
TProjectileSource.launchProjectile
(@NotNull Class<? extends T> projectile) 让ProjectileSource发射一个Projectile
。<T extends Projectile>
TProjectileSource.launchProjectile
(@NotNull Class<? extends T> projectile, @Nullable Vector velocity) 让ProjectileSource以一个初始速度向量发射Projectile
。