java.lang.Object
com.github.retrooper.packetevents.protocol.potion.Potions

public class Potions extends Object
Potions are all possible brewable drinks.
Some examples are the potion of leaping, the extended potion of leaping or the strong potion of leaping.

For individual potion effects, see PotionTypes.

  • Field Details

    • WATER

      public static final Potion WATER
    • MUNDANE

      public static final Potion MUNDANE
    • THICK

      public static final Potion THICK
    • AWKWARD

      public static final Potion AWKWARD
    • NIGHT_VISION

      public static final Potion NIGHT_VISION
    • LONG_NIGHT_VISION

      public static final Potion LONG_NIGHT_VISION
    • INVISIBILITY

      public static final Potion INVISIBILITY
    • LONG_INVISIBILITY

      public static final Potion LONG_INVISIBILITY
    • LEAPING

      public static final Potion LEAPING
    • LONG_LEAPING

      public static final Potion LONG_LEAPING
    • STRONG_LEAPING

      public static final Potion STRONG_LEAPING
    • FIRE_RESISTANCE

      public static final Potion FIRE_RESISTANCE
    • LONG_FIRE_RESISTANCE

      public static final Potion LONG_FIRE_RESISTANCE
    • SWIFTNESS

      public static final Potion SWIFTNESS
    • LONG_SWIFTNESS

      public static final Potion LONG_SWIFTNESS
    • STRONG_SWIFTNESS

      public static final Potion STRONG_SWIFTNESS
    • SLOWNESS

      public static final Potion SLOWNESS
    • LONG_SLOWNESS

      public static final Potion LONG_SLOWNESS
    • STRONG_SLOWNESS

      public static final Potion STRONG_SLOWNESS
    • TURTLE_MASTER

      public static final Potion TURTLE_MASTER
    • LONG_TURTLE_MASTER

      public static final Potion LONG_TURTLE_MASTER
    • STRONG_TURTLE_MASTER

      public static final Potion STRONG_TURTLE_MASTER
    • WATER_BREATHING

      public static final Potion WATER_BREATHING
    • LONG_WATER_BREATHING

      public static final Potion LONG_WATER_BREATHING
    • HEALING

      public static final Potion HEALING
    • STRONG_HEALING

      public static final Potion STRONG_HEALING
    • HARMING

      public static final Potion HARMING
    • STRONG_HARMING

      public static final Potion STRONG_HARMING
    • POISON

      public static final Potion POISON
    • LONG_POISON

      public static final Potion LONG_POISON
    • STRONG_POISON

      public static final Potion STRONG_POISON
    • REGENERATION

      public static final Potion REGENERATION
    • LONG_REGENERATION

      public static final Potion LONG_REGENERATION
    • STRONG_REGENERATION

      public static final Potion STRONG_REGENERATION
    • STRENGTH

      public static final Potion STRENGTH
    • LONG_STRENGTH

      public static final Potion LONG_STRENGTH
    • STRONG_STRENGTH

      public static final Potion STRONG_STRENGTH
    • WEAKNESS

      public static final Potion WEAKNESS
    • LONG_WEAKNESS

      public static final Potion LONG_WEAKNESS
    • LUCK

      public static final Potion LUCK
    • SLOW_FALLING

      public static final Potion SLOW_FALLING
    • LONG_SLOW_FALLING

      public static final Potion LONG_SLOW_FALLING
    • WIND_CHARGED

      public static final Potion WIND_CHARGED
    • WEAVING

      public static final Potion WEAVING
    • OOZING

      public static final Potion OOZING
    • INFESTED

      public static final Potion INFESTED
  • Constructor Details

    • Potions

      public Potions()
  • Method Details

    • define

      public static Potion define(String key)
    • getByName

      @Nullable public static @Nullable Potion getByName(String name)
    • getById

      @Nullable public static @Nullable Potion getById(ClientVersion version, int id)