跳到正文

Better Revive X Trinkets

作者:MrStilu2k6

Safely stores equipped Trinkets items in Better Revive graves and restores them to their exact original slots.

收藏

介绍

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

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:

Support via PayPal

Made by MrStilu2k6

常见问题

Better Revive X Trinkets 支持哪些 Minecraft 版本?

Better Revive X Trinkets 支持 Minecraft Java 版 1.20.1–26.3,共 3 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

Better Revive X Trinkets 怎么安装?

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

评论

登录后评论和评分

MrStilu2k6 的其他作品

查看全部 →