Minecraft gamerule old and new names: keepInventory and more renamed in Java 1.21.11
Minecraft Java Edition renamed almost every game rule in a recent version, so old commands such as keepInventory and mobGriefing now fail with “Incorrect argument for command”. Swa …