Class net.minecraft.potion.PotionUtil

This description should be content pulled from the first comments of a lua file.

Static Fields

string PotionUtil.CUSTOM_POTION_COLOR_KEY This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
string PotionUtil.CUSTOM_POTION_EFFECTS_KEY This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
string PotionUtil.POTION_KEY This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Static Methods

PotionUtil.buildTooltip(stack, list, durationMultiplier) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
PotionUtil.getColor(potion) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
PotionUtil.getColor(stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
PotionUtil.getColor(effects) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
PotionUtil.getCustomPotionEffects(nbt, list) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
PotionUtil.getCustomPotionEffects(stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
PotionUtil.getCustomPotionEffects(nbt) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
PotionUtil.getPotion(stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
PotionUtil.getPotion(compound) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
PotionUtil.getPotionEffects(stack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
PotionUtil.getPotionEffects(nbt) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
PotionUtil.getPotionEffects(potion, custom) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
PotionUtil.setCustomPotionEffects(stack, effects) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
PotionUtil.setPotion(stack, potion) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Constructors

PotionUtil() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Instance Methods

instance:equals(arg0) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getClass() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:hashCode() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:notify() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:notifyAll() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:toString() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0, arg1) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"


Static Methods

PotionUtil.buildTooltip(stack, list, durationMultiplier)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • list userdata, List This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • durationMultiplier number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
PotionUtil.getColor(potion)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • potion userdata, Potion This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
PotionUtil.getColor(stack)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
PotionUtil.getColor(effects)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • effects userdata, Collection This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
PotionUtil.getCustomPotionEffects(nbt, list)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • nbt userdata, NbtCompound This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • list userdata, List This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
PotionUtil.getCustomPotionEffects(stack)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, List This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
PotionUtil.getCustomPotionEffects(nbt)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • nbt userdata, NbtCompound This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, List This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
PotionUtil.getPotion(stack)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, Potion This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
PotionUtil.getPotion(compound)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • compound userdata, NbtCompound This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, Potion This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
PotionUtil.getPotionEffects(stack)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, List This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
PotionUtil.getPotionEffects(nbt)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • nbt userdata, NbtCompound This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, List This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
PotionUtil.getPotionEffects(potion, custom)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • potion userdata, Potion This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • custom userdata, Collection This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, List This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
PotionUtil.setCustomPotionEffects(stack, effects)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • effects userdata, Collection This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
PotionUtil.setPotion(stack, potion)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • potion userdata, Potion This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"

Constructors

PotionUtil()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Instance Methods

instance:equals(arg0)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • arg0 userdata, Object This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getClass()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, Class This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:hashCode()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:notify()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:notifyAll()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:toString()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

string This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:wait(arg0, arg1)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • arg1 int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:wait()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"