跳到正文

OPLoot

作者:kazut0

Customize the loot in every structure chest

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

OPLoot

Long Description

OPLoot is a lightweight server-side utility mod for Fabric 1.21.11 that gives server owners full control over structure chest loot. Instead of relying on vanilla or datapack loot table overrides, OPLoot lets you define custom loot pools directly in a simple JSON config file — no datapack knowledge required.

Every structure chest loot table in the game (villages, strongholds, bastions, mineshafts, dungeons, desert pyramids, jungle temples, end cities, trial chambers, and more) is automatically detected and modified at load time using Fabric API’s loot table events.

Key features:

  • Replace or Extend — Choose whether to completely replace vanilla loot with your own list, or simply add your items on top of the existing loot pool.
  • Fixed or Weighted Random Loot — Generate every configured item every time, or let the game roll a weighted random selection a configurable number of times per chest — with each individual chest getting its own independent roll, so chests in the same structure won’t all look the same.
  • Full Item Syntax Support — Item stacks are defined using the exact same syntax as the vanilla /give command, including item components such as enchantments, potion effects, and custom data. Parsing is done through Minecraft’s own item argument parser, so anything that works in /give works in your config.
  • Automatic Weight Lore — Optionally see each item’s configured weight displayed right in its lore, useful for testing and tuning your loot tables.
  • Zero-hassle Setup — On first launch, OPLoot generates a ready-to-edit config/oploot/loot.json file with a full example loadout, so you can start tweaking immediately.

Whether you want to build a custom vanilla+ loot progression, run a hardcore survival server with rebalanced structure rewards, or just replace every dungeon chest with diamonds for fun, OPLoot gives you a clean, config-driven way to do it — no coding required.


Short Description

Customize the loot in every structure chest with a simple JSON config — replace or extend vanilla loot, use fixed or weighted random rolls, and define items with full /give-style syntax.

Default Config Item Drop Probabilities (Total Weight: 231 / 5 Rolls)

| Weight | Item Count | Probability (At least 1 in 5 Rolls) |
| :— | :— | :— |
| 7 | 17 | ~14.23% |
| 6 | 10 | ~12.33% |
| 5 | 1 | ~10.36% |
| 4 | 2 | ~8.37% |
| 3 | 10 | ~6.33% |
| 2 | 4 | ~4.27% |
| 1 | 1 | ~2.14% |

常见问题

OPLoot 支持哪些 Minecraft 版本?

OPLoot 支持 Minecraft Java 版 1.21.11,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

OPLoot 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

kazut0 的其他作品

查看全部 →