Represents a Container or a
Mob that can have a loot table.
Container loot will only generate upon opening, and only when the container
is first opened.
Entities will only generate loot upon death.
Set the loot table and seed for a container or entity at the same time.
If the provided loot table is null, the loot table will be reset to its default behavior.
Parameters:
table - the Loot Table this Container or Mob will have.
seed - the seed to used to generate loot. Default is 0.
hasLootTable
defaultbooleanhasLootTable()
Returns whether or not this object has a Loot Table
Returns:
Has a loot table
clearLootTable
defaultvoidclearLootTable()
Clears the associated Loot Table to this object, essentially resetting it to default