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.
Creative
Simple chest loot pool with one item, count range, and optional random chance. Expand conditions yourself for real packs.
data/my_pack/loot_table/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
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.
A pool decides how many times to roll. Entries describe possible items, while functions change count and conditions decide whether an entry is eligible.
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.
No. This creates datapack JSON. Random Loot Generator is the browser-only simulator.
Not yet. It deliberately covers a useful core subset rather than pretending every schema branch is supported.
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.
Datapack 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.
A pool decides how many times to roll. Entries describe possible items, while functions change count and conditions decide whether an entry is eligible.
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.
No. This creates datapack JSON. Random Loot Generator is the browser-only simulator.
Not yet. It deliberately covers a useful core subset rather than pretending every schema branch is supported.
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.