墓碑
(需要游戏规则 keep_inventory 为 true 且 immediate_respawn 为 false)
玩家死亡后,会在其死亡地点留下一个墓碑,确保其物品和经验值安全。左键或右键点击墓碑即可打开并丢弃其中的物品。此数据包支持多人游戏且具有高度可配置性,允许你设置墓碑的消失机制、消失所需时间、丢弃的物品类型等!
死亡时掉落的经验值不再有上限。例如,等级 30 的玩家现在将掉落 13 级经验值,而不是之前的 7 级。
配置设置
要打开设置菜单,请运行命令 /function m_graves:settings/open 以打开交互式 GUI。
常规设置
自动消失: 墓碑会在经过特定时间后自动消失,导致其内容物被丢弃。请注意,与物品不同,即使墓碑未被加载,此计时器也会继续运行。(默认禁用,默认时间为 10 分钟)
虚空恢复: 在虚空中或虚空中上方死亡会导致你的墓碑放置在指定水平半径内的实心方块上。
自动装备: 当打开墓碑时,物品会被放回它们原本所在的槽位中。如果某个槽位已被占用,该物品将被丢弃。
显示死亡坐标: 玩家死亡后,聊天栏会向其显示其死亡的坐标和维度。(默认禁用)
死亡定位指南针: 玩家死亡后,将获得一枚指向其死亡地点的指南针。如果启用了相关选项,指南针还可作为钥匙使用。(默认禁用)
锁定墓碑: 只有墓碑的所有者才能打开它。(默认禁用)
钥匙: 玩家死亡后会获得一把钥匙,其他玩家可以使用该钥匙打开他们的墓碑。钥匙在使用后会消失。(默认禁用)
自动解锁: 锁定的墓碑会在经过指定时间后自动解锁。(默认禁用,默认时间为 5 分钟)
视觉设置
发光墓碑: 墓碑可以透过墙壁看到。(默认禁用)
显示玩家名称: 墓碑显示其所有者的名称。(默认启用)
显示玩家头颅: 墓碑显示其所有者的头颅。(默认启用)
墓碑装饰: 墓碑具有随机生成的植被。(默认启用)
物品栏设置
保留经验值: 死亡时保留经验值。(默认禁用)
保留快捷栏: 死亡时保留快捷栏中的物品(默认禁用)。
保留盔甲: 死亡时保留已装备的盔甲(默认禁用)。
保留部分物品: 某些物品在死亡时不会掉落(默认禁用)。物品列表默认为武器、盔甲、工具和其他装备,但可以在 m_graves/tags/items/kept_items 中更改。
丢失部分物品: 某些物品在死亡时会永久丢失(默认禁用)。物品列表默认为空,但可以在 m_graves/tags/items/lost_items 中更改。
为了方便编辑保留和丢失的物品,内置了一些物品标签:
#m_graves:equipment用于武器、盔甲、工具和其他装备#m_graves:mob_drops用于生物掉落物#m_graves:rare_items用于未附魔时带有彩色文本的物品(下界之星、龙蛋等)#m_graves:resources用于挖掘资源(煤、铁、钻石、下界合金等)#m_graves:smithing_templates用于所有锻造模板
墓碑放置
当生成墓碑时,它会移动到正下方的地面上,而不是悬浮在空中。如果玩家在实心方块中死亡,它将检查相邻的空方块以生成墓碑。如果玩家在不流动的熔岩中死亡,它将尝试在熔岩表面放置墓碑。
Graves
(Requires the game rule keep_inventory to be true and immediate_respawn to be false)
When a player dies they will leave a grave at the site of their death which will will keep their items and experience safe. Left or right click the grave to open it and drop its contents. This datapack is multiplayer-friendly and highly configurable, allowing you to make graves despawn, how long it takes for them to despawn, what items are dropped, and more!
The amount of experience dropped on death no longer has a maximum. E.g. players dying at level 30 will now drop 13 levels of experience rather than 7.
Config Settings
To open the settings menu, run the command /function m_graves:settings/open to open an interactive GUI.
General Settings
Despawn Despawn: Graves will automatically despawn after a specific amount of time, causing them to drop their contents. Note that unlike items, this timer will continue when the grave is not loaded. (Disabled by default with a default time of 10 minutes)
Void Recovery: Dying in or above the void will cause your grave to be placed on solid block within a specified horizontal radius.
Auto-Equip: When a grave is opened, the items will be placed into the slots they were originally in. If a slot is already filled, the item will instead be dropped.
Show Death Coordinates: After a player dies, the coordinates and dimension of their death are shown to them in chat. (Disabled by default)
Death Locator Compass: After a player dies, they will be given a compass which points to the location of their death. The compass also acts as a key if that toggle is enabled. (Disabled by default)
Locked Graves: Graves can only be opened by their owner. (Disabled by default)
Keys: After a player dies they will recieve a key that other players can use to open their grave. The key will disappear when used. (Disabled by default)
Auto Unlock: Locked graves will automatically unlock themselves after a specified amount of time. (Disabled by default with a default time of 5 minutes)
Visual Settings
Glowing Graves: Graves can be seen through walls. (disabled by default)
Display Player Name: Graves display the name of their owner. (enabled by default)
Display Player Head: Graves display the head of their owner. (enabled by default)
Grave Decorators: Graves have randomized vegetation. (enabled by default)
Inventory Settings
Keep Experience: Experience is kept on death. (disabled by default)
Keep Hotbar: Items in the hotbar are kept on death (disabled by default).
Keep armor: Equiped armor is kept on death (disabled by default).
Keep Some Items: Some items are not dropped on death (disabled by default). The list of items defaults to weapons, armor, tools, and other equipment but can be changed in m_graves/tags/items/kept_items.
Lose Some Items: Some items are permanently lost on death (disabled by default). The list of items is empty by default but can be changed in m_graves/tags/items/lost_items.
Some item tags have been made built-in for the convenience of editing the kept and lost items:
#m_graves:equipmentfor weapons, armor, tools, and other equipment#m_graves:mob_dropsfor mob drops#m_graves:rare_itemsfor items that have colored text when unenchanted (netherstars, dragon egg, etc)#m_graves:resourcesfor mined resources (coal, iron, diamond, netherite, etc)#m_graves:smithing_templatesfor all smithing templates
Grave Placement
When a grave is spawned it will move to the floor directly beneath it rather than float in the air. If the player dies in a solid block it will check adjacent empty blocks to spawn the grave. If the player dies in non-flowing lava, it will attempt to place the grave at the surface of the lava.
下载 Graves
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Graves
下载 Graves
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Graves
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Graves
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Graves
下载 Graves
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Graves
下载 Graves
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Graves
数据包版本 1.3.1
- 更新到 Minecraft 版本 1.21.11
墓穴变更
- (+) 添加了自动装备功能
设置变更
- (+) 在常规设置中添加了自动装备的开关选项
- (/) 将“外观设置”类别重命名为“视觉设置”
技术变更
- 将
keepInventory更改为keep_inventory,将doImmediateRespawn更改为immediate_respawn multipack:settings存储现在包含included_settings和settings_list数据- 通过
/trigger mp.settings打开的设置菜单现在是动态的多包设置列表 - 将一些通用的 Multipack 逻辑提取到
mp_utils命名空间中
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧