RobertSkalko / Mine-And-Slash-Rework

Mine and Slash Minecraft Mod
https://www.curseforge.com/minecraft/mc-mods/mine-and-slash-reloaded
18 stars 23 forks source link

Can't get items from grave/tomb after died in map. #87

Open AngleNaris opened 6 months ago

AngleNaris commented 6 months ago

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.

RobertSkalko commented 6 months ago

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

AngleNaris commented 6 months ago

OK ,thanks. This tomb mod give you a key after death. You need to right click the tomb with the key to break tomb.

Johansmithl commented 2 months ago

How to change it to be by level and not by distance the levels of the mobs