With keepInventory and keepBackSlot both on, the backpack drops at the respawn point as an item.
Turn both gamerules on.
Equip a backpack.
Die, somehow.
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?
With keepInventory and keepBackSlot both on, the backpack drops at the respawn point as an item.
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?