public class PotionEffectTypeWrapper extends PotionEffectType
ABSORPTION, BAD_OMEN, BLINDNESS, CONDUIT_POWER, CONFUSION, DAMAGE_RESISTANCE, DOLPHINS_GRACE, FAST_DIGGING, FIRE_RESISTANCE, GLOWING, HARM, HEAL, HEALTH_BOOST, HERO_OF_THE_VILLAGE, HUNGER, INCREASE_DAMAGE, INVISIBILITY, JUMP, LEVITATION, LUCK, NIGHT_VISION, POISON, REGENERATION, SATURATION, SLOW, SLOW_DIGGING, SLOW_FALLING, SPEED, UNLUCK, WATER_BREATHING, WEAKNESS, WITHER| Modifier | Constructor | Description | 
|---|---|---|
| protected  | PotionEffectTypeWrapper(int id) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Color | getColor() | Returns the color of this effect type. | 
| 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. | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcreateEffect, equals, getById, getByName, getId, hashCode, registerPotionEffectType, stopAcceptingRegistrations, toString, valuespublic double getDurationModifier()
PotionEffectTypegetDurationModifier in class PotionEffectType@NotNull public String getName()
PotionEffectTypegetName in class PotionEffectType@NotNull public PotionEffectType getType()
public boolean isInstant()
PotionEffectTypeisInstant in class PotionEffectType@NotNull public Color getColor()
PotionEffectTypegetColor in class PotionEffectTypeCopyright © 2020. All rights reserved.