Class PotionEffectTypeWrapper
java.lang.Object
org.bukkit.potion.PotionEffectType
org.bukkit.potion.PotionEffectTypeWrapper
- All Implemented Interfaces:
Keyed, RegistryAware, Translatable
Deprecated.
only for backwards compatibility, PotionEffectTypeWrapper is no longer used.
-
Field Summary
Fields inherited from class PotionEffectType
ABSORPTION, BAD_OMEN, BLINDNESS, BREATH_OF_THE_NAUTILUS, CONDUIT_POWER, DARKNESS, DOLPHINS_GRACE, FIRE_RESISTANCE, GLOWING, HASTE, HEALTH_BOOST, HERO_OF_THE_VILLAGE, HUNGER, INFESTED, INSTANT_DAMAGE, INSTANT_HEALTH, INVISIBILITY, JUMP_BOOST, LEVITATION, LUCK, MINING_FATIGUE, NAUSEA, NIGHT_VISION, OOZING, POISON, RAID_OMEN, REGENERATION, RESISTANCE, SATURATION, SLOW_FALLING, SLOWNESS, SPEED, STRENGTH, TRIAL_OMEN, UNLUCK, WATER_BREATHING, WEAKNESS, WEAVING, WIND_CHARGED, WITHER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()Deprecated.Get the potion type bound to this wrapper.Methods inherited from class PotionEffectType
createEffect, getById, getByKey, getByName, getCategory, getColor, getDurationModifier, getId, getKey, getName, isInstant, valuesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RegistryAware
getKeyOrNull, getKeyOrThrow, isRegisteredMethods inherited from interface Translatable
getTranslationKey
-
Constructor Details
-
PotionEffectTypeWrapper
protected PotionEffectTypeWrapper()Deprecated.
-
-
Method Details
-
getType
Deprecated.Get the potion type bound to this wrapper.- Returns:
- The potion effect type
-