Remains
Remains 是一款与原版兼容的死亡箱子模组,旨在确保你的物品栏和经验值在死亡时得到保护。该模组不会让物品掉落在地面上从而可能消失或被破坏,而是将它们安全地存储在你死亡位置的头颅方块中。
核心特性
-
零依赖: 极其轻量。它原生运行于 Fabric 加载器,无需 Fabric API。
-
仅服务端: 客户端无需安装此模组即可加入你的服务器。所有自定义 GUI 和机制均由服务端原生处理,使其完美适用于原版多人游戏(SMP)。
-
爆炸保护: 生成的残留物方块完全免疫苦力怕、TNT 及其他来源的爆炸伤害,确保你辛苦获得的战利品绝不会因环境破坏而丢失。
-
完整经验恢复: 它不仅保存你的物品,还保留了你死亡时拥有的确切经验值数量。
-
直观的 GUI 系统: 右键点击头颅方块会打开一个自定义物品栏界面。其中包含用于一键恢复物品和经验的专用按钮。系统内置了安全检查,当你的背包已满时会阻止恢复操作,从而避免意外删除物品。
-
智能虚空与岩浆安全: 当你在虚空或岩浆中死亡时,模组会自动扫描指定半径范围内的区域,并将你的遗骸安全地放置在白名单内的方块上(如石头或泥土)。
命令(仅限管理员)
该模组包含一个完全由数据驱动的命令系统,支持 Tab 键补全,便于即时配置:
-
/remains info - 显示当前配置和白名单状态。
-
/remains reload - 热重载配置文件和本地化文件,无需重启服务器。
-
/remains config lang <language> - 动态切换模组的语言。
-
/remains config radius <value> - 设置死亡时安全放置方块时的搜索半径。
-
/remains whitelist <list|add|remove> - 管理被视为放置遗骸安全的方块白名单。
本地化
内置支持 en_us(英语)和 zh_cn(简体中文)。通过将本地化的 JSON 文件放入 config/remains/lang/ 目录,并使用游戏内命令切换,即可轻松集成自定义语言。
Remains
Remains is a vanilla-friendly death chest mod designed to secure your inventory and experience points upon death. Instead of dropping items on the ground where they might despawn or be destroyed, this mod safely stores them inside a skull block at your death location.
Core Features
- Zero Dependencies: Extremely lightweight. It runs natively on the Fabric loader and does not require the Fabric API.
- Server-Side Only: Clients do not need to install this mod to join your server. All custom GUIs and mechanics are handled natively by the server, making it perfect for vanilla SMPs.
- Explosion Protection: The generated remains block is completely immune to explosions from creepers, TNT, and other sources, ensuring your hard-earned loot is never lost to environmental damage.
- Complete Experience Recovery: Not only does it save your items, but it also retains the exact amount of experience points you had at the time of death.
- Intuitive GUI System: Right-clicking the skull block opens a custom inventory screen. It includes dedicated buttons for one-click item and experience recovery. The system includes built-in safety checks that prevent recovery if your inventory is too full, avoiding accidental item deletion.
- Smart Void and Lava Safety: If you die in the void or lava, the mod automatically scans the surrounding area within a configurable radius to place the remains safely on a whitelisted block (like stone or dirt).
Commands (Admin Only)
The mod includes a fully data-driven command system with tab-completion for easy on-the-fly configuration:
/remains info - Displays the current configuration and whitelist status.
/remains reload - Hot-reloads configuration and localization files without requiring a server restart.
/remains config lang <language> - Switches the mod's language dynamically.
/remains config radius <value> - Sets the search radius for safe block placement upon death.
/remains whitelist <list|add|remove> - Manages the whitelist of blocks that are considered safe for placing the remains.
Localization
Built-in support for en_us (English) and zh_cn (Simplified Chinese). Custom languages can be easily integrated by dropping a localized JSON file into the config/remains/lang/ directory and switching to it via the in-game command.
评论 0
登录后参与评分
还没有评论,来抢沙发吧