接口的使用
org.bukkit.entity.ThrownPotion
使用ThrownPotion的程序包
-
org.bukkit.entity中ThrownPotion的使用
修饰符和类型接口说明interface
Represents a thrown lingering potion bottleinterface
Represents a thrown splash potion bottle -
org.bukkit.event.entity中ThrownPotion的使用
修饰符和类型方法说明PotionSplashEvent.getEntity()
PotionSplashEvent.getPotion()
Gets the potion which caused this event参数类型为ThrownPotion的org.bukkit.event.entity中的构造器限定符构造器说明LingeringPotionSplashEvent
(ThrownPotion potion, AreaEffectCloud entity) PotionSplashEvent
(ThrownPotion potion, Map<LivingEntity, Double> affectedEntities)