接口的使用
org.bukkit.entity.ThrownPotion
使用ThrownPotion的程序包
-
org.bukkit.entity中ThrownPotion的使用
修饰符和类型接口说明interface代表抛出的滞留药水.interfaceRepresents a thrown splash potion bottle -
org.bukkit.event.entity中ThrownPotion的使用
修饰符和类型方法说明LingeringPotionSplashEvent.getEntity()PotionSplashEvent.getEntity()PotionSplashEvent.getPotion()Gets the potion which caused this event参数类型为ThrownPotion的org.bukkit.event.entity中的构造器限定符构造器说明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)