Package org.bukkit.potion
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 SummaryFields inherited from class org.bukkit.potion.PotionEffectTypeABSORPTION, BAD_OMEN, BLINDNESS, 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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetType()Deprecated.Get the potion type bound to this wrapper.Methods inherited from class org.bukkit.potion.PotionEffectTypecreateEffect, getById, getByKey, getByName, getCategory, getColor, getDurationModifier, getId, getKey, getName, isInstant, valuesMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.registry.RegistryAwaregetKeyOrNull, getKeyOrThrow, isRegisteredMethods inherited from interface org.bukkit.TranslatablegetTranslationKey
- 
Constructor Details- 
PotionEffectTypeWrapperprotected PotionEffectTypeWrapper()Deprecated.
 
- 
- 
Method Details- 
getTypeDeprecated.Get the potion type bound to this wrapper.- Returns:
- The potion effect type
 
 
-