Celeb Glow
general | May 08, 2026

Remove Minecraft gamerules in-game

Is there a way to remove Minecraft gamerules in-game?

I made a gamerule "New" and now want to remove it but I can't find a way to do it.

I searched in the minecraft help list and found nothing.

I also tried /gamerule and found nothing.

6

3 Answers

No, there is no command to remove a custom gamerule in-game. It is, however, possible with a program such as NBTEdit.

Open up your world file, and navigate to level.dat > Data > Gamerules. enter image description here

Within those gamerules you should see the one you created. Select it, and press delete. When you save and open up your world, it should be gone.

If you don't want to use any programs, remove the gamerule by doing this:

/gamerule new 0

That will turn the gamerule off. Next, remove everything that makes it work. For example: delete any command blocks that make the gamerule function.

If u mean u have made a gamerule true or false just type the same thing but using the opposite. Example:You've just done /gamerule keepInventory true to turn this off do /gamerule keepInventory false