Class
net.minecraft.loot.LootChoice
This description should be content pulled from the first comments of a lua file.
Instance Methods
instance:generateLoot(lootConsumer, context) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getWeight(luck) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Instance Methods
- instance:generateLoot(lootConsumer, context)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- 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"
- instance:getWeight(luck)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- luck number, float 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"