• check_circle Functions
  • check_circle Loot Tables
  • check_circle Predicates
  • 23,245 views, 10 today
  • 4,048 downloads, 1 today
  • 22
  • 15
  • 11
fafik77's Avatar fafik77
Level 64 : High Grandmaster Miner
53

Graves

A simple concept indeed: after death player inventory is placed into a Grave.
Additionally Graves show player's name, head and death time.
To retrieve the Graves content simply Sneak on it.

Now works with my mod Data Command Plus
Configure personal preferences of Graves using /trigger graveMode options:
  • show last death location
  • Teleport to Last Grave location
  • Graves merge/add your current inventory with your grave's inventory. --merge mode forces items back to their slots, --add mode stacks items but they are not restored back to their slots.
  • Graves inventory priority current/grave inventory controls which inventory should stay as is and the second one will be added on top of it
works with:
  • my other datapacks
  • in multiplayer
  • survival mode without cheats
  • gamerule keepInventory = false
  • gamerule instantRespawn = false
Requires:
  1. ResourcePack Language pack v2020-08-12 this pack contains every name,lore,texture for my datapacks
  2. fafik77 main.Lib(Google Drive) datapack (core)
  3. Data Command Plus (mod by fafik77 optional)
  4. (if playing with Custom Dimensions datapacks and mc version older then 1.20.1) Warp Portals v2020-08-12
Installation:
  • download this pack
  • download required files
  • put required files in place

Configuration Options
/function fafik77:graves/settings

publicGraves - can anyone collect the dead person's grave
restoreLevel - restores Exp Level
maxScanRange - determines how far should Graves check for a valid spot to be placed
restoreVanishingItems - yes with this you can even restore items that Did Vanish after your death
allowTeleportation - allows you to teleport to your last Grave, requires an Ender Pearl in inventory
  if your grave is in custom Dimension then the Teleportation will be reattempted using Warp Portals

block tag #fafik77:graves/replaceble controls which blocks Graves can consider as overwritable
CompatibilityMinecraft 1.16
toMinecraft 1.20
Tags

5 Update Logs

v2024-01-04 : by fafik77 01/04/2024 4:15:15 pmJan 4th

updated to work with Data Command Plus (mod by fafik77)

!!! More performant then before !!!
LOAD MORE LOGS

Create an account or sign in to comment.

1
01/09/2024 1:45 pm
Level 37 : Artisan Miner
zox007
zox007's Avatar
can other players open my grave or not?
1
01/13/2024 3:38 pm
Level 64 : High Grandmaster Miner
fafik77
fafik77's Avatar
no by default only you can open it.
there is an admin configuration option to make graves public
1
03/01/2021 8:32 pmhistory
Level 1 : New Miner
ashstuff15
ashstuff15's Avatar
gravei spawned in a grave and now it won't go away. how can i remove it?
2
11/16/2020 2:44 am
Level 1 : New Miner
User3301580G
User3301580G's Avatar
Hi, I recently installed your mod in order to test if it works on the chance I get it to work with my realms but every time I die, I lose my entire inventory when moving over the grave. Have I done something wrong to make this mistake?
1
01/19/2021 8:09 am
Level 64 : High Grandmaster Miner
fafik77
fafik77's Avatar
thanks for your report. i am sorry for the inconvenience, this bug should be fixed now, if you want to test it please download the new version.
1
11/01/2020 10:56 pm
Level 1 : New Miner
joalcamo
joalcamo's Avatar
I tried to get this to work on my realm, but it isn't working. Could you help me with this?
1
11/01/2020 11:00 pm
Level 1 : New Miner
joalcamo
joalcamo's Avatar
And also the clear grave function isn't working
1
01/19/2021 8:13 am
Level 64 : High Grandmaster Miner
fafik77
fafik77's Avatar
hi joalcamo, i dont have dedicated server to test it, neither do i know the limitations of Realms, could you provide more details about this problem?
1
08/30/2020 3:57 pm
Level 1 : New Miner
FEMontovani
FEMontovani's Avatar
How do I install the data pack? When I click to install, I go to a Google Drive website
1
09/01/2020 12:15 pm
Level 64 : High Grandmaster Miner
fafik77
fafik77's Avatar
Note: datapacks are only for Java Minecraft. datapacks don't work on PMC/Bedrock or console edition.

you need to download this datapack (using the big Download button),
and you also need the "Requires:" 1 and 2 for this datapack to work,
all those links link to google drive from where you download the newest version of that file (the download button is in the top-right)
after downloading those 3 files you go to your resourcepacks folder and place the downloaded "Language Pack" in there and activate it (even if it says that this pack is not for this minecraft version) then go to your word name/datapacks folder and move there those 2 other downloaded .zip
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome