What does the gamerule /gamerule doPhysics do?
I accidentally put on that gamerule and I dont know what it does!
Also what is the default setting for that gamerule? Is it set to true or false by default?
Best Answer
"doPhysics" is not a vanilla gamerule.
However, you can create your own custom gamerules by simply typing in the name of a gamerule that is not used. The game will not make use of that gamerule whatsoever, and nothing will change by it simply existing.
Map-makers can make use of the gamerule's value using CommandStats, requiring a clocking mechanism for detection. For instance, setting down a Repeating command block, standing on top of it, and typing the following yourself a single time (assuming there is a valid target and objective for the CommandStat):
/stats block ~ ~-1 ~ set QueryResult #doPhysics Gamerules
And placing the following command in the command block:
/gamerule doPhysics
Will set the "Gamerules" score of fake player "#doPhysics" equal to the numerical representation of the gamerule's value (0 for false, 1 for true) whenever the command is executed. You would then use that to detect the gamerule's value, such as determining if the value is "true":
/scoreboard players test #doPhysics Gamerules 1 1
But otherwise it will do nothing to your game if you are not detecting it yourself with other commands.
Pictures about "What does the gamerule /gamerule doPhysics do?"



How do you set Gamerules in Minecraft?
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.What does forgive dead players mean?
Forgive dead playersIf this gamerule is disabled, then angered mobs will stay angry even if the targeted player dies. If both forgiveDeadPlayers and universalAnger are enabled, an angered neutral mob will stop being angry when their target dies. They won't seek any new targets after that.What can you do with Gamerule?
Examples- To stop the day-night cycle: gamerule doDaylightCycle false.
- To stop natural healing: gamerule naturalRegeneration false.
- To stop creepers, ghasts and other mobs from modifying blocks: gamerule mobGriefing false.
- To stop the natural cycle of weather: gamerule doWeatherCycle false.
What is universal anger Minecraft?
Universal anger is basically guilt by association. A neutral mob attacked by players will be angry at players in general, regardless of who attacked them. More specifically: A neutral mob attacked by a player will target the nearest player, even if that player wasn't the attacker.Minecraft 1.16 - All Gamerules
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Max Vakhtbovych, RODNAE Productions, RODNAE Productions, RODNAE Productions
