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
Modifier and TypeFieldDescriptionstatic final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
static final PotionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PotionType
static PotionType
Deprecated.static @Nullable PotionType
getById
(int id) Deprecated.static @Nullable PotionType
getById
(int id, ServerVersion version) static @Nullable PotionType
getById
(int id, ClientVersion version) static @Nullable PotionType
getById
(ClientVersion version, int id) static @Nullable PotionType
static Collection
<PotionType> values()
Returns an immutable view of the potion types.
-
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
-
values
Returns an immutable view of the potion types.- Returns:
- Potion Types
-