Your Items Are Safe 是一个模组,它仅使用原版方块即可作为现有墓碑模组的替代方案。当玩家死亡时,它会防止物品消失。其实现方式是在死亡位置生成一个装备了死者装备的盔甲架,以及一个存放背包内物品的箱子。其他模组(如 Curios、Trinkets 和 Accessories)中的槽位里的物品也会被放入箱中。箱子上会放置一块告示牌,显示玩家的名称。如果物品无法装入一个箱子,则会在上方生成另一个箱子。盔甲架位于箱子上方。所有功能均可通过配置文件开启或关闭。如果玩家在虚空中死亡,箱子将生成在死亡坐标的正上方。
为了保持游戏平衡,只有当玩家背包中有足够的木材时,才能生成箱子和盔甲架。生成一个箱子需要 2 个原木、8 个木板或现成的箱子。生成盔甲架需要 1 个原木或 3 个木板。模组优先搜索原木,其次是木板,最后是箱子。如果找不到所需的原材料,则不会生成箱子和盔甲架。如果您希望即使没有原材料也始终生成它们,也可以在配置文件中设置。
该模组还包含生成玩家头颅并将其放置在盔甲架上的功能,这有助于识别哪位玩家在何处死亡。如果玩家当时佩戴了头盔,则该头盔会被放入箱中。默认启用。当然,这也可以在配置文件中禁用。
所有可用的配置选项:
显示剧透
mustHaveItemsInInventoryForCreation 默认值:true
启用后,如果玩家在死亡时背包中没有任何物品,则不会生成箱子或盔甲架。
addPlayerHeadToArmorStand 默认值:true
是否将玩家头颅添加到盔甲架上。如果玩家佩戴了头盔,则该头盔会被放置到盔甲架的胸部位置。
createArmorStand 默认值:true
是否在玩家死亡时创建盔甲架。如果禁用,玩家的装备将被放入箱子中。
createSignWithPlayerName 默认值:true
是否在与死者同名的箱子上放置一块写有该玩家名字的告示牌。
nameChestWithPlayerName 默认值:true
是否以在该处死亡的玩家的姓名来命名箱子。打开箱子时会显示该名称。
needChestMaterials 默认值:true
是否在死亡时生成箱子需要材料。这可以是实际的箱子,也可以是原材料的成本。
needArmorStandMaterials 默认值:true
是否在死亡时生成盔甲架需要材料。这可以是实际的盔甲架,也可以是原材料的成本。
needSignMaterials 默认值:false
当启用“createSignWithPlayerName”时,制作告示牌是否需要材料。
ignoreStoneMaterialNeed 默认值:true
仅在启用“needChestAndArmorStandMaterials”时相关。创建一个盔甲架需要 1 个石台阶,但我认为忽略这一要求是可以接受的。如果启用,则在死亡时无需在背包中准备石头。
createChestAboveVoid 默认值 true
当玩家坠入虚空死亡时,是否应在最低建筑高度正上方放置一个箱子。
createVoidPlatform 默认值 true
是否在虚空上方的箱子下方创建一个 3x3 的平台。必须启用 'createChestAboveVoid'。
dimensionsToIgnore 默认值 ""
不会生成箱子或盔甲架的维度,以逗号分隔。例如:'minecraft:the_nether,minecraft:the_end'。
playerNamesToIgnore 默认值 ""
不会为其生成箱子或盔甲架的玩家名称,以逗号分隔。例如:'Steve,Alex'。
sendMessageOnCreationFailure 默认值 true
如果因缺少材料而无法创建箱子或盔甲架,是否发送一条消息。
sendMessageOnCreationSuccess 默认值 true
如果成功创建了箱子和/或盔甲架,是否发送一条消息。
sendDeathCoordinatesInChat 默认值 true
是否将玩家的死亡坐标发送到聊天栏中,位于 'sendMessageOnCreationFailure'/'sendMessageOnCreationSuccess' 消息的下方。
creationFailureMessage 默认值 "Your items are not safe due to having insufficient materials. Missing: %plankamount% planks."
启用 'sendMessageOnCreationFailure' 时,在创建失败时发送的消息。可能的替换值:%plankamount%, %stoneamount%。
creationSuccessMessage 默认值 "Your items are safe at your death location."
启用 'sendMessageOnCreationSuccess' 时,在创建成功时发送的消息。
死亡后生成的盔甲架和箱子:
死亡后生成了两个箱子,因为物品栏中的物品无法放入单个箱子中:
死亡后生成了一个箱子和一个盔甲架:
显示剧透

之前的死亡结果如下所示:
显示剧透

此处玩家背包中没有木材。未生成箱子/盔甲架:
显示剧透

玩家背包中有一些木板,但数量不足。聊天中会通过消息提示这一点:
显示剧透

背包已满,因此需要两个箱子来存放所有物品。幸运的是,玩家拥有超过 19 块木板:
显示剧透

当玩家在虚空中死亡时,箱子会放置在初始位置的正上方,并附带一个圆石平台。
死亡坐标会发送到聊天栏中。可在配置文件中禁用。
只要下载源保持在 CurseForge 或 Modrinth 生态系统中,您就可以在任何整合包中自由使用此模组。
Serilum.com 提供了所有可用模组的概览及更多信息。
如有问题、想法、建议或其他事项,请访问 Github 仓库。谢谢!
Your Items Are Safe is a mod which can function as an alternative to the existing gravestone mods, by using only vanilla blocks. When a player dies, it will keep their items from despawning. It does this by creating an armor stand with equiped gear and a chest with the items from the inventory. Items in the slots of other mods, like Curios, Trinkets and Accessories, are placed in the chest as well. A sign will be placed on the chest with the player's name. If the inventory does not fit into one chest, another one above it is generated. The armor stand stands above the chest. All features can be turned on/off via the config. If a player dies in the void, the chest will be placed above the death coordinates.
To keep it balanced the chests and armor stand can only be created if the player has enough wood in its inventory. A chest requires either 2 logs, 8 planks or an actual chest. The armor stand requires 1 log or 3 planks. The mod searches for logs first, then planks, then chests. If it can't find the raw material needed, the chest and armor stand is not generated. If you'd like to always generate them, even without raw materials, this can be set in the config file as well.
The mod also contains the functionality to generate a player head and put it on the armor stand. This makes it easier to identify which player has died where. If the player had a helmet equiped, it is placed inside the chest. Enabled by default. But again, this can be disabled in the config.
All available config options:
Show Spoiler
mustHaveItemsInInventoryForCreation default true
When enabled and a player dies without any items in their inventory, no chest or armor stand is generated.
addPlayerHeadToArmorStand default true
If a player head should be added to the armor stand. If a helmet is worn, this will be placed into the chest.
createArmorStand default true
Whether an armor stand should be created on death. If disabled, the player's gear will be placed inside the chest.
createSignWithPlayerName default true
Whether a sign should be placed on the chest with the name of the player who died there.
nameChestWithPlayerName default true
Whether the chest should be named after the player who died there. The name is shown when the chest is opened.
needChestMaterials default true
Whether materials are needed for the chest which spawns on death. This can be the actual chest or the costs in raw materials.
needArmorStandMaterials default true
Whether materials are needed for the armor stand to spawn on death. This can be the actual armor stand or the costs in raw materials.
needSignMaterials default false
Whether materials are needed for the creation of the sign when 'createSignWithPlayerName' is enabled.
ignoreStoneMaterialNeed default true
Only relevant if 'needChestAndArmorStandMaterials' is enabled. An armor stand needs 1 stone slab to be created, but I think it's alright to ignore that requirement. If enabled, no stone is needed in the inventory on death.
createChestAboveVoid default true
If a chest should be placed right above the minimum build height when a player dies in the void.
createVoidPlatform default true
If a 3x3 platform should be created below the chest above the void. 'createChestAboveVoid' must be enabled.
dimensionsToIgnore default ""
Dimensions in which no chest or armor stand is created, separated by a comma. For example: 'minecraft:the_nether,minecraft:the_end'.
playerNamesToIgnore default ""
Players for whom no chest or armor stand is created, separated by a comma. For example: 'Steve,Alex'.
sendMessageOnCreationFailure default true
If a message should be sent if the chest or armor stand can't be created due to missing materials.
sendMessageOnCreationSuccess default true
If a message should be sent on successful creation of the chest(s) and armor stand.
sendDeathCoordinatesInChat default true
If the player's death coordinates should be sent in the chat below the 'sendMessageOnCreationFailure'/'sendMessageOnCreationSuccess' message.
creationFailureMessage default "Your items are not safe due to having insufficient materials. Missing: %plankamount% planks."
The message sent on creation failure with 'sendMessageOnCreationFailure' enabled. Possible replacement values: %plankamount%, %stoneamount%.
creationSuccessMessage default "Your items are safe at your death location."
The message sent on creation success with 'sendMessageOnCreationSuccess' enabled.
An armor stand and chest generated after death:
Two chests generated after death, because the inventory didn't fit in a single one:
One chest and an armor stand created after death:
Show Spoiler

The previous death results in the following:
Show Spoiler

Here the player has no wood in its inventory. The chest/armor stand is not generated:
Show Spoiler

The player does have some planks in its inventory, but not enough. This is shown in the chat via a message:
Show Spoiler

The inventory is completely full, so 2 chests are needed to store everything. Luckily the player has more than 19 planks:
Show Spoiler

When a player dies in the void, the chest is placed on the initial position above it with a cobblestone platform.
Death coordinates are sent in the chat. Can be disabled in the config.
You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
下载 Your Items Are Safe
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Your Items Are Safe
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Your Items Are Safe
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Your Items Are Safe
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Your Items Are Safe
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Your Items Are Safe
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Your Items Are Safe
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Your Items Are Safe
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Your Items Are Safe
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Your Items Are Safe
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 将最新更改回溯移植至 Minecraft 版本 26.1.2,该版本现已重新获得活跃支持。
包含先前版本详细信息的完整更新日志可在我的网站上查阅:
>
- 现在可以从游戏内配置中的列表选择 'dimensionsToIgnore' 列表。
包含先前版本详细信息的完整更新日志可在我的网站上找到:
>
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
新增 50+ 个独特生物群系,为你的世界增添新树木、花卉等更多元素!
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
让你能够在世界中的任何位置定位结构。

评论 0
登录后参与评分
还没有评论,来抢沙发吧