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
23 stars 0 forks source link

Backpacks unequipping on death, dropping as item, but can still be extracted from?? #202

Open CoruscareGames opened 1 month ago

CoruscareGames commented 1 month ago

With keepInventory and keepBackSlot both on, the backpack drops at the respawn point as an item.

  1. Turn both gamerules on.
  2. Equip a backpack.
  3. Die, somehow.
  4. Respawn. Result: The backpack item is dropped and immediately picked up. On opening the inventory, the player is still able to extract items from the backpack, but cannot put items in (as the backpack item is not equipped). Only when the backpack item is re-equipped can items be once again inserted.

Notably, the backpack remains an item on the ground until picked up. More testing maybe required: What happens if it is picked up by a player who isn't the one who dropped it? Can they access the inventory?