Represents a single Loot Table, which determines what items are generated when killing a mob, breaking a block, filling a container, and more.

Constructors

Properties

Constructors

Properties

path: string

Returns the path to the JSON file that represents this loot table. Does not include file extension, or 'loot_tables/' folder prefix. Example: entities/creeper.

pools: LootPool[]

Returns the array of loot pools on a given loot table.