DAMEGE Get Random Structure Loot 受傷獲得隨機結構寶箱
ModrinthIf you get injured, you can get a random structure treasure chest!受傷就能獲得隨機結構寶箱!
每当你受到任何伤害,就会随机获得一个结构的战利品箱子,打开即可获取该结构对应的随机奖励物资!
玩法机制
触发条件:受到任何伤害(怪物攻击、摔落、烧伤、溺水、饥饿等皆可)
触发效果:随机从 15 种结构中抽选 1 种,直接获得对应的战利品箱子
触发频率:无冷却时间,每次掉血都会触发
获取方式:箱子直接进入背包(背包满则掉落在脚下)
使用方法:将箱子放置在地面上,右键打开即可获得战利品表生成的随机物品
结构宝箱共 15 种
注意事项
⚠️ 本数据包无冷却时间,战斗、跌落、烧伤等都会频繁掉血触发,建议搭配多人或冒险存档使用,避免在创造模式或单纯刷怪测试时无限刷物品
📦 背包已满时箱子会掉落在脚下,记得留出空间或及时整理背包
🎮 适用版本:Minecraft Java 版 1.21.x(含 1.21.11 及以上)
🔄 如需关闭效果,删除 datapacks 文件夹内对应的 zip 文件后 /reload 即可
常见问题
Q: 为什么我受伤了没有获得箱子?
A: 请确认 /reload 后看到加载成功提示,且数据包文件结构正确(pack.mcmeta 应直接位于 zip 根目录,而非套在一层文件夹内)。
Q: 箱子的名字会显示乱码或 JSON 文本吗?
A: 不会,箱子名称已修复为正常显示(如「沉船宝箱」),不含颜色或多余符号。
Q: 可以同时使用其他数据包吗?
A: 可以,本数据包不会修改原版战利品表,只是额外发放箱子,与其他数据包基本不冲突。
Whenever you take any damage, you will randomly receive a loot chest from a specific structure. Open it to get the random reward items associated with that structure!
Gameplay Mechanics
Trigger Condition: Taking any damage (monster attacks, fall damage, burning, drowning, starvation, etc.).
Trigger Effect: Randomly selects 1 from 15 structures and grants its corresponding loot chest.
Trigger Frequency: No cooldown. Triggers every time you lose health.
Acquisition Method: The chest goes directly into your inventory (drops at your feet if your inventory is full).
Usage: Place the chest on the ground and right-click to open and receive random items generated by the loot table.Total Variety: 15 types of structure chests available.
Important Notes
⚠️ No Cooldown: Regular damage will trigger this frequently. Recommended for multiplayer or adventure maps to prevent infinite item farming during creative mode or mob farm testing.
📦 Inventory Management: Chests drop at your feet when your inventory is full. Remember to clear space or organize your items in time.
🎮 Supported Versions: Minecraft Java Edition 1.21.x (including 1.21.11 and above).
🔄 How to Disable: Delete the corresponding .zip file from the datapacks folder and run the /reload command.
FAQ
Q: Why didn't I get a chest when I took damage?
A: Please ensure you see the success message after running /reload. Also, check that the datapack file structure is correct (pack.mcmeta should be directly in the .zip root directory, not nested inside another folder).
Q: Will the chest names display broken characters or raw JSON text?
A: No, the chest names have been fixed to display normally (e.g., "Shipwreck Treasure Chest") without color codes or extra symbols.
Q: Can I use this with other datapacks simultaneously?
A: Yes, this datapack does not modify vanilla loot tables; it only distributes extra chests. It is compatible with most other datapacks.

Комментарии 0
Пока нет комментариев. Будь первым, кто поделится мнением.