Data Packs Game Mechanic

Hardcore Revival | Multiplayer Datapack

  • 20.4k views 2 today
  • save_alt 1.7k downloads
Compatibility
Minecraft 1.21
Changes include
  • Functions
  • Predicates
  • 43
  • 28
  • 26
PlayfulPotato
Lvl 38Artisan Nerd
31

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: The base revival structure. Featuring a gold centerpiece and candle decorators.

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.

4 Update Logs

Update #4 - Port to 1.21.5 : by PlayfulPotato 03/28/2025 1:18:28 pmMarch 28, 2025 @ 5:18 pm UTC

Ported to 1.21.5
Older versions can be found under 'Versions' on the Modrinth page.
LOAD MORE LOGS

More like this

  Have something to say?

ATPlayz
03/16/2025 7:25 am
He/Him • Level 15 : Journeyman Sheep Builder
So this is how hardcore youtubers cheat
2
PlayfulPotato
03/16/2025 2:05 pm
Level 38 : Artisan Nerd
That's so real, that's so true
3
Wogurty
08/16/2023 5:48 pm
Level 1 : New Miner
does this work on 1.20
3
XYL3M
01/21/2023 8:17 pm
Level 3 : Apprentice Modder
Ok I just wanted to come back and say that was the greatest datapack I have ever seen! Truly some witchcraft going on here, you are talented!
3
XYL3M
01/17/2023 8:53 pm
Level 3 : Apprentice Modder
do I need like a hardcore datapack or anything or is that built in here?
2
PlayfulPotato
01/17/2023 10:27 pm
Level 38 : Artisan Nerd
You just have the server run hardcore, or alternatively any data pack that forces spectator on death, but usually, people just run the server on hardcore.
3
XYL3M
01/18/2023 5:06 pm
Level 3 : Apprentice Modder
ok thanks
2
TheChosenEnder
12/26/2022 7:59 am
Level 16 : Journeyman Crafter
history
Have been looking for this for ages, thanks for making this great datapack! Am i allowed to change some of the blocks to make the summoning more expensive for my hardcore server?

Thanks again just in case, and good luck!

PS: This is the best hardcore revival datapack i have ever seen, and that includes mods too!
3
PlayfulPotato
12/26/2022 3:38 pm
Level 38 : Artisan Nerd
I won't officially support changing blocks in the pack due to some Minecraft limitations, but if you want to change blocks manually then under predicates there should be a predicate that lists every block in the structure, its a bit technical but it should be easy to change the blocks themselves by just finding their block IDs in the file. This does mean you have to unzip the pack to change it though.
2
TheChosenEnder
12/29/2022 8:30 am
Level 16 : Journeyman Crafter
Ok thanks! I meant the technical stuff so that is fine by me.

Have a nice day!
2

Welcome