@kate_gg
Minecraft Oct 12, 2026

/gamerule keepinventory true isn't working on my world

Typed it with cheats on and got the confirmation, but I still dropped everything when I died. Playing on Bedrock with friends. Does it have to be set by the host?
2

Leave A Reply

Log in to post an answer.

2 Answers

ellaw Nov 06, 2026
kate_gg
if you turn on cheats on bedrock it disables achievements for that world, permanently. so if you care about those, keepinventory isn't free there.
zeel_46 Oct 19, 2026
kate_gg
On Java it's case sensitive, so it has to be /gamerule keepInventory true with the capital I, and the world needs cheats on (Open to LAN lets you turn them on for that session). On Bedrock you can just flip Keep Inventory in the world settings.