When the player dies, the mod overwrites blocks in order to place the chests and signs. The blocks replaced are not dropped. If a player dies near a nether portal, the portal may be destroyed because of their chest and/or sign, and if they respawn on the other side of the portal, this can result in a new portal being generated as the old one is now obstructed.
Expected Behavior
Chests and signs would not break blocks but rather look for a nearby spot where they can be placed without damaging the environment instead, only destroying blocks if there are no valid positions within a certain radius of where the player died, and placing these blocks into the chest if possible.
Information
Minecraft version: 1.21.00 Modloader: Forge / Fabric Forge version: xx.xx.xx OR Fabric loader version: 0.16.0 Environment: Singleplayer / Multiplayer
Mod name: Your Items Are Safe Mod version: 4.5
Description
When the player dies, the mod overwrites blocks in order to place the chests and signs. The blocks replaced are not dropped. If a player dies near a nether portal, the portal may be destroyed because of their chest and/or sign, and if they respawn on the other side of the portal, this can result in a new portal being generated as the old one is now obstructed.
Expected Behavior
Chests and signs would not break blocks but rather look for a nearby spot where they can be placed without damaging the environment instead, only destroying blocks if there are no valid positions within a certain radius of where the player died, and placing these blocks into the chest if possible.