Loot Table Manager
ModLicenseRef-All-Rights-Reserved

Loot Table Manager

LootTable Manager is a Minecraft mod that allows you to add, replace, or customize loot tables for any block that contains an inventory, including vanilla blocks and blocks added by other mods (furniture, cupboards, drawers, shelves, etc.).

110
Downloads
1
Followers
3 months ago
Updated
📦
1
Versions

📖About Loot Table Manager

📦 LootTable Manager

LootTable Manager is a Minecraft mod that allows you to add, replace, or customize loot tables for any block that contains an inventory, including vanilla blocks and blocks added by other mods (furniture, cupboards, drawers, shelves, etc.).

The mod is designed to give server owners and modpack creators full control over loot generation using simple and clean JSON configuration files, without needing datapacks or code changes.


✨ Features

  • ✔ Add or override loot tables for any inventory-based block
  • ✔ Works with vanilla and modded blocks
  • ✔ Fully configurable loot (items, weights, rolls, counts)
  • ✔ Per-block loot respawn cooldown system
  • ✔ Simple JSON-based configuration
  • ✔ Ideal for RPG, survival, apocalypse, and roleplay servers

⚙️ How It Works

📁 Loot Tables

Each loot table is defined in a JSON file named exactly after the block ID.

Example file name:

 
mcwfurnitures_acacia_bookshelf.json

This file controls the loot generated inside:

 
mcwfurnitures:acacia_bookshelf

🧪 Example Loot Table

 
{
  "pools": [
    {
      "rolls": {
        "min": 1,
        "max": 2
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "weight": 20,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:writable_book",
          "weight": 10,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 1
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:paper",
          "weight": 15,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 2,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:ink_sac",
          "weight": 8,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:name_tag",
          "weight": 3,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 1
              }
            }
          ]
        }
      ]
    }
  ]
}

🔹 This loot table randomly generates books, paper, and rare items inside the block.
🔹 weight controls item probability.
🔹 rolls defines how many items are selected per interaction.


⏱ Loot Respawn Cooldown

Loot respawn is controlled by a dedicated JSON file.

Each block can have its own cooldown time (in seconds) before the loot can regenerate.

🧾 Example Cooldown File

 
{
  "mcwfurnitures:acacia_bookshelf": 180,
  "mcwfurnitures:acacia_drawer": 120,
  "minecraft:barrel": 90
}

(cooldown.json)

  • 180 = loot respawns after 3 minutes
  • 120 = loot respawns after 2 minutes
  • 90 = loot respawns after 1.5 minutes

This system prevents infinite farming and allows balanced, immersive gameplay.


🎯 Use Cases

  • 🧟 Apocalypse / zombie survival servers
  • 🏹 RPG and adventure maps
  • 🏠 Furniture mods with functional storage loot
  • 🌍 Custom survival experiences
  • 🛠 Modpacks with controlled loot economy

🧠 Design Philosophy

Powerful customization with zero coding.

LootTable Manager focuses on flexibility, simplicity, and compatibility, making it easy to integrate into any modded Minecraft environment.