Class PotionTypes
java.lang.Object
com.github.retrooper.packetevents.protocol.potion.PotionTypes
Potion types are the individually applied potion effects.
Some examples are speed, poison and blindness.
Some examples are speed, poison and blindness.
For potions brewable in survival, see Potions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionTypestatic final PotionType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PotionTypestatic PotionTypeDeprecated.static @Nullable PotionTypegetById(int id) Deprecated.static @Nullable PotionTypegetById(int id, ServerVersion version) static @Nullable PotionTypegetById(int id, ClientVersion version) static @Nullable PotionTypegetById(ClientVersion version, int id) static @Nullable PotionType
-
Field Details
-
SPEED
-
SLOWNESS
-
HASTE
-
MINING_FATIGUE
-
STRENGTH
-
INSTANT_HEALTH
-
INSTANT_DAMAGE
-
JUMP_BOOST
-
NAUSEA
-
REGENERATION
-
RESISTANCE
-
FIRE_RESISTANCE
-
WATER_BREATHING
-
INVISIBILITY
-
BLINDNESS
-
NIGHT_VISION
-
HUNGER
-
WEAKNESS
-
POISON
-
WITHER
-
HEALTH_BOOST
-
ABSORPTION
-
SATURATION
-
GLOWING
-
LEVITATION
-
LUCK
-
UNLUCK
-
SLOW_FALLING
-
CONDUIT_POWER
-
DOLPHINS_GRACE
-
BAD_OMEN
-
HERO_OF_THE_VILLAGE
-
DARKNESS
-
TRIAL_OMEN
-
RAID_OMEN
-
WIND_CHARGED
-
WEAVING
-
OOZING
-
INFESTED
-
-
Constructor Details
-
PotionTypes
public PotionTypes()
-
-
Method Details
-
define
Deprecated. -
define
-
getByName
-
getById
Deprecated. -
getById
-
getById
-
getById
-