Minecraft Gamerules not working?
Me and my friend were playing Minecraft, and I created a world with cheats de-activated. When I opened it to LAN, I activated cheats, and changed the two game rules keepInventory (True) and mobGriefing (false). But, my items dropped when I died, and a Creeper blew up part of my Mineshaft.
Later, my friend started up a Singleplayer world (with cheats), enabled those two gamerules (to the same as on our LAN), and the same results happened.
I am pretty sure I put the command in right, seeing as I did:
/gamerule [hit tab until I got to the rule I wanted to change] [hit tab until I got to the way I wanted to change it] and hit enter.
How do I get them to work?
Best Answer
You must ensure that the following standards are met:
- Cheats are ON
- You made sure that the 'g' in gamerule is lowercase
- The I in keepInventory is capital
- true is not capitalized.
If all else fails, you might have to re-install Minecraft. If that doesn't work, I have no idea what will. Happy Crafting!
Pictures about "Minecraft Gamerules not working?"



How do you reset Gamerules in Minecraft?
Open up your world file, and navigate to level. dat > Data > Gamerules. Within those gamerules you should see the one you created. Select it, and press delete.How do you change the Gamerules on a Minecraft server?
When in-game, game rules can be changed using the /gamerule command, using the syntax /gamerule <rule> [<value>] , where <rule> is the name of the game rule and <value> is an allowed value, which depends on the type of the game rule.Does Gamerule keepInventory true?
The command for activating the Keep Inventory cheat is /gamerule keepInventory true . You must enter this command into the chat window to activate the cheat that lets you keep your inventory when you die.What are the Gamerules in Minecraft?
List of GamerulesRule NameDescriptionDefault ValuedoLimitedCraftingWhether players should only be able to craft recipes that they've unlocked firstfalsedoMobLootWhether mobs should drop itemstruedoMobSpawningWhether mobs should naturally spawntruedoPatrolSpawningWhether patrols can spawntrue16 more rows•Mar 14, 2022Minecraft 1.16 - All Gamerules
More answers regarding minecraft Gamerules not working?
Answer 2
For some reason, if you do /gamerule set (example gamerule) then it will of claimed to of done the gamerule when it has actually not, but if you just put /gamerule (example gamerule) then it will work fine.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Pixabay, cottonbro, Julia M Cameron, cottonbro
