Class net.minecraft.loot.function.ApplyBonusLootFunction

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

Static Fields

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

Static Methods

ApplyBonusLootFunction.apply(itemApplier, lootConsumer, context) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
ApplyBonusLootFunction.binomialWithBonusCount(enchantment, probability, extra) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
ApplyBonusLootFunction.builder(joiner) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
ApplyBonusLootFunction.oreDrops(enchantment) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
ApplyBonusLootFunction.uniformBonusCount(enchantment, bonusMultiplier) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
ApplyBonusLootFunction.uniformBonusCount(enchantment) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Constructors

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

Instance Fields

userdata, LootCondition[] instance.conditions This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
userdata, Enchantment instance.enchantment This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
userdata, ApplyBonusLootFunction$Formula instance.formula This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Instance Methods

instance:andThen(arg0) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:apply(itemStack, context) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:apply(itemStack, lootContext) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
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:getRequiredParameters() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getType() 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:process(stack, context) 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:validate(reporter) 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

ApplyBonusLootFunction.apply(itemApplier, lootConsumer, context)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • itemApplier userdata, BiFunction This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • lootConsumer userdata, Consumer This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • context userdata, LootContext This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, Consumer This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
ApplyBonusLootFunction.binomialWithBonusCount(enchantment, probability, extra)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • enchantment userdata, Enchantment This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • probability number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • extra int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, ConditionalLootFunction$Builder This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
ApplyBonusLootFunction.builder(joiner)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

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

Returns:

userdata, ConditionalLootFunction$Builder This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
ApplyBonusLootFunction.oreDrops(enchantment)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

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

Returns:

userdata, ConditionalLootFunction$Builder This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
ApplyBonusLootFunction.uniformBonusCount(enchantment, bonusMultiplier)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

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

Returns:

userdata, ConditionalLootFunction$Builder This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
ApplyBonusLootFunction.uniformBonusCount(enchantment)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

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

Returns:

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

Constructors

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

Parameters:

  • conditions userdata, LootCondition[] This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • enchantment userdata, Enchantment This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • formula userdata, ApplyBonusLootFunction$Formula This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Instance Methods

instance:andThen(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, Function This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

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

Parameters:

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

Returns:

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

Parameters:

  • itemStack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • lootContext userdata, LootContext 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"
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:getRequiredParameters()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

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

Returns:

userdata, LootFunctionType 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:process(stack, context)
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"
  • context userdata, LootContext 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"
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:validate(reporter)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • reporter userdata, LootTableReporter This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName 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"