MC ToolboxMC TOOLBOX

Creative

Minecraft Loot Table Generator

Simple chest loot pool with one item, count range, and optional random chance. Expand conditions yourself for real packs.

Datapack file

data/my_pack/loot_table/starter_chest.json

Loot pool

Generated starter_chest.json

{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond",
          "weight": 1,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 1
              }
            }
          ]
        }
      ]
    }
  ]
}

Datapack Generator

Minecraft Loot Table JSON Generator

Build a focused Java loot table with an item entry, count range, weight, and optional random chance. The generated JSON is designed as a clear starting point for datapack authors.

Pools and entries

A pool decides how many times to roll. Entries describe possible items, while functions change count and conditions decide whether an entry is eligible.

Start simple

Minecraft loot tables support many advanced conditions and functions. Test a small valid pool first, then extend the downloaded JSON when your project needs entity, enchantment, score, or location checks.

Quick questions

Is this the random chest simulator?

No. This creates datapack JSON. Random Loot Generator is the browser-only simulator.

Can it model every vanilla loot condition?

Not yet. It deliberately covers a useful core subset rather than pretending every schema branch is supported.

What do you think about this tool?

If something feels wrong, a Minecraft version is missing, the wording is confusing, or you have a better workflow idea, send it over. Real player feedback is how these tools get sharper.

Send feedback

Datapack Generator

Minecraft Loot Table JSON Generator

Build a focused Java loot table with an item entry, count range, weight, and optional random chance. The generated JSON is designed as a clear starting point for datapack authors.

Pools and entries

A pool decides how many times to roll. Entries describe possible items, while functions change count and conditions decide whether an entry is eligible.

Start simple

Minecraft loot tables support many advanced conditions and functions. Test a small valid pool first, then extend the downloaded JSON when your project needs entity, enchantment, score, or location checks.

Quick questions

Is this the random chest simulator?

No. This creates datapack JSON. Random Loot Generator is the browser-only simulator.

Can it model every vanilla loot condition?

Not yet. It deliberately covers a useful core subset rather than pretending every schema branch is supported.

What do you think about this tool?

If something feels wrong, a Minecraft version is missing, the wording is confusing, or you have a better workflow idea, send it over. Real player feedback is how these tools get sharper.

Send feedback