一款经过打磨、支持领地系统的死亡物品恢复模组,适用于 Forge 1.20.1。
零损失,全找回,一键装备完毕。

在原版 Minecraft 中,你死亡后物品会掉落在地上,并在五分钟后消失,任何在冲刺距离内的玩家都可以将其一扫而空。Perfect Graves 用一块知道你掉落位置、穿着装备以及服务器当前状况的墓碑取代了这种混乱局面。右键点击你的墓碑(或者破坏它——两种方式均可),你的装备就会瞬间回到原本所在的精确槽位:盔甲归入盔甲槽,饰品归入 Curios 槽,剑回到快捷栏,经验值直接补回经验条。无需追逐47个经验球,无需进行背包俄罗斯方块般的整理。
10分钟的保护计时器(可配置,离线时暂停)会在你赶回的路上阻止其他玩家触碰你的物品。

在任何生物群系中都能安全存物
- 熔岩。 地表生成3×3的黑曜石平台,墓碑置于其上。
- 虚空。 在你最后的安全地面(或合理的默认Y坐标)生成平台。
- 水下。 支持充水——放置于海底,保留完整的水柱。
- 被石头掩埋。 最近的空气点,向上和向下扫描——即使你在下界基岩天花板下窒息,且唯一的空气源就在你下方时也能生效。
- 基岩锁定。 当上述方法全部失效时,你的物品会进入一个虚拟保险库,你可以通过
/grave list 取回。物品永远不会无声无息地丢失。

指引你返回之路
近距离观察:完整的半透明全息投影,显示姓名、物品数量、经验值和剩余保护时间。远离观察:它会淡入为一个较小的远距离标记 —— ☠ <name> died 12m ago • 187m —— 即使在跨越整个生物群系的距离外,默认256格范围内也清晰可读。标记会在登出和区块卸载后依然保留记忆。
每次死亡都会记录到每个玩家的独立历史中。输入 /grave history 打开可滚动列表 —— 点击任意条目可查看只读详细信息:当时的物品、死因、维度、精确坐标。


专为整合包设计
- 领地模组。 墓碑绝不会生成在其他人的领地内。FTB Chunks、Open Parties and Claims 和 Flan 开箱即用即可识别。
- Curios 饰品。 戒指、护符、 charms 等所有自定义槽位 —— 死亡时会重新装备回原先所在的 Curios 槽位。
- 灵魂绑定附魔。 由 Ender IO 或 Ars Elemental 的灵魂绑定附魔加持的物品会在死亡时与你同在 —— 如果第三方灵魂绑定模组(如 Mystical Agriculture 等)将装备返还至物品栏网格,Perfect Graves 会自动将盔甲部件移回其对应的盔甲槽位。
- 模组添加的掉落物。 Apotheosis 的词缀、Curios 饰品、任何挂钩
LivingDropsEvent 的其他内容 —— 均会与原版物品一起存入墓碑中。
当无法放置任何实体墓碑时 —— 领地方块封锁了所有选项、你死于基岩深处、或者败给了虚空 —— 你的物品会进入虚拟保险库。聊天栏收到的消息中包含一个金色加粗的可点击链接 /grave list:只需一次点击即可自动输入该命令。

指令
| 指令 |
功能 |
权限 |
/grave list |
打开你的虚拟保险库菜单 |
所有人 |
/grave history |
浏览所有记录的死亡事件 —— 物品、死因、位置 |
所有人 |
/grave restore <id> |
将指定的虚拟保险库物品直接提取到你的物品栏 |
所有人 |
/grave debug <player> |
列出目标玩家的所有虚拟保险库信息(UUID、物品、位置) |
OP |
/grave marker [...] |
实时切换远距离标记可见性、仅限自己过滤、消除半径、最大距离 |
客户端侧,任何人 |
给服务器管理员
设计上确保不会拖慢 TPS:
- 墓碑放置有时间限制(默认每次死亡占用10毫秒真实时间),一旦找到足够多的候选位置便会提前退出。
- 放置过程中永远不会强制加载区块。
- 放置失败时会触发级联回退机制,最终要么安全掉落,要么存入虚拟保险库 —— 除非你明确设置
[fallback].mode = "VANILLA_DROP",否则物品永远不会无声无息地丢失。
- 以
LOWEST 优先级拦截 LivingDropsEvent,确保模组添加的掉落物(如 Apotheosis 等)能正确存入墓碑。
全局配置文件位于 config/perfectgraves-common.toml。支持按维度覆盖配置。客户端侧的标记偏好设置单独位于 config/perfectgraves-client.toml。
完整的配置参考、源代码和问题追踪器请访问 GitHub。
许可证: MIT。
源码: github.com/risenxxx/perfect-graves
问题反馈: github.com/risenxxx/perfect-graves/issues
A polished, claims-aware death-recovery system for Forge 1.20.1.
Lose nothing, find everything, suit up in one motion.

When you die in vanilla Minecraft, your items hit the floor on a five-minute timer and anyone within sprinting distance can sweep the lot. Perfect Graves replaces that scramble with a gravestone that knows where you fell, what you were wearing, and what else is going on with your server. Right-click your grave (or break it — both work) and your gear snaps back into the exact slots it was in: armor in armor slots, accessories in their Curios slots, sword on the bar, XP credited straight to your bar. No 47-orb chase. No inventory Tetris.
A 10-minute protection timer (configurable, paused while you're offline) keeps other players out of your stuff while you find your way back.

Death-proof in any biome
- Lava. 3×3 obsidian platform on the surface, grave on top.
- Void. Platform at your last safe ground (or a sane default Y).
- Underwater. Waterloggable — placed on the seafloor with the water column intact.
- Buried in stone. Nearest air spot, scanning up and down — even when you suffocate just under the Nether bedrock ceiling and the only air is below you.
- Bedrock-locked. When even that fails, your gear lands in a virtual vault you can pull back with
/grave list. Items are never silently lost.

Find your way back
Up close: full hologram with name, item count, XP, protection timer. Step away: it crossfades into a smaller long-distance marker — ☠ <name> died 12m ago • 187m — readable from across an entire biome, out to 256 blocks by default. Markers are remembered across logouts and chunk unloads.
Every death is logged to a per-player history. /grave history opens a scrollable list — click any entry for read-only details: items at that moment, cause, dimension, exact coordinates.


Designed for modpacks
- Claim mods. Graves never spawn inside someone else's claim. FTB Chunks, Open Parties and Claims, and Flan are recognized out of the box.
- Curios. Rings, amulets, charms, all custom slots — re-equipped to the same Curios slot they were in at death.
- Soulbound enchants. Items enchanted by Ender IO or Ars Elemental's soulbound stay with you across death — and if a third-party soulbound mod (Mystical Agriculture, etc.) returns your gear into the inventory grid, Perfect Graves automatically moves armor pieces back into their armor slots.
- Mod-added drops. Apotheosis affixes, Curios accessories, anything else that hooks
LivingDropsEvent — captured in the grave alongside vanilla items.
When no placement is possible — claim blocks every option, you died deep inside bedrock, the void won the day — your stuff goes into a virtual vault. The chat message you get has a clickable, gold-bold /grave list link: one click types it for you.

Commands
| Command |
What it does |
Who |
/grave list |
Opens a menu of your virtual graves |
everyone |
/grave history |
Browse every recorded death — items, cause, position |
everyone |
/grave restore <id> |
Pulls a virtual grave straight into your inventory |
everyone |
/grave debug <player> |
Lists every virtual grave for the target player (UUID, items, position) |
OPs |
/grave marker [...] |
Live-toggle long-distance marker visibility, own-only filter, dismiss radius, max distance |
client-side, anyone |
For Server Admins
Designed not to wreck your TPS:
- Grave placement is time-boxed (default 10 ms wall-clock per death) and early-exits as soon as it finds enough candidates.
- Never force-loads chunks during placement.
- Failed placements fall through a cascade that ends in either a safe drop or a virtual grave — items are never silently lost unless you explicitly set
[fallback].mode = "VANILLA_DROP".
- Intercepts
LivingDropsEvent at LOWEST priority, so mod-added drops (Apotheosis, etc.) land in the grave correctly.
Server-wide config lives at config/perfectgraves-common.toml. Per-dimension overrides supported. Per-client marker preferences live separately at config/perfectgraves-client.toml.
Full configuration reference, source code, and issue tracker on GitHub.
License: MIT.
Source: github.com/risenxxx/perfect-graves
Issues: github.com/risenxxx/perfect-graves/issues
评论 0
登录后参与评分
还没有评论,来抢沙发吧