Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a single Loot Table, which determines what items are generated when killing a mob, breaking a block, filling a container, and more.
Properties
path
read-only 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.
Type: string
pools
read-only pools: LootPool[];
Returns the array of loot pools on a given loot table.
Type: LootPool[]