Death Keeper 是一款轻量级、可配置的模组,旨在确保你死亡时物品安全。
此模组无需与库存类模组(如 Curios)进行特殊兼容,因为它通过直接拦截掉落物而非访问玩家背包来实现功能。
你的物品不会散落在地上,而是储存在死亡地点的墓碑中,让你有机会稍后取回。
我注意到许多墓碑模组的通病是:如果玩家在相同位置反复死亡,会导致该区域被大量墓碑堆满。为解决这一问题,本模组会将附近的墓碑合并在一起,避免墓地泛滥 smh。
另一个想法是为生物添加墓碑,尤其是 Boss 生物,因此我也加入了这个功能 :3
通用功能
- 死亡时生成墓碑 “obv”
- 物品丢失百分比
- 智能墓碑放置
- 墓碑合并
- 墓碑存续时间
- 支持拥有掉落物的实体
命令
/gravestone place <entity> <pos>
在指定位置为实体手动创建墓碑。/gravestone destroy <pos>
移除墓碑及其所有内容。/gravestone clear
移除当前维度中的所有墓碑。/gravestone clear <targets>
移除与特定实体关联的墓碑。/gravestone insert <item> <count> <pos>
向墓碑中直接添加物品。/gravestone remove <item> <count> <pos>
从墓碑中移除指定数量的物品。/gravestone inventory <pos>
查看墓碑中存储的所有物品的汇总列表。/gravestone data <pos>
显示墓碑快照的完整 NBT 数据。/gravestone list <entity>
列出跨维度中与特定实体关联的所有墓碑。/gravestone claim <player> <pos>
将墓碑中的物品直接转移至玩家背包(如果有空间)。
配置文件
#是否将玩家/生物掉落物放入墓碑
GravestoneOnDeath = true
#物品丢失的百分比
# 默认值: 100.0
# 范围: 0.0 ~ 100.0
ItemLostPercentage = 100.0
#合并墓碑的距离阈值,超过则不再新建墓碑
# 默认值: 5
# 范围: 1 ~ 256
GraveMaxDistance = 5
#墓碑消失前的持续时间(以刻为单位)
# 默认值: 72000
# 范围: 1 ~ 864000
MaxGraveLifespan = 72000
#是否允许墓碑合并
GraveMerging = true
#是否允许生成无掉落物的空墓碑
EmptyGraves = false
#是否在墓碑下方生成粗制泥土
CoarseDirtBelowGraves = false
#是否为非玩家实体在墓碑上方显示文本标题
NonPlayerGraveTitles = false
#允许生成墓碑的实体白名单。
EntitiesGraves = ["minecraft:player", "minecraft:villager", "minecraft:wandering_trader"]
备注
- 不在白名单内的实体不会生成墓碑
- 物品/快照会安全地存储并合并到独立的数据文件中,因此不存在任何区块实体。这意味着即使一个区块完全布满墓碑,对服务器性能的影响也微乎其微 :3
Death Keeper is a lightweight, configurable mod that intends keeps your items safe when you die.
This mod doesnt really need special compatibility with inventory mods (like Curios), since it works by intercepting drops directly rather than accessing player inventories.
Instead of dropping everything on the ground, your items are stored in a Gravestone at your death location, giving you a chance to recover them later.
One issue I noticed with a lot of gravestone mods is how they tend to clutter areas with multiple graves if you die repeatedly in the same spot. To fix that, this mod merges nearby graves together, gravesites galore smh.
Another thing that I thought about is having mob graves, especilly for boss mob, which hence why I added it :3
General Features
- Gravestones on Death "obv"
- Item Percentage Lost
- Smart Grave Placement
- Grave Merging
- Grave Lifespan
- Support Entities that have Drops
Commands
/gravestone place <entity> <pos>
Manually create a Gravestone for an entity at a position./gravestone destroy <pos>
Removes the Gravestone without its contents./gravestone clear
Removes all Gravestones in the current dimension./gravestone clear <targets>
Removes Gravestones tied to specific entities./gravestone insert <item> <count> <pos>
Add items directly into a Gravestone./gravestone remove <item> <count> <pos>
Remove a specific amount of an item from a Gravestone./gravestone inventory <pos>
View a summarized list of all items stored in a Gravestone./gravestone data <pos>
Displays full NBT data of the Gravestone Snapshot./gravestone list <entity>
Lists all Gravestones associated with a specific entity across dimensions./gravestone claim <player> <pos>
Transfers items from a Gravestone directly into a player’s inventory (if space is available).
Configs
#Whether to where if Player/Mob Drops will be put into the Gravestone
GravestoneOnDeath = true
#Percentage of amount that items are lost
# Default: 100.0
# Range: 0.0 ~ 100.0
ItemLostPercentage = 100.0
#Distance to merge graves instead of placing a new grave
# Default: 5
# Range: 1 ~ 256
GraveMaxDistance = 5
#Time till the grave despawns in Ticks
# Default: 72000
# Range: 1 ~ 864000
MaxGraveLifespan = 72000
#Whether to allow grave merging
GraveMerging = true
#Whether to allow grave to spawn with no drops
EmptyGraves = false
#Whether to allow coarse to spawn under graves
CoarseDirtBelowGraves = false
#Whether to text to be displayed above the gravestone for a non player entity
NonPlayerGraveTitles = false
#A whitelist of entities to be able to drop graves.
EntitiesGraves = ["minecraft:player", "minecraft:villager", "minecraft:wandering_trader"]
Notes
- Gravestones will not generate for entities outside the whitelist
- Items/Snapshots are safely stored and merged in its own data file so there is no block entities whatsoever, which allows multiple chunks full of gravestones with barely any hits on server performance for example :3
下载 Death Keeper - 墓碑
下载 Death Keeper - 墓碑
下载 Death Keeper - 墓碑
下载 Death Keeper - 墓碑
下载 Death Keeper - 墓碑
下载 Death Keeper - 墓碑
下载 Death Keeper - 墓碑
下载 Death Keeper - 墓碑
下载 Death Keeper - 墓碑
端口
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧