Better Revive X Trinkets
Better Revive X Trinkets 是一个小型兼容性附加模组,为 Better Revive 添加了 Trinkets 支持。
通常情况下,当墓碑生成时,Better Revive 会处理玩家的常规物品栏。安装此附加模组后,Trinkets 槽位中装备的物品也会被一并处理。
当玩家死亡且 Better Revive 生成墓碑时,该附加模组会将所有已装备的 Trinkets 物品连同其来源槽位一起保存。这包括槽位组、槽位名称、位置以及完整的物品数据。
在回收墓碑后,这些物品会自动放回它们原来的 Trinkets 槽位中。
功能特性
- 在创建 Better Revive 墓碑时存储已装备的 Trinkets 物品
- 记住每个物品的原始 Trinkets 槽位
- 保留完整的物品数据和组件(components)
- 回收墓碑后将物品恢复到相同的槽位
- 兼容其他模组添加的 Trinkets 槽位和物品
- 无需额外配置
- 支持 Fabric 多人游戏及专用服务器
安全的物品处理
我希望该附加模组能够在不引入新的丢失或重复物品风险的情况下处理 Trinkets 物品栏,因此集成使用了 Better Revive 的事务性附加模组系统。
在从玩家身上移除任何物品之前,会先创建并检查 Trinkets 物品栏的完整快照。
如果在处理过程中发生任何变更或操作无法安全完成,事务将被取消并回滚。
此外,在恢复物品时,该附加模组不会覆盖已占用或不兼容的 Trinkets 槽位。
如果物品无法返回其原始槽位,墓碑将保持可用状态,而不是简单地删除或替换某些物品。这给了玩家清除冲突槽位并再次回收墓碑的机会。
存储在物品数据中的备份副本也会保存在墓碑数据内部。这意味着即使未来移除了该附加模组或它不可用,物品仍然可以被回收。
支持
我仍希望不断改进这个附加模组,因此如果你遇到问题或发现导致兼容性问题的模组,欢迎留言或提交 Issue。
也欢迎提出建议。
如果你喜欢我的模组并希望支持后续开发,可以通过以下方式支持:
由 MrStilu2k6 制作
Better Revive X Trinkets
Better Revive X Trinkets is a small compatibility add-on that adds Trinkets support to Better Revive.
Normally, Better Revive handles the player's regular inventory when a grave is created. With this add-on installed, items equipped in Trinkets slots are handled as well.
When a player dies and Better Revive creates a grave, the add-on saves all equipped Trinkets items together with the slot they came from. This includes the slot group, slot name, position and the complete item data.
After the grave is recovered, the items are placed back into their original Trinkets slots automatically.
Features
- Stores equipped Trinkets items when a Better Revive grave is created
- Remembers the original Trinkets slot for every item
- Keeps the complete item data and components
- Restores items to the same slot after recovering the grave
- Works with Trinkets slots and items added by other mods
- No extra configuration required
- Supports Fabric multiplayer and dedicated servers
Safe Item Handling
I wanted the add-on to handle Trinkets inventories without introducing another possible source of lost or duplicated items, so the integration uses Better Revive's transactional add-on system.
Before anything is removed from the player, a complete snapshot of the Trinkets inventory is created and checked.
If something changes during the process or the operation cannot be completed safely, the transaction is cancelled and rolled back.
The add-on also does not overwrite occupied or incompatible Trinkets slots when restoring items.
If an item cannot be returned to its original slot, the grave stays available instead of simply deleting or replacing something. This gives the player a chance to clear the conflicting slot and recover the grave again.
A fallback copy of the stored items is also kept inside the grave data. This means the items can still remain recoverable even if the add-on is removed or unavailable later.
Support
The add-on is still something I want to keep improving, so if you run into a problem or find a mod that causes compatibility issues, feel free to leave a comment or open an issue.
Suggestions are also welcome.
If you enjoy my mods and want to support further development, you can do so here:
Made by MrStilu2k6
下载 Better Revive X Trinkets
下载 Better Revive X Trinkets
下载 Better Revive X Trinkets
下载 Better Revive X Trinkets
下载 Better Revive X Trinkets
下载 Better Revive X Trinkets
下载 Better Revive X Trinkets
下载 Better Revive X Trinkets
下载 Better Revive X Trinkets
下载 Better Revive X Trinkets
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
新增 50+ 个独特生物群系,为你的世界增添新树木、花卉等更多元素!
模组
一个基于构建器的 Minecraft 配置库!
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧