接口的使用
org.bukkit.entity.ThrownPotion
使用ThrownPotion的程序包
-
org.bukkit.entity中ThrownPotion的使用
-
org.bukkit.event.entity中ThrownPotion的使用
修饰符和类型方法说明LingeringPotionSplashEvent.getEntity()PotionSplashEvent.getEntity()PotionSplashEvent.getPotion()获取导致此事件的药水。参数类型为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)