Class PotionEffectTypeWrapper

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

@Deprecated public abstract class PotionEffectTypeWrapper extends PotionEffectType
Deprecated.
only for backwards compatibility, PotionEffectTypeWrapper is no longer used.
  • Constructor Details

    • PotionEffectTypeWrapper

      protected PotionEffectTypeWrapper()
      Deprecated.
  • Method Details

    • getType

      @NotNull public PotionEffectType getType()
      Deprecated.
      Get the potion type bound to this wrapper.
      Returns:
      The potion effect type