接口的使用
org.bukkit.entity.ThrownPotion
-
org.bukkit.entity中ThrownPotion的使用
修饰符和类型接口说明interface
已过时。滞留状态仅取决于药水物品/lingering status depends on only on the potion item.interface
已过时。splash status depends on only on the potion item. -
org.bukkit.event.entity中ThrownPotion的使用
修饰符和类型方法说明LingeringPotionSplashEvent.getEntity()
PotionSplashEvent.getEntity()
PotionSplashEvent.getPotion()
Gets the potion which caused this event限定符构造器说明LingeringPotionSplashEvent
(@NotNull ThrownPotion potion, @NotNull AreaEffectCloud entity) 已过时。LingeringPotionSplashEvent
(@NotNull ThrownPotion potion, @Nullable Entity hitEntity, @Nullable Block hitBlock, @Nullable BlockFace hitFace, @NotNull AreaEffectCloud entity) PotionSplashEvent
(@NotNull ThrownPotion potion, @NotNull Map<LivingEntity, Double> affectedEntities) 已过时。PotionSplashEvent
(@NotNull ThrownPotion potion, @Nullable Entity hitEntity, @Nullable Block hitBlock, @Nullable BlockFace hitFace, @NotNull Map<LivingEntity, Double> affectedEntities)