
Can't get items from grave/tomb after died in map.
AngleNaris opened this issue ยท 6 comments
Mine_and_Slash-1.20.1-5.3.22
forge 47.2.20
simpletomb 1.3.0
Minecraft 1.20.1
Maybe that is because in map dimension ,player is set to adventure mode?
When I change myself to create mode, I can interact with my tomb and get items back.
Ah i remember, after switching to using adventure mode for maps, I lost the ability to whitelist blocks.
Does the grave mod not have the ability to right click use the block to gain your items back? Or is that disabled by adventure mode. There's also itemstack.hasAdventureModeBreakTagForBlock , probably means can create an item that can break graves in adventure mode.
But i'll probably add a mixin to blockActionRestricted and a config, writing here to remind myself
OK ,thanks.
This tomb mod give you a key after death.
You need to right click the tomb with the key to break tomb.
Currently reworking some code, at the end i should be able to make a nice block whitelist etc
Massive map rework is up, now you can check the map dimension's ALLOWED_BLOCK_BREAK_TAG config to add gravestones as brekable items in maps
Alright update out, if adding it to the tag doesn't work, make a new issue
I default added "gravestone:gravestone" but there's probably more grave mods out there, you can tell me about them and send the grave block ids to me on github, discord etc Or maybe there's a tag already for them?