Loot Table Manager 图标

Loot Table Manager

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/loot-table-manager
资源信息

Minecraft 版本: 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6

平台: forge

标签: management storage utility

资源介绍

? 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.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Assets 3Dimensional

价格:0 墨喵币
下载量:0

查看详情
Creatures of SonariaCraft

价格:0 墨喵币
下载量:0

查看详情
Orange Tooltip (Frame-only Alt-BG Monochrome)

价格:0 墨喵币
下载量:0

查看详情
CityUtils

价格:0 墨喵币
下载量:0

查看详情