Minecraft Data Packs / Quality of Life

[1.18] Gravestone Datapack

  • check_circle Functions
  • 16,981 views, 6 today
  • 3,241 downloads, 0 today
  • 31
  • 30
  • 12
V_Tom's Avatar V_Tom
Level 37 : Artisan Miner
10
Gravestones for Dead Players

With this datapack, whenever a player dies, a gravestone is created to store their items. This gravestone will save all the item entities in the vicinity of the players death. On multiplayer servers, players can only destroy their own gravestones (this can be disabled in-game).

What makes this datapack different?

  • Gravestones are a physical block that must be mined.
  • They have a glowing effect to help you find them, which can be disabled.
  • Only the grave's owner can actually break it to retrieve their items, although this can be optionally disabled.
  • Gravestones will save players' items from any death (mobs, lava, falling, etc).
  • Items are not stored as entities but as data in the grave block.
  • Since a gravestone will obviously not save your items from the void, players who fall into the void in the End will fall into the Overworld at the same coordinates they were at in the End instead of dying and losing their items (this setting can also be disabled).


Usage

After installing this datapack in .minecraft/saves/<savename>/datapacks, reload the world. Your directory may be different on a server. Any players who die after this will create a gravestone. If you want to change various settings about the datapack, run the following command. (you must be in creative to do this). /trigger settingsEven if grave ownership is enabled, anyone in creative can destroy anyone's grave.


Warnings


Sometimes the glow effect on graves doesn't work. There is no reasonable explanation for this.

If a player dies inside a block (like grass), the gravestone will replace this block. If the block is a chest, hopper, brewing stand, etc, it will be placed one block above this block. This behavior will cause it to break portal blocks, so watch out for this.

Gravestones have been known to fail to return stored items on particularly laggy servers. This is very rare and cannot be helped, so the datapack stores a backup of the contents of the last 16 graves created in the world in minecraft:gravestone GraveBackups. These backups can be accessed with the following command (n is a number 0 - 15 that targets the grave you want to see the contents of). This data can be appended to a chest's inventory or another gravestone to get the items back. /data get storage minecraft:gravestone GraveBackups[n]
CompatibilityMinecraft 1.16
toMinecraft 1.18
Tags

3 Update Logs

Update #3 : by V_Tom 02/15/2022 11:39:43 amFeb 15th, 2022

Fixed bug where players in creative couldn't change settings. Moved end fall through to y: -8.
LOAD MORE LOGS

Create an account or sign in to comment.

1
04/25/2022 10:03 pm
Level 1 : New Miner
raye nascence
raye nascence's Avatar
Please help. I am playing on a recently created 1.18 server and recently died, i cannot mine my gravestone to retrieve my items. the server is throwing the following errors in the terminal:

[​20:59:30] [​Worker-Main-19/ERROR]: Couldn't load tag gravestone:grave_replaceable as it is missing following references: minecraft:grass_path (from Gravestone)
[​20:59:30] [​Worker-Main-19/ERROR]: Couldn't load tag gravestone:grave_dont_replace as it is missing following references: minecraft:grass_path (from Gravestone)
1
04/25/2022 10:51 pm
Level 1 : New Miner
raye nascence
raye nascence's Avatar
okay, this issue seems to have been resolved by turning off grave ownership. in case anyone else has the same issue.
1
04/08/2022 1:30 pm
Level 7 : Apprentice Miner
Lutece1979
Lutece1979's Avatar
Really great pack !
Better that the one I used. Except maybe for the void, it creates a platform with the gravestone in the end. But I take your, thx
If you want to take a look it's the one from woodoo packs
1
02/23/2022 11:48 am
Level 1 : New Miner
PeridotGaming
PeridotGaming's Avatar
I tried this out in my Minecraft world. It worked, but then we i went to get my stuff back i broke the block and my stuff didn't go back in my inventory. I lost all of it. I lost all of my diamonds too.
1
02/14/2022 4:41 pmhistory
Level 1 : New Miner
User4041705D
User4041705D's Avatar
I installed this on our realm but i cant seem to trigger the setttings.
/trigger settings
does not work in minecraft creative.
I get the message: unknown scoreboard objective 'settings"
Any known issue? how to fix ? can anyone help me?
Also when in the End we go below Y lvl 8 we drop in the overworld.
Any chance of setting this to a lower Y lvl?
Cause we have our enderman farm at lvl 0.
1
02/07/2022 11:31 am
Level 4 : Apprentice Miner
Korowko
Korowko's Avatar
Please tell me, is there a function that any player could take the grave, and not just the one who died and lost his things? The point is that when dying in the world, players will leave behind things. It can be said as additional treasures that other players can find and take for themselves, if for some reason the person who lost them did not take their things
1
02/14/2022 1:54 pm
Level 37 : Artisan Miner
V_Tom
V_Tom's Avatar
if you run /trigger settings in creative you can disable Grave Ownership. When grave ownership is disabled anyone can break anyone else's grave.
1
06/25/2021 7:39 am
Level 1 : New Network
Thunderylion322
Thunderylion322's Avatar
work in 1.17?
1
06/05/2021 2:50 am
Level 1 : New Miner
Minecraft Miner101
Minecraft Miner101's Avatar
oh, dose it only work on multiplayer?
1
06/05/2021 2:50 am
Level 1 : New Miner
Minecraft Miner101
Minecraft Miner101's Avatar
I tried to do it on 1.16.5 and it won't work
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome