Class
net.minecraft.loot.context.LootContext
This description should be content pulled from the first comments of a lua file.
Constructors
LootContext(random, luck, world, tableGetter, conditionGetter, parameters, drops) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Instance Methods
instance:addCondition(condition) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:drop(id, lootConsumer) | 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:get(parameter) | 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:getCondition(id) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getLuck() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getRandom() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getTable(id) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getWorld() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:hasParameter(parameter) | 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:markActive(table) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:markInactive(table) | 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:removeCondition(condition) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:requireParameter(parameter) | 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" |
Constructors
- LootContext(random, luck, world, tableGetter, conditionGetter, parameters, drops)
-
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"
- luck number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- world userdata, ServerWorld This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- tableGetter userdata, Function This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- conditionGetter userdata, Function This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- parameters userdata, Map This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- drops userdata, Map This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Instance Methods
- instance:addCondition(condition)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- condition userdata, LootCondition 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:drop(id, lootConsumer)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- id userdata, Identifier 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"
- 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:get(parameter)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- parameter userdata, LootContextParameter 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: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:getCondition(id)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- id userdata, Identifier This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, LootCondition This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getLuck()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getRandom()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
userdata, Random This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getTable(id)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- id userdata, Identifier This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, LootTable This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getWorld()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
userdata, ServerWorld This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:hasParameter(parameter)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- parameter userdata, LootContextParameter 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: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:markActive(table)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- table userdata, LootTable 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:markInactive(table)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- table userdata, LootTable This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName 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:removeCondition(condition)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- condition userdata, LootCondition This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:requireParameter(parameter)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- parameter userdata, LootContextParameter 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: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"