Class net.minecraft.loot.function.LootFunction

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

Static Methods

LootFunction.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"

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(arg0, arg1) 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:validate(reporter) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"


Static Methods

LootFunction.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"

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