Loot Table Generator

Create custom loot tables for Minecraft datapacks with pools, entries, functions, and conditions

Loot Table Type

Select the type of loot table you want to create

Pools

Pool 1(1 entry)

Entry 1

Generated JSON

{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond"
        }
      ]
    }
  ]
}

Usage Instructions

1. Save the JSON as a .json file

2. Place in your datapack: data/namespace/loot_tables/

3. Reference with: /loot give @p loot namespace:filename

File Structure:

datapack/
-- pack.mcmeta
-- data/
    -- mynamespace/
        -- loot_tables/
            -- my_loot.json