Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
With this data pack/mod, instead of just yeeting your items out of your inventory, it will store all of them inside a safe place called grave.
There are many mods that do this, but this one has way more features, has much higher quality and is more customizable.
IMPORTANT NOTE: The data pack version of SGrave requires a resource pack in order for the visual effects to start working properly; However, the green download button might not give you the required resource pack, so you might also have to download that seperately by clicking here.
You don't need to do this if you're using the mod version instead.
Features
- Completely free!
- Highly customizable!
- Multiplayer-friendly!
- Supports 5 languages!
Notes
-
Make sure the following gamerules are set:
- KeepInventory: true
- doImmediateRespawn: false
-
This data pack is NOT compatible with plugin loaders like Spigot, PaperMC, etc.
Grave Spawning
Your grave won't just spawn exactly where you died. There are a few conditions for a grave being made. Basically, your grave will try to find the nearest transparent block where there is a solid block below.
Graves are mostly invulnerable. They also have no hitbox, meaning you can easily walk through graves. Also, graves glow, so you can see them through walls. (Can be disabled in config) By default, graves despawn in 90 minutes.
After a grave spawns, The exact location of your grave will be announced to you (might not depending on the configs). The announcement should look something like this:
Notice the 9 in Grave #9. That is the grave ID, and it's important. Keep that in mind; it can be useful in a lot of scenarios.
Opening a Grave
When you reach the location of your grave, you will see your head lying on the ground, along with a text display showing your name and your grave's ID, along with the grave design.
You can click on the grave to open he grave. All the items will be put in the exact same spot they were before you died, and you will collet 90% of the experience you've had before you died. (The percentage can be changed in the config.) If an item can't be put in your inventory, it will instead be dropped.
You can also "break a grave" by sneak + left clicking, where all items will just drop.
The items that are dropped from a grave being broken are invulnerable and can't be destroyed by things such as lava or explosions, and they take 45min to despawn. (Can be changed in the config.)
The items glow by default. They also are not affected by gravity by default.
Admin mode
If a player has access to commands, they can enable admin mode by going into the configs (I'll show you how to do that), then to page 2. A player with admin mode can do many things like recovering from a grave backup and viewing all information about graves regardless of what is set in the configs.
Commands
/trigger sgrave set <value>
Sends the coordinates of your grave to you.
Set the value to 1 to locate your last grave.
Set the value to 2 to locate your second last grave.
Set the value to 3 to locate your third last grave.
and so on...
Any players (non-OPs and OPs) can use this command.
/trigger sgrave.grave_info set <value>
Shows info about the grave with the ID of the value you entered. It shows a full detail of the grave, including the items and experience stored inside, the location, creation time, despawn time, etc. You can also view others' grave info and information about broken graves as well.
For example to show information about grave #4, use
/trigger sgrave.grave_info set 4
. Any players (non-OPs and OPs) can use this command.
/trigger sgrave.recover_items set <value>
Recovers your items from a backup. Replace <value>
with the grave ID you want to recover from.
Only players with Admin mode enabled can use this command.
/trigger sgrave.give_key
Gives you a grave key. It can be used to open anybody's graves, even if Robbing is set to false.
Only players with Admin mode enabled can use this command.
/function sul4ur:sgrave/config
Opens the config menu. Only OPs can use this command.
Available languages
English, Deutsch, Español, Português, Русский (Russian)
Join us on discord!
License
License
This work is licensed under CC BY-NC-ND.
One exception is made for video content, which can be monetized. However, you must give appropriate credit in the description of your video.