public class PotionEffectTypeWrapper extends PotionEffectType
ABSORPTION, BLINDNESS, CONFUSION, DAMAGE_RESISTANCE, FAST_DIGGING, FIRE_RESISTANCE, HARM, HEAL, HEALTH_BOOST, HUNGER, INCREASE_DAMAGE, INVISIBILITY, JUMP, NIGHT_VISION, POISON, REGENERATION, SATURATION, SLOW, SLOW_DIGGING, SPEED, WATER_BREATHING, WEAKNESS, WITHER| Modifier | Constructor and Description | 
|---|---|
| protected  | PotionEffectTypeWrapper(int id) | 
| Modifier and Type | Method and Description | 
|---|---|
| double | getDurationModifier()Returns the duration modifier applied to effects of this type. | 
| String | getName()Returns the name of this effect type. | 
| PotionEffectType | getType()Get the potion type bound to this wrapper. | 
| boolean | isInstant()Returns whether the effect of this type happens once, immediately. | 
createEffect, equals, getById, getByName, getId, hashCode, registerPotionEffectType, stopAcceptingRegistrations, toString, valuespublic double getDurationModifier()
PotionEffectTypegetDurationModifier in class PotionEffectTypepublic String getName()
PotionEffectTypegetName in class PotionEffectTypepublic PotionEffectType getType()
public boolean isInstant()
PotionEffectTypeisInstant in class PotionEffectTypeCopyright © 2015. All rights reserved.