类的使用
org.bukkit.potion.PotionData
-
org.bukkit.entity中PotionData的使用
修饰符和类型方法说明AreaEffectCloud.getBasePotionData()
已过时。Arrow.getBasePotionData()
已过时。Upgraded / extended potions are now their ownPotionType
useArrow.getBasePotionType()
instead.修饰符和类型方法说明void
AreaEffectCloud.setBasePotionData
(@Nullable PotionData data) 已过时。Upgraded / extended potions are now their ownPotionType
useAreaEffectCloud.setBasePotionType(org.bukkit.potion.PotionType)
instead.void
Arrow.setBasePotionData
(@Nullable PotionData data) 已过时。Upgraded / extended potions are now their ownPotionType
useArrow.setBasePotionType(org.bukkit.potion.PotionType)
instead. -
org.bukkit.inventory.meta中PotionData的使用
修饰符和类型方法说明PotionMeta.getBasePotionData()
已过时。Upgraded / extended potions are now their ownPotionType
usePotionMeta.getBasePotionType()
instead.修饰符和类型方法说明void
PotionMeta.setBasePotionData
(@Nullable PotionData data) 已过时。Upgraded / extended potions are now their ownPotionType
usePotionMeta.setBasePotionType(org.bukkit.potion.PotionType)
instead.
PotionType
useAreaEffectCloud.getBasePotionType()
instead.