The retrieval functionallity has been rewritten, and comes with some new bonuses.
- The mod now has a semi advanced grave robbing system. In the configs you can change if only graves are robbable, if only the attacker can rob the grave or not, and after how long the grave can be robbed.
- You can now specify in the config what inventory you want to stack on top of which. The inventory you prioritize will be the one the layout remains the same in. There's a separate config for when looting graves if you want to prioritize another inventory when the grave is not yours
- The grave placement can now go by both a block whitelist and block blacklist. They are both configurable. The whitelist are called Soft Replace, and blacklist Strict Replace. This way you can try at first to find a nearby air block (or any other of your choice) so you won't have to mine if you suffocate to death. In case one of the whitelisted blocks are not within reach however, the grave will find the closest block that's not on the strict blacklist. These block lists can be changed with a datapack atÂ
data/yigd/tags/blocks/soft_whitelist.json
 andÂdata/yigd/tags/blocks/replace_blacklist.json
. - The whitelist for generating a block under the grave have now been moved toÂ
data/yigd/tags/blocks/support_replace_whitelist.json
- Added a graveyard feature! Â Â Â This is not a world generation feature, but a way map makers, server admins, and possibly mod pack developers can specify a couple of blocks that graves will try to generate at first. If you die and one of the specified block coordinates are empty (air), your grave will generate there. Otherwise it'll generate as usual where you died. Can add/remove/change these in the config
Fixed a few bugs
-
You will no longer lose all your items by going back to the overworld from the end
-
Will now work with new overworld world height
-
Tell Grave Pos will now tell you where the grave generated and not where you died (sometimes the coordinates where off)
-
Previous update made xp drop from both player and grave. Now it will only drop from one of them. Xp drop configs will also now work with the graves disabled
Fixed a few bugs
-
You will no longer lose all your items by going back to the overworld from the end
-
You can now use worlds with custom world height (not tested in 1.17)
-
Tell Grave Pos will now tell you where the grave generated and not where you died (sometimes the coordinates where off)
-
Previous update made xp drop from both player and grave. Now it will only drop from one of them. Xp drop configs will also now work with the graves disabled
Added a new config! Adapt Render: If true, this will draw the sprite of the block under the grave on top of the grave ground layer. This can look a bit buggy, since it will compress the sides. Note that this feature will only draw the sprite on top of the block. Blocks that are transparent you'll be able to see the actual grave texture through
Fixed a bug where if you added experience levels to your user with the /xp command, these levels would not be restored in your grave
Fixed an error where the grave deleted all your items you had before you retrieved your items, and did not delete the grave.
Added a command /retrieve_grave <user> to retrieve lost items. Using the command without the user argument, your items will be restored. If you use the argument, the selected players items will be restored. You can not retrieve someone elses grave.
The grave is now water loggable and will by default be water logged if you die in water.