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.
-
Nested Class Summary
Nested classes/interfaces inherited from class PotionEffectType
PotionEffectType.Category -
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
ConstructorsModifierConstructorDescriptionprotectedDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptiongetType()Deprecated, for removal: This API element is subject to removal in a future version.Get the potion type bound to this wrapper.Methods inherited from class PotionEffectType
createEffect, getAttributeModifierAmount, getById, getByKey, getByName, getCategory, getColor, getDurationModifier, getEffectAttributes, getEffectCategory, getId, getName, isInstant, valuesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FeatureDependant
requiredFeaturesMethods inherited from interface Translatable
translationKeyMethods inherited from interface Translatable
getTranslationKey
-
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
-