Skip to content

Table Entry

fzzyhmstrs edited this page Nov 19, 2024 · 1 revision

Rolls an entire vanilla loot table and supplies the item drops from that.

JSON Definition

Key Type Value Example Note
"type" String
"lootables:table"
"table" Object
"minecraft:chests/desert_pyramid"
Required

Loot Table to roll when this entry is chosen.
"drop_items" Boolean
true
Optional, default false

When false (default) the items are added to the player inventory, when true the items are scattered on the ground.

Examples

Entry that drops items from the Desert Pyramid loot table. The items will scatter on the ground.

{
  "type": "lootables:table",
  "drop_items": "true",
  "table": "minecraft:chests/desert_pyramid"
}

Clone this wiki locally