xgaming.tools

Minecraft Loot Table Generator

Weighted random loot JSON for chests, mobs, fishing datapacks

Minecraft server hosting from XGamingServer — instant setup, DDoS protection, mod support, and 24/7 help. 30% off your first month.

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

Minecraft server admin docs

Read the full Minecraft server docs →

Step-by-step guides for installing mods, configuring your server, joining, troubleshooting, and admin commands.

Ready to play?

Run your own Minecraft server with XGamingServer

Instant setup, mods & plugins, DDoS protection and 24/7 human support — your server is live in minutes, no port-forwarding required.

99.9%
Uptime SLA
< 5 min
Instant setup
24/7
Human support
DDoS
Protected

Pick your plan

See all plans
Starter$8.40/mo4 GB RAMRenews $12/moBuy now
PopularNovice$10.50/mo6 GB RAMRenews $15/moBuy now
Rookie$17.50/mo8 GB RAMRenews $25/moBuy now
Pro$24.50/mo12 GB RAMRenews $35/moBuy now
Built-In Tool

Minecraft Server Hosting

Get managed Minecraft server hosting with this tool built into your panel — configure, deploy, and play in minutes. Instant setup, DDoS protection, 24/7 support.

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