? More Cases — 自定义箱子系统
More Cases 是一款游戏性实用模组,允许玩家和服务器管理员创建、自定义并分享拥有可配置奖励与掉落概率的专属箱子。
该模组同时适用于单人游戏与多人联机,因此非常适合用于地图、整合包及服务器。为了演示目的,创意模式物品栏标签页中已预置了三个示例箱子。
✨ 功能
通过指令创建完全自定义的箱子
配置奖励内容、数量以及掉落概率
与好友共享箱子配置文件
支持模组物品与原版的物品
可在单人与多人环境中运行
开箱即用,内置示例箱子
? 使用方法
? 箱子生成
使用以下指令生成新箱子:
/case gen [Case Name color:case_color] mod_id:item_id chance amount mod_id:item_id chance amount ...
? 示例:
/case gen [Blacksmith Case color:yellow] minecraft:iron_ingot 70 1 minecraft:iron_sword 29 1 minecraft:netherite_ingot 1 2
此指令将创建一个包含以下内容的箱子:
70% 概率 — 铁锭 (x1)
29% 概率 — 铁剑 (x1)
1% 概率 — 下界合金锭 (x2)
重要提示
所有物品的总概率必须等于 100%
如果总概率不足 100%,剩余的百分比将由一个虚拟(空)奖励填充
示例:
如果您指定:
------剑 — 20%
------锭 — 40%
那么:
------虚拟奖励 — 40% (100 − 20 − 40)
? 获取已保存的箱子
若要获取保存在配置文件中的箱子,请使用:
/case get [Case Name color:case_color] case_file.json
? 箱子文件位置
所有保存的箱子文件(包括自定义和内置的)均存储在:
config/more_cases/
? 许可证
本模组遵循 MIT 许可证授权。
您可以自由使用、修改和分发本模组,但需注明原作者信息。
❓ 常见问题 / 支持
- 我可以在哪里使用此模组?
- 您可以在以下场景中使用此模组(需遵守 MIT 许可证要求,提供适当的作者署名和链接):
地图
服务器(可能需要额外配置)
多人世界
整合包
- 在哪里报告错误或提问?
- 如需报告错误、提交问题或咨询,请在 Discord 联系我:
blackhole888yt
? More Cases — Custom Case System
More Cases is a gameplay utility mod that allows players and server owners to create, customize, and share their own cases with configurable rewards and drop chances.
The mod is designed for both singleplayer and multiplayer, making it suitable for maps, modpacks, and servers.
For demonstration purposes, three example cases are already included in the creative inventory tab.
✨ Features
Create fully custom cases via commands
Configure rewards, amounts, and drop chances
Share case configuration files with friends
Supports modded and vanilla items
Works in singleplayer and multiplayer environments
Example cases included out of the box
? How to Use
? Case Generation
Use the following command to generate a new case:
/case gen [Case Name color:case_color] mod_id:item_id chance amount mod_id:item_id chance amount ...
? Example:
/case gen [Blacksmith Case color:yellow] minecraft:iron_ingot 70 1 minecraft:iron_sword 29 1 minecraft:netherite_ingot 1 2
This command creates a case with:
70% chance — Iron Ingot (x1)
29% chance — Iron Sword (x1)
1% chance — Netherite Ingot (x2)
Important Notes
The total chance of all items must equal 100%
If the total chance is less than 100%, the remaining percentage will be filled with a dummy (empty) reward
Example:
If you specify:
------Sword — 20%
------Ingot — 40%
Then:
------Dummy reward — 40% (100 − 20 − 40)
? Getting a Saved Case
To obtain a case that has been saved in the config files, use:
/case get [Case Name color:case_color] case_file.json
? Case Files Location
All saved case files (both custom and built-in) are stored in:
config/more_cases/
? License
This mod is licensed under the MIT License.
You are free to use, modify, and distribute it with attribution to the author.
❓ Q&A / Support
- Where can I use this mod?
- You may use this mod (with proper author credit and links, as required by the MIT license) in:
Maps
Servers (may require additional configuration)
Multiplayer worlds
Modpacks
- Where to report bugs or ask questions?
- For bugs, issues, or questions, contact me on Discord:
blackhole888yt
评论 0
登录后参与评分
还没有评论,来抢沙发吧