概览
允许在多人极限模式世界中复活已死亡的玩家,或者通过巧妙利用游戏机制来让自己复活。尽管这在根本上违背了极限模式的核心理念,但许多服务器管理员早已以类似的方式行事,甚至缺乏明确的游戏机制支持。本模组旨在解决这一问题,同时尽可能提供可控的自定义选项。
你可以通过建造仪式结构来复活玩家,然后将一组“牺牲物品”投掷到结构顶部。随后,仪式将播放动画以复活玩家并引发爆炸,死者将在爆炸后重生。基础配置要求待复活玩家必须位于仪式 25 格 范围内才能生效。
可通过操作员配置命令禁用爆炸效果。
基础复活结构:

对于基本的游戏设置(不进行任何游戏内配置更改),整合包预设的“牺牲物品”为 不死图腾。描述的配置文件部分将详细说明如何更改这些设置以及如何自定义所使用的仪式结构。
操作员配置
操作员可以更改此数据包中的许多设置,包括使用的物品以及仪式结构的几个预设。包括完全禁用仪式结构的某些部分。
二进制设置
如果你希望禁用玩家范围要求或仪式的爆炸效果,可以使用以下命令。
爆炸配置
启用:
scoreboard players set #doesExplode hardcorerev.binarySettings 1
禁用:
scoreboard players set #doesExplode hardcorerev.binarySettings 0
玩家范围要求
启用:
scoreboard players set #requiresNearby hardcorerev.binarySettings 1
禁用:
scoreboard players set #requiresNearby hardcorerev.binarySettings 0
牺牲物品编辑
很多时候,操作员希望更改所使用的物品。此数据包完全支持这一点,包括带有模组命名空间标识的物品。如果你想设置使用的物品,请运行所示命令,将 <item namespace> 更改为物品的唯一标识符,例如 minecraft:totem_of_undying 或 minecraft:diamond。
data modify storage hardcorerev:settings item set value "<item namespace>"
这不支持 NBT 检测。请勿删除引号。
仪式结构编辑
出于性能原因,整个结构本身无法完全编辑,但支持替换有时甚至禁用结构的某些部分。该结构分为四个部分:中心装饰、填充物、外环和装饰品。可以通过使用特殊索引来禁用外环和装饰品。
仅 更改命令末尾的数字。
data modify storage hardcorerev:settings centerpiece set value 1
data modify storage hardcorerev:settings infill set value 1
data modify storage hardcorerev:settings outring set value 1
data modify storage hardcorerev:settings decoration set value 1
超出范围的索引会静默报错,并导致仪式不再工作。
特殊索引:
outring - 12 - 禁用外环
decoration - 17 - 禁用装饰品
为了不使页面杂乱无章,所有仪式部分的图片都存储在 Google Drive 文件夹中。访问那里以获取有关所有部分及其单独外观的信息,以及编辑仪式的基本示例。
需要帮助?有建议?
加入 Discord 并提问!我将尽力帮助你。
OVERVIEW
Adds the ability to revive dead players in Multiplayer Hardcore worlds, or with clever uses of game mechanics, yourself. While this fundamentally goes against the concept of Hardcore, many server owners already do something similar, with even less of a concrete game mechanic to go with it. This was made to solve that, while also trying to be as customizable as manageable.
You can revive the players by building a ritual structure. Then you throw a set 'sacrifice item' on top of it. The ritual will then play an animation to revive the player and explode, with the dead player coming back to life after. Base config settings require the dead player to be within 25 blocks of the ritual to be revived.
Explosion can be disabled via operator config commands.
Base Revival Structure:

For the basic game setup, without any in game config changes, the pack has the preset 'sacrifice item' set to a totem of undying. The config section of this description will detail how to change these settings, as well as how to customize the ritual structure used.
Operator Config
Operators can change many settings about this pack. Including the item used and a couple presets for the ritual structure itself. Including disabling certain parts of the ritual structure altogether.
Binary Settings
If you wish to disable the player range requirement or the explosion of the ritual you can do so with the commands below.
Explosive Config
Enable:
scoreboard players set #doesExplode hardcorerev.binarySettings 1
Disable:
scoreboard players set #doesExplode hardcorerev.binarySettings 0
Player Range Requirement
Enable:
scoreboard players set #requiresNearby hardcorerev.binarySettings 1
Disable:
scoreboard players set #requiresNearby hardcorerev.binarySettings 0
Sacrifice Item Editing
Many times operators will want to change the item used. This datapack has full support for that, including with modded namespaced items. If you want to set the item used, run the command shown, changing <item namespace> to the unique identifier of the item, such as minecraft:totem_of_undying or minecraft:diamond
data modify storage hardcorerev:settings item set value "<item namespace>"
This does NOT support NBT detection. Do NOT remove quotation marks.
Ritual Structure Editing
Due to performance reasons, the entire structure itself cannot be edited fully, however, there is support for swapping out and sometimes even disabling parts of the structure. The structure comes in 4 parts, the centerpiece, fill, ring, and decoration. The ring and decoration can be disabled through the use of special indices.
ONLY change the number at the end of the command.
data modify storage hardcorerev:settings centerpiece set value 1
data modify storage hardcorerev:settings infill set value 1
data modify storage hardcorerev:settings outring set value 1
data modify storage hardcorerev:settings decoration set value 1
Indices out of range will silently error, and will cause the ritual to no longer work.
Special Indices:
outring - 12 - Disables ring
decoration - 17 - Disables decoration
So this page isn't cluttered, all ritual part images are stored in a Google Drive Folder. Visit there for info on all parts and what they look like by themselves, as well as a basic example of an edited ritual.
Need Help? Have Suggestions?
Join the Discord and ask! I will try to help you to the best of my ability.
评论 0
登录后参与评分
还没有评论,来抢沙发吧