Type object
File match **/data/*/loot_tables/**/*.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/minecraft-data-pack-loot-table/latest.json
Source https://www.schemastore.org/minecraft-loot-table.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Configuration file defining a loot table for a data pack for Minecraft.

Properties

type string
Values: "minecraft:empty" "empty" "minecraft:entity" "entity" "minecraft:block" "block" "minecraft:chest" "chest" "minecraft:fishing" "fishing" "minecraft:gift" "gift" "minecraft:advancement_reward" "advancement_reward" "minecraft:barter" "barter" "minecraft:command" "command" "minecraft:selector" "selector" "minecraft:advancement_entity" "advancement_entity" "minecraft:generic" "generic"
functions object[]

Applies functions to all item stacks produced by this table. Functions are applied in order, so for example looting_enchant must be after set_count to work correctly.

pools object[]

A list of all pools for this loot table. Each pool used generates items from its list of items based on the number of rolls. Pools are applied in order.

Definitions

numberProvider object
type string

The number provider type.

Values: "minecraft:constant" "minecraft:uniform" "minecraft:binomial" "minecraft:score"