OPLoot
详细描述
OPLoot 是一个面向 Fabric 1.21.11 的轻量级服务端工具模组,赋予服务器管理员对结构宝箱战利品的完全控制权。无需依赖原版或数据包战利品表覆盖,OPLoot 允许你直接在简单的 JSON 配置文件中定义自定义战利品池——无需掌握数据包知识。
游戏中所有的结构宝箱战利品表(包括村庄、要塞、堡垒遗迹、矿洞、地牢、沙漠神殿、丛林神庙、末地城、试炼密室等)都会在加载时通过 Fabric API 的战利品表事件自动检测并进行修改。
主要功能:
- 替换或扩展 —— 选择是完全用你自己的列表替换原版战利品,还是在现有战利品池之上添加你的物品。
- 固定或加权随机战利品 —— 生成每次配置的每个物品,或者让游戏在每次开箱时进行可配置的加权随机抽取次数——每个单独的箱子获得其独立的投掷结果,因此同一结构中的箱子不会看起来都一样。
- 完整的物品语法支持 —— 物品堆栈使用与原版
/give 命令完全相同的语法定义,包括附魔、药水效果和自定义数据等物品组件。解析通过 Minecraft 自身的物品参数解析器完成,因此在 /give 中有效的内容在你的配置中也同样有效。
- 自动权重描述 —— 可选地在物品的 lore(描述)中显示每个物品的配置权重,便于测试和调整你的战利品表。
- 零麻烦设置 —— 首次启动时,OPLoot 会生成一个即开即用的
config/oploot/loot.json 文件,其中包含完整的示例配置,让你可以立即开始调整。
无论你想构建自定义的 vanilla+ 战利品进度系统、运行拥有重新平衡结构奖励的硬核生存服务器,还是仅仅为了好玩将每个地牢宝箱都换成钻石,OPLoot 都为你提供了一种干净、基于配置的解决方案——无需编写代码。
简短描述
通过简单的 JSON 配置文件定制所有结构宝箱的战利品——替换或扩展原版战利品,使用固定或加权随机抽取,并使用完整的 /give 风格语法定义物品。
默认配置物品掉落概率(总权重:231 / 5 次抽取)
| 权重 |
物品数量 |
至少出现一次的概率(5 次抽取内) |
| 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
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% |
评论 0
登录后参与评分
还没有评论,来抢沙发吧