#3 Added Decay Message
- A Message has been added to the graves.
- Whenever you try to open a grave without a key, if it cannot be opened you'll receive a message about how long you have to wait.
- It uses internal translations so it works in any language in the game.
#4 Added support for all 1.21.x Versions again
- In the past, the datapack was compatible with older versions.
- But by adding a texture to the key, the methods differentiated into different versions. That resulted in two releases for different versions.
- But by using the overlay method, it is now possible to have multiple versions of the same datapack in one pack.
- That makes the datapack compatible with all 1.21.x versions again.
#1 Added Grave Key Texture
-
The Grave Key has a texture now when using the ressourcepack. If not, the Key will now look like a poisonous potato.
-
The Poisonous Potato has been chosen because, with the component consumable removed, it's truly a completely useless item, which means that the key has no hidden second functionality.
-
The retexturing uses the new custom model data introduced in 1.21.4. This means that the datapack is no longer compatible with older versions!
#1 Added Decay for Gravestones
Added a decay for the graves. But don't worry! Your items will still be save forever but after the dacay time has passed other players can also open your grave and you dont need a key anymore. This has been added due to the problem that you couldnt open a grave before if you've lost your key.
#2 Performance improvement
I've narrowed down the commands run in the tils_graves:tick function to increase performance.
- the tils_graves:loot_grave function will now be called usind an advancement instead of checking every tick
- the tils_graves:create_grave function has gotten an init function to narrow down the needed commands at gamemode seperation