Minecraft Loot Table Generator
Weighted random loot JSON for chests, mobs, fishing datapacks
Pool Settings
Loot Entries (3)
Higher weight = more likely. Total weight: 16.
loot_table.json
{
"type": "minecraft:chest",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:diamond",
"weight": 1,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 3
}
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:iron_ingot",
"weight": 5,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 5
}
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:coal",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 8
}
}
]
}
]
}
]
}Installing Your Custom Loot Table
- Save the JSON as
custom_loot.json. - Place in your datapack:
data/<namespace>/loot_tables/chests/custom_loot.json - Reference in
/loot give @p loot namespace:custom_loot - Or use in a structure's loot table tag to replace vanilla chest loot.
- Run
/reloadafter changes.
Minecraft Loot Table Generator — FAQ
Is this Minecraft Loot Table Generator free to use?
Yes, the Minecraft Loot Table Generator is 100% free — no signup required, no hidden fees, no downloads. Everything runs in your browser.
How accurate is the Minecraft Loot Table Generator?
Values are pulled from the Minecraft game files and community-verified formulas. Results match what you see in-game, and we update the tool when the game gets major patches.
Can I host a Minecraft server with XGamingServer?
Yes. XGamingServer offers instant Minecraft server hosting with mod support, automatic backups, DDoS protection, and 24/7 support. All popular game settings are pre-configured.
Does the Loot Table Generator work on mobile?
Yes, the Loot Table Generator is fully responsive and works on desktop, tablet, and mobile browsers.
You might also need
XP Calculator
Calculate experience points needed between levels
Enchantment Calculator
Find the best enchantment combinations for your gear
Server Status Checker
Check if any Minecraft server is online and view player count
Server Properties Generator
Generate a complete server.properties file with all options

Config Tool Built Into XGamingServer
Get managed Minecraft hosting with this tool in your panel — configure, deploy, and play in minutes. No file uploads needed.