Class PotionEffectTypeWrapper

java.lang.Object
org.bukkit.potion.PotionEffectType
org.bukkit.potion.PotionEffectTypeWrapper
All Implemented Interfaces:
FeatureDependant, Keyed, Translatable, Keyed, Translatable

@Deprecated(since="1.20.3", forRemoval=true) public abstract class PotionEffectTypeWrapper extends PotionEffectType
Deprecated, for removal: This API element is subject to removal in a future version.
only for backwards compatibility, PotionEffectTypeWrapper is no longer used.
  • Constructor Details

    • PotionEffectTypeWrapper

      protected PotionEffectTypeWrapper()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getType

      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the potion type bound to this wrapper.
      Returns:
      The potion effect type