BeansGalaxy / Beans-Backpacks-2

1.20 inventory management mod. Designed to solve inventory clutter and transferring items while belonging in vanilla Minecraft's aesthetic.
MIT License
21 stars 1 forks source link

Compatibility issue with Universal Graves #66

Closed IAMSTRANGLO closed 4 months ago

IAMSTRANGLO commented 5 months ago

When a player dies and a grave is created the backpack will be placed inside the grave instead of on/nearby where the player died. The backpack will be in item form and as a result lose its contents.

Running: Minecraft 1.20.1 Quilt Loader 0.24.0-beta.8 BeansBackpacks-fabric-1.20.1-0.13-v2 graves-3.0.1+1.20.1 trinkets-3.7.1

BeansGalaxy commented 5 months ago

Grave mods really don't like other mods trying to do stuff while a player is dying. I'll try to look into it but I've already moved my code to as early in the sequence of code as I can.

BeansGalaxy commented 5 months ago

Thanks for all the Versions/Info too. It helps a ton :))

BeansGalaxy commented 4 months ago

Trying this again with Universal Graves (graves-3.0.1+1.20.1) it seems to work. I also added the feature where while the mod's installed it places the backpack behind the player if the block is solid. If not then it places it in the hanging state so it'll be off to the side so you can see your grave.

Also noticed that Graves has some logic incase you suffocate in a wall, it'll place the grave in a free block. I don't have that and you'll still have to dig up your backpack.

Updated in 20.1-0.16-v2