xgaming.tools

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.

weight6.3%
count
weight31.3%
count
weight62.5%
count

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

  1. Save the JSON as custom_loot.json.
  2. Place in your datapack: data/<namespace>/loot_tables/chests/custom_loot.json
  3. Reference in /loot give @p loot namespace:custom_loot
  4. Or use in a structure's loot table tag to replace vanilla chest loot.
  5. Run /reload after 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

Built-In Tool

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.

Built-In Config ToolInstant Server SetupDDoS ProtectionExpert 24/7 Support
Get 40% OFFNo setup fees · Cancel anytime