Class net.minecraft.loot.function.ApplyBonusLootFunction$Formula

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

Instance Methods

instance:getId() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getValue(random, initialCount, enchantmentLevel) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:toJson(json, context) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"


Instance Methods

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

Returns:

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

Parameters:

  • random userdata, Random This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • initialCount int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • enchantmentLevel int 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"
instance:toJson(json, context)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

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