Minecraft gamerule list

Minecraft gamerule list DEFAULT

How to Use the Gamerule Command in Minecraft

This Minecraft tutorial explains how to use the /gamerule command with screenshots and step-by-step instructions.

You can either set or check the value of a game rule using the /gamerule command in Minecraft. Let's explore how to use this cheat (game command).

Supported Platforms

The /gamerule command is available in the following versions of Minecraft:

* The version that it was added or removed, if applicable.
NOTE: Pocket Edition (PE), Xbox One, PS4, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. We will continue to show them individually for version history.

Requirements

To run game commands in Minecraft, you have to turn cheats on in your world.

Gamerule Command

  • Java
  • PE
  • Xbox
  • PS
  • Nintendo
  • Win10
  • Edu

Gamerule Command in Minecraft Java Edition (PC/Mac)

In Minecraft Java Edition (PC/Mac), the gamerule command has different syntaxes depending on whether you want to set or check the gamerule.

To set the value of a gamerule:

/gamerule <rule> <value>

To check the value of a gamerule:

/gamerule <rule>

Definitions

  • rule is the name of the game rule that you would like to set or view. See list of choices below.
  • value is the value to assign to a rule name. See possible values below.

    RuleDescriptionPossible ValuesDefault Value
    announceAdvancementsWhether advancements are announcedtrue or falsetrue
    commandBlockOutputWhether command blocks notify admins when commands are executedtrue or falsetrue
    disableElytraMovementCheckDisables the check in a server whether a player is moving too fasttrue or falsefalse
    disableRaidsDisables Raids (added in 1.14.3)true or falsefalse
    doDaylightCycleWhether time advances in the day/night cycle. If set to false, time will stop at the current moment.true or falsetrue
    doEntityDropsWhether entities should have dropstrue or falsetrue
    doFireTickWhether fire should naturally spread and then extinguishtrue or falsetrue
    doImmediateRespawnWhether player immediately respawns without seeing the respawn menu (the respawn menu displays the message that you died with the options to respawn or go to the main menu) (added in 1.15)true or falsefalse
    doInsomniaWhether phantoms will spawn at night if a player hasn't slept (added in 1.15)true or falsetrue
    doLimitedCraftingLimit crafting to recipes that are unlockedtrue or falsefalse
    doMobLootWhether mobs should have dropstrue or falsetrue
    doMobSpawningWhether mobs should spawn naturallytrue or falsetrue
    doPatrolSpawningWhether patrols should spawn (added in 1.15.2)true or falsetrue
    doTileDropsWhether blocks should have dropstrue or falsetrue
    doTraderSpawningWhether wandering traders should spawn (added in 1.15.2)true or falsetrue
    doWeatherCycleWhether weather changes. If set to false, weather will stop at current cycle.true or falsetrue
    drowningDamageWhether drowning causes damage (added in 1.15)true or falsetrue
    fallDamageWhether falls cause damage (added in 1.15)true or falsetrue
    fireDamageWhether fire causes damage (added in 1.15)true or falsetrue
    KeepInventoryWhether players keep their inventory after dyingtrue or falsefalse
    logAdminCommandsWhether admin commands are added to the server logtrue or falsetrue
    maxCommandChainLengthMaximum length of command chain<number>65536
    maxEntityCrammingMaximum number of entities that can be crammed<number>24
    mobGriefingWhether mobs can pick up items or change blockstrue or falsetrue
    naturalRegenerationWhether players can regenerate health naturally through their hunger bartrue or falsetrue
    randomTickSpeedSets the speed of how fast things grow or decay (such as the growth of a sapling into a tree).
    0 disables the random tick. The higher the value, the faster the random tick.
    <number>3
    reducedDebugInfoWhether debug screen hides some informationtrue or falsefalse
    sendCommandFeedbackWhether feedback from player commands appears in the chattrue or falsetrue
    showDeathMessagesWhether a message appears in the chat when a player diestrue or falsetrue
    spawnRadiusControls how far from the world spawn point you can spawn<number>10
    spectatorsGenerateChunksWhether spectators can generate chunks in the gametrue or falsetrue

Gamerule Command in Minecraft Pocket Edition (PE)

In Minecraft Pocket Edition (PE), the gamerule command has different syntaxes depending on whether you want to set, check or list the gamerule.

To set the value of a gamerule:

/gamerule <rule> <value>

To check the value of a gamerule:

/gamerule <rule>

To list all gamerules:

/gamerule

Definitions

  • rule is the name of the game rule that you would like to set or view. See list of choices below.
  • value is the value to assign to a rule name. See possible values below.

    RuleDescriptionPossible ValuesDefault Value
    commandblockoutputWhether command blocks notify admins when commands are executedtrue or falsetrue
    commandblocksenabledWhether command blocks are enabled in the worldtrue or falsetrue
    dodaylightcycleWhether time advances in the day/night cycle. If set to false, time will stop at the current moment.true or falsetrue
    doentitydropsWhether entities should have dropstrue or falsetrue
    dofiretickWhether fire should naturally spread and then extinguishtrue or falsetrue
    doimmediaterespawnWhether player immediately respawns without seeing the respawn menu (the respawn menu displays the message that you died with the options to respawn or go to the main menu)true or falsefalse
    doinsomniaWhether phantoms will spawn at night if a player hasn't slepttrue or falsetrue
    domoblootWhether mobs should have dropstrue or falsetrue
    domobspawningWhether mobs should spawn naturallytrue or falsetrue
    dotiledropsWhether blocks should have dropstrue or falsetrue
    doweathercycleWhether weather changes. If set to false, weather will stop at current cycle.true or falsetrue
    drowningdamageWhether drowning causes damagetrue or falsetrue
    falldamageWhether falls cause damagetrue or falsetrue
    firedamageWhether fire causes damagetrue or falsetrue
    functioncommandlimitMaximum length for function commands<number>10000
    keepinventoryWhether players keep their inventory after dyingtrue or falsefalse
    maxcommandchainlengthMaximum length of command chain<number>65536
    mobgriefingWhether mobs can pick up items or change blockstrue or falsetrue
    naturalregenerationWhether players can regenerate health naturally through their hunger bartrue or falsetrue
    pvpWhether players can cause damage to other playerstrue or falsetrue
    randomtickspeedRandom tick speed<number>1
    respawnblocksexplodeWhether Respawn Anchors and Beds explode (added in 1.17.30)true or falsetrue
    sendcommandfeedbackWhether feedback from player commands appears in the chattrue or falsetrue
    showcoordinatesWhether coordinates should be displayed on the screentrue or falsefalse
    showdeathmessagesWhether death messages are displayed in the Chat windowtrue or falsetrue
    showtagsWhether tags (such as "Can place on" and "Can destroy" block lists) should be displayed in item loretrue or falsetrue
    spawnradiusControls how far from the world spawn point you can spawn<number>5
    tntexplodesWhether TNT explodestrue or falsetrue

Gamerule Command in Xbox One Edition

In Minecraft Xbox One Edition, the gamerule command has different syntaxes depending on whether you want to set, check or list the gamerule.

To set the value of a gamerule:

/gamerule <rule> <value>

To check the value of a gamerule:

/gamerule <rule>

To list all gamerules:

/gamerule

Definitions

  • rule is the name of the game rule that you would like to set or view. See list of choices below.
  • value is the value to assign to a rule name. See possible values below.

    RuleDescriptionPossible ValuesDefault Value
    commandblockoutputWhether command blocks notify admins when commands are executedtrue or falsetrue
    commandblocksenabledWhether command blocks are enabled in the worldtrue or falsetrue
    dodaylightcycleWhether time advances in the day/night cycle. If set to false, time will stop at the current moment.true or falsetrue
    doentitydropsWhether entities should have dropstrue or falsetrue
    dofiretickWhether fire should naturally spread and then extinguishtrue or falsetrue
    doimmediaterespawnWhether player immediately respawns without seeing the respawn menu (the respawn menu displays the message that you died with the options to respawn or go to the main menu)true or falsefalse
    doinsomniaWhether phantoms will spawn at night if a player hasn't slepttrue or falsetrue
    domoblootWhether mobs should have dropstrue or falsetrue
    domobspawningWhether mobs should spawn naturallytrue or falsetrue
    dotiledropsWhether blocks should have dropstrue or falsetrue
    doweathercycleWhether weather changes. If set to false, weather will stop at current cycle.true or falsetrue
    drowningdamageWhether drowning causes damagetrue or falsetrue
    falldamageWhether falls cause damagetrue or falsetrue
    firedamageWhether fire causes damagetrue or falsetrue
    functioncommandlimitMaximum length for function commands<number>10000
    keepinventoryWhether players keep their inventory after dyingtrue or falsefalse
    maxcommandchainlengthMaximum length of command chain<number>65536
    mobgriefingWhether mobs can pick up items or change blockstrue or falsetrue
    naturalregenerationWhether players can regenerate health naturally through their hunger bartrue or falsetrue
    pvpWhether players can cause damage to other playerstrue or falsetrue
    randomtickspeedRandom tick speed<number>1
    respawnblocksexplodeWhether Respawn Anchors and Beds explode (added in 1.17.30)true or falsetrue
    sendcommandfeedbackWhether feedback from player commands appears in the chattrue or falsetrue
    showcoordinatesWhether coordinates should be displayed on the screentrue or falsefalse
    showdeathmessagesWhether death messages are displayed in the Chat windowtrue or falsetrue
    showtagsWhether tags (such as "Can place on" and "Can destroy" block lists) should be displayed in item loretrue or falsetrue
    spawnradiusControls how far from the world spawn point you can spawn<number>5
    tntexplodesWhether TNT explodestrue or falsetrue

Gamerule Command in PS4 Edition

In Minecraft PS4 Edition, the gamerule command has different syntaxes depending on whether you want to set, check or list the gamerule.

To set the value of a gamerule:

/gamerule <rule> <value>

To check the value of a gamerule:

/gamerule <rule>

To list all gamerules:

/gamerule

Definitions

  • rule is the name of the game rule that you would like to set or view. See list of choices below.
  • value is the value to assign to a rule name. See possible values below.

    RuleDescriptionPossible ValuesDefault Value
    commandblockoutputWhether command blocks notify admins when commands are executedtrue or falsetrue
    commandblocksenabledWhether command blocks are enabled in the worldtrue or falsetrue
    dodaylightcycleWhether time advances in the day/night cycle. If set to false, time will stop at the current moment.true or falsetrue
    doentitydropsWhether entities should have dropstrue or falsetrue
    dofiretickWhether fire should naturally spread and then extinguishtrue or falsetrue
    doimmediaterespawnWhether player immediately respawns without seeing the respawn menu (the respawn menu displays the message that you died with the options to respawn or go to the main menu)true or falsefalse
    doinsomniaWhether phantoms will spawn at night if a player hasn't slepttrue or falsetrue
    domoblootWhether mobs should have dropstrue or falsetrue
    domobspawningWhether mobs should spawn naturallytrue or falsetrue
    dotiledropsWhether blocks should have dropstrue or falsetrue
    doweathercycleWhether weather changes. If set to false, weather will stop at current cycle.true or falsetrue
    drowningdamageWhether drowning causes damagetrue or falsetrue
    falldamageWhether falls cause damagetrue or falsetrue
    firedamageWhether fire causes damagetrue or falsetrue
    functioncommandlimitMaximum length for function commands<number>10000
    keepinventoryWhether players keep their inventory after dyingtrue or falsefalse
    maxcommandchainlengthMaximum length of command chain<number>65536
    mobgriefingWhether mobs can pick up items or change blockstrue or falsetrue
    naturalregenerationWhether players can regenerate health naturally through their hunger bartrue or falsetrue
    pvpWhether players can cause damage to other playerstrue or falsetrue
    randomtickspeedRandom tick speed<number>1
    respawnblocksexplodeWhether Respawn Anchors and Beds explode (added in 1.17.30)true or falsetrue
    sendcommandfeedbackWhether feedback from player commands appears in the chattrue or falsetrue
    showcoordinatesWhether coordinates should be displayed on the screentrue or falsefalse
    showdeathmessagesWhether death messages are displayed in the Chat windowtrue or falsetrue
    showtagsWhether tags (such as "Can place on" and "Can destroy" block lists) should be displayed in item loretrue or falsetrue
    spawnradiusControls how far from the world spawn point you can spawn<number>5
    tntexplodesWhether TNT explodestrue or falsetrue

Gamerule Command in Minecraft Nintendo Switch Edition

In Minecraft Nintendo Switch Edition, the gamerule command has different syntaxes depending on whether you want to set, check or list the gamerule.

To set the value of a gamerule:

/gamerule <rule> <value>

To check the value of a gamerule:

/gamerule <rule>

To list all gamerules:

/gamerule

Definitions

  • rule is the name of the game rule that you would like to set or view. See list of choices below.
  • value is the value to assign to a rule name. See possible values below.

    RuleDescriptionPossible ValuesDefault Value
    commandblockoutputWhether command blocks notify admins when commands are executedtrue or falsetrue
    commandblocksenabledWhether command blocks are enabled in the worldtrue or falsetrue
    dodaylightcycleWhether time advances in the day/night cycle. If set to false, time will stop at the current moment.true or falsetrue
    doentitydropsWhether entities should have dropstrue or falsetrue
    dofiretickWhether fire should naturally spread and then extinguishtrue or falsetrue
    doimmediaterespawnWhether player immediately respawns without seeing the respawn menu (the respawn menu displays the message that you died with the options to respawn or go to the main menu)true or falsefalse
    doinsomniaWhether phantoms will spawn at night if a player hasn't slepttrue or falsetrue
    domoblootWhether mobs should have dropstrue or falsetrue
    domobspawningWhether mobs should spawn naturallytrue or falsetrue
    dotiledropsWhether blocks should have dropstrue or falsetrue
    doweathercycleWhether weather changes. If set to false, weather will stop at current cycle.true or falsetrue
    drowningdamageWhether drowning causes damagetrue or falsetrue
    falldamageWhether falls cause damagetrue or falsetrue
    firedamageWhether fire causes damagetrue or falsetrue
    functioncommandlimitMaximum length for function commands<number>10000
    keepinventoryWhether players keep their inventory after dyingtrue or falsefalse
    maxcommandchainlengthMaximum length of command chain<number>65536
    mobgriefingWhether mobs can pick up items or change blockstrue or falsetrue
    naturalregenerationWhether players can regenerate health naturally through their hunger bartrue or falsetrue
    pvpWhether players can cause damage to other playerstrue or falsetrue
    randomtickspeedRandom tick speed<number>1
    respawnblocksexplodeWhether Respawn Anchors and Beds explode (added in 1.17.30)true or falsetrue
    sendcommandfeedbackWhether feedback from player commands appears in the chattrue or falsetrue
    showcoordinatesWhether coordinates should be displayed on the screentrue or falsefalse
    showdeathmessagesWhether death messages are displayed in the Chat windowtrue or falsetrue
    showtagsWhether tags (such as "Can place on" and "Can destroy" block lists) should be displayed in item loretrue or falsetrue
    spawnradiusControls how far from the world spawn point you can spawn<number>5
    tntexplodesWhether TNT explodestrue or falsetrue

Gamerule Command in Minecraft Windows 10 Edition

In Minecraft Windows 10 Edition, the gamerule command has different syntaxes depending on whether you want to set or check the gamerule.

To set the value of a gamerule:

/gamerule <rule> <value>

To check the value of a gamerule:

/gamerule <rule>

To list all gamerules:

/gamerule

Definitions

  • rule is the name of the game rule that you would like to set or view. See list of choices below.
  • value is the value to assign to a rule name. See possible values below.

    RuleDescriptionPossible ValuesDefault Value
    commandblockoutputWhether command blocks notify admins when commands are executedtrue or falsetrue
    commandblocksenabledWhether command blocks are enabled in the worldtrue or falsetrue
    dodaylightcycleWhether time advances in the day/night cycle. If set to false, time will stop at the current moment.true or falsetrue
    doentitydropsWhether entities should have dropstrue or falsetrue
    dofiretickWhether fire should naturally spread and then extinguishtrue or falsetrue
    doimmediaterespawnWhether player immediately respawns without seeing the respawn menu (the respawn menu displays the message that you died with the options to respawn or go to the main menu)true or falsefalse
    doinsomniaWhether phantoms will spawn at night if a player hasn't slepttrue or falsetrue
    domoblootWhether mobs should have dropstrue or falsetrue
    domobspawningWhether mobs should spawn naturallytrue or falsetrue
    dotiledropsWhether blocks should have dropstrue or falsetrue
    doweathercycleWhether weather changes. If set to false, weather will stop at current cycle.true or falsetrue
    drowningdamageWhether drowning causes damagetrue or falsetrue
    falldamageWhether falls cause damagetrue or falsetrue
    firedamageWhether fire causes damagetrue or falsetrue
    functioncommandlimitMaximum length for function commands<number>10000
    keepinventoryWhether players keep their inventory after dyingtrue or falsefalse
    maxcommandchainlengthMaximum length of command chain<number>65536
    mobgriefingWhether mobs can pick up items or change blockstrue or falsetrue
    naturalregenerationWhether players can regenerate health naturally through their hunger bartrue or falsetrue
    pvpWhether players can cause damage to other playerstrue or falsetrue
    randomtickspeedRandom tick speed<number>1
    respawnblocksexplodeWhether Respawn Anchors and Beds explode (added in 1.17.30)true or falsetrue
    sendcommandfeedbackWhether feedback from player commands appears in the chattrue or falsetrue
    showcoordinatesWhether coordinates should be displayed on the screentrue or falsefalse
    showdeathmessagesWhether death messages are displayed in the Chat windowtrue or falsetrue
    showtagsWhether tags (such as "Can place on" and "Can destroy" block lists) should be displayed in item loretrue or falsetrue
    spawnradiusControls how far from the world spawn point you can spawn<number>5
    tntexplodesWhether TNT explodestrue or falsetrue

Gamerule Command in Minecraft Education Edition

In Minecraft Education Edition, the gamerule command has different syntaxes depending on whether you want to set, check or list the gamerule.

To set the value of a gamerule:

/gamerule <rule> <value>

To check the value of a gamerule:

/gamerule <rule>

To list all gamerules:

/gamerule

Definitions

  • rule is the name of the game rule that you would like to set or view.
  • value is the value to assign to a rule name. See possible values below.

    RuleDescriptionPossible ValuesDefault Value
    allowdestructiveobjectsWhether destructive objects should be allowedtrue or falsetrue
    allowmobsWhether mobs should be allowedtrue or falsetrue
    commandblockoutputWhether command blocks notify admins when commands are executedtrue or falsetrue
    commandblocksenabledWhether command blocks are enabled in the worldtrue or falsetrue
    dodaylightcycleWhether time advances in the day/night cycle. If set to false, time will stop at the current moment.true or falsetrue
    doentitydropsWhether entities should have dropstrue or falsetrue
    dofiretickWhether fire should naturally spread and then extinguishtrue or falsetrue
    doimmediaterespawnWhether player immediately respawns without seeing the respawn menu (the respawn menu displays the message that you died with the options to respawn or go to the main menu)true or falsefalse
    doinsomniaWhether phantoms will spawn at night if a player hasn't slepttrue or falsetrue
    domoblootWhether mobs should have dropstrue or falsetrue
    domobspawningWhether mobs should spawn naturallytrue or falsetrue
    dotiledropsWhether blocks should have dropstrue or falsetrue
    doweathercycleWhether weather changes. If set to false, weather will stop at current cycle.true or falsetrue
    drowningdamageWhether drowning causes damagetrue or falsetrue
    falldamageWhether falls cause damagetrue or falsetrue
    firedamageWhether fire causes damagetrue or falsetrue
    functioncommandlimitMaximum length for function commands<number>10000
    globalmuteWhether the world should be mutedtrue or falsefalse
    keepinventoryWhether players keep their inventory after dyingtrue or falsefalse
    maxcommandchainlengthMaximum length of command chain<number>65536
    mobgriefingWhether mobs can pick up items or change blockstrue or falsetrue
    naturalregenerationWhether players can regenerate health naturally through their hunger bartrue or falsetrue
    pvpWhether players can cause damage to other playerstrue or falsetrue
    randomtickspeedRandom tick speed<number>1
    sendcommandfeedbackWhether feedback from player commands appears in the chattrue or falsetrue
    showbordereffectWhether border effect should be displayedtrue or falsetrue
    showcoordinatesWhether coordinates should be displayed on the screentrue or falsefalse
    showdeathmessagesWhether death messages are displayed in the Chat windowtrue or falsetrue
    showtagsWhether tags (such as "Can place on" and "Can destroy" block lists) should be displayed in item loretrue or falsetrue
    tntexplodesWhether TNT explodestrue or falsetrue

Examples

  • Java
  • PE
  • Xbox
  • PS
  • Nintendo
  • Win10
  • Edu

Example in Java Edition (PC/Mac)

To set the doDayLightCycle gamerule to false and stop time in Minecraft Java Edition (PC/Mac):

/gamerule doDaylightCycle false

To check the value of the KeepInventory gamerule:

/gamerule KeepInventory

Example in Pocket Edition (PE)

To prevent players from taking drowning damage by setting the drowningdamage gamerule to false in Minecraft PE:

/gamerule drowningdamage false

To check the value of the dodaylightcycle gamerule:

/gamerule dodaylightcycle

Example in Xbox One Edition

To freeze time and stop it from advancing in Minecraft Xbox One Edition:

/gamerule dodaylightcycle false

To check the value of the doweathercycle gamerule:

/gamerule doweathercycle

Example in PS4 Edition

To prevent players from taking fall damage by setting the falldamage gamerule to false in Minecraft PS4 Edition:

/gamerule falldamage false

To check the value of the dodaylightcycle gamerule:

/gamerule dodaylightcycle

Example in Nintendo Switch Edition

To stop the weather from changing in Minecraft Nintendo Switch Edition:

/gamerule doweathercycle false

To check the value of the tntexplodes gamerule:

/gamerule tntexplodes

Example in Windows 10 Edition

To prevent players from causing damage to other players by setting the pvp gamerule to false in Minecraft Windows 10 Edition:

/gamerule pvp false

To check the value of the doweathercycle gamerule:

/gamerule doweathercycle

Example in Education Edition

To display your coordinates on the screen in Minecraft Education Edition:

/gamerule showcoordinates true

To check the value of the globalmute gamerule:

/gamerule globalmute

How to Enter the Command

1. Open the Chat Window

The easiest way to run a command in Minecraft is within the chat window. The game control to open the chat window depends on the version of Minecraft:

2. Type the Command

We will cover examples of how to use the /gamerule command to set a gamerule as well as how to see what the current setting is for a gamerule.

Set the Value of a Gamerule

In the first example, we will show you how to use the /gamerule command to stop time from advancing by setting the doDaylightCycle gamerule to false.

To set the doDayLightCycle gamerule to false and stop time, you would need to type the following command:

/gamerule doDaylightCycle false

Type the command in the chat window. As you are typing, you will see the command appear in the lower left corner of the game window. Press the key to run the command.

gamerule command set value

This gamerule command would stop time at the current moment. Time would no longer advance. Since we are in daytime, it would remain daytime forever. You can run this command at any time of the day and it will stop time at that moment.

completed gamerule command set value

You will see the message "Game rule has been updated" appear in the lower left corner of the game window to indicate that the gamerule command has completed.

Check the Value of a Gamerule

In this next example, we will show you how to check the value of a gamerule for your world.

In this example, we want to see what our KeepInventory gamerule is currently set to. This is the gamerule that allows you to keep your inventory after dying.

To check the value of the KeepInventory gamerule, you would need to type the following command:

/gamerule KeepInventory

Type the command in the chat window and press the key to run the command.

gamerule command check value

This command would display what the KeepInventory gamerule is currently set to. The value returned is either true or false.

completed gamerule command check value

In this example, you will see the message "KeepInventory = false" appear in the lower left corner of the game window. Since the KeepInventory gamerule is set to false, you lose all of your inventory when you die. You can use the gamerule command to set KeepInventory to true to retain your inventory after dying.

Congratulations, you have learned how to use the /gamerule command in Minecraft.

Other Game Commands

You can use other commands and cheats in Minecraft such as:

Sours: https://www.digminecraft.com/game_commands/gamerule_command.php

What are all the gamerule commands in Minecraft?

On the Command and Command Block page on the Minecraft Wiki, there are lists and tables describing the command.

  • - Whether command blocks should notify admins when they perform commands.
  • - Toggles the day-night cycle (the sun stops moving and stays where it is) (added in 1.6.1)
  • - Whether entities that are not mobs should have drops.
  • - Whether fire should spread.
  • - Whether mobs should drop items.
  • - Whether mobs should naturally spawn.
  • - Whether blocks should have drops.
  • - Whether the player should keep items in their inventory if they die.
  • - Whether to log admin commands to server log
  • - Whether creepers, endermen, ghasts, and withers should be able to change blocks.
  • - Toggles natural health regeneration
  • - How often a random block tick occurs (such as plant growth, leaf decay, etc.) per chunk section per game tick. 0 will disable random ticks, higher numbers will increase random ticks.
  • - Whether the debug screen shows all or reduced information.
  • - Whether the feedback from commands executed by a player should show up in chat. Also affects the default behavior of whether command blocks store their output text.
  • - Whether a message appears in chat when a player dies.

Source: Minecraft Wiki

In Minecraft, you can type and keep pressing to iterate through all (if no hidden ones) available game rules. When the rule you want appears, just press and input either or .

I believe the rule name itself is already quite self-explanatory, if not you can refer to the list above or the Minecraft Wiki or try them yourself.

Sours: https://gaming.stackexchange.com/questions/97883/what-are-all-the-gamerule-commands-in-minecraft
  1. 30802 south coast highway
  2. Acdc album covers
  3. Store locator walmart
  4. Lg phone download apps
  5. Xfinity mansfield ma

Minecraft – What are all the gamerule commands in Minecraft

On the Command and Command Block page on the Minecraft Wiki, there are lists and tables describing the command.

  • - Whether command blocks should notify admins when they perform commands.
  • - Toggles the day-night cycle (the sun stops moving and stays where it is) (added in 1.6.1)
  • - Whether entities that are not mobs should have drops.
  • - Whether fire should spread.
  • - Whether mobs should drop items.
  • - Whether mobs should naturally spawn.
  • - Whether blocks should have drops.
  • - Whether the player should keep items in their inventory if they die.
  • - Whether to log admin commands to server log
  • - Whether creepers, endermen, ghasts, and withers should be able to change blocks.
  • - Toggles natural health regeneration
  • - How often a random block tick occurs (such as plant growth, leaf decay, etc.) per chunk section per game tick. 0 will disable random ticks, higher numbers will increase random ticks.
  • - Whether the debug screen shows all or reduced information.
  • - Whether the feedback from commands executed by a player should show up in chat. Also affects the default behavior of whether command blocks store their output text.
  • - Whether a message appears in chat when a player dies.

Source: Minecraft Wiki

In Minecraft, you can type and keep pressing to iterate through all (if no hidden ones) available game rules. When the rule you want appears, just press and input either or .

I believe the rule name itself is already quite self-explanatory, if not you can refer to the list above or the Minecraft Wiki or try them yourself.

Sours: https://itectec.com/game/minecraft-what-are-all-the-gamerule-commands-in-minecraft/
Rule name Description Default value Type Availability Java Bedrock Whether advancements should be announced in chat Bool Yes No Whether command blocks should be enabled in-game Bool No Yes Whether command blocks should notify admins when they perform commands Bool Yes Yes Whether the server should skip checking player speed when the player is wearing elytra. Often helps with jittering due to lag in multiplayer. Bool Yes No Whether raids are disabled. Bool Yes No Whether the daylight cycle and moon phases progress Bool Yes Yes Whether entities that are not mobs should have drops Bool Yes Yes Whether fire should spread and naturally extinguish Bool Yes Yes Whether phantoms can spawn in the nighttime Bool Yes Yes Players respawn immediately without showing the death screen Bool Yes Yes Whether players should be able to craft only those recipes that they've unlocked first Bool Yes No Whether mobs should drop items and experience orbs Bool Yes Yes Whether mobs should naturally spawn. Does not affect monster spawners. Bool Yes Yes Whether patrols can spawn Bool Yes No Whether blocks should have drops Bool Yes Yes Whether wandering traders can spawn Bool Yes No Whether the weather can change naturally. The command can still change weather. Bool Yes Yes Whether the player should take damage when drowning Bool Yes Yes Whether the player should take fall damage Bool Yes Yes Whether the player should take damage in fire, lava, campfires, or on magma blocks‌[Java Edition only][1]. Bool Yes Yes Makes angered neutral mobs stop being angry when the targeted player dies nearby Bool Yes No Whether the player should take damage when inside powder snowBool Yes Yes The maximum number of commands that can be executed by at once Int No Yes Whether the player should keep items and experience in their inventory after death Bool Yes Yes Whether to log admin commands to server log Bool Yes No The maximum length of a chain of commands that can be executed during one tick. Applies to command blocks and functions. Int Yes Yes The maximum number of pushable entities a mob or player can push, before taking 3♥♥suffocation damage per half-second. Setting to 0 or lower disables the rule. Damage affects survival-mode or adventure-mode players, and all mobs but bats. Pushable entities include non-spectator-mode players, any mob except bats, as well as boats and minecarts. Int Yes No Whether creepers, zombies, endermen, ghasts, withers, ender dragons, rabbits, sheep, villagers, silverfish, snow golems, and end crystals should be able to change blocks and whether mobs can pick up items, which also disables bartering. This also affects the capability of zombie-like creatures like zombified piglins and drowned to pathfind to turtle eggs. Bool Yes Yes Whether the player can regenerate health naturally if their hunger is full enough (doesn't affect external healing, such as golden apples, the Regeneration effect, etc.) Bool Yes Yes What percentage of players must sleep to skip the night. Int Yes No Whether the player can fight with other players Bool No Yes How often a random block tick occurs (such as plant growth, leaf decay, etc.) per chunk section per game tick. 0 and negative values disables random ticks, higher numbers increase random ticks. Setting to a high integer results in high speeds of decay and growth. Numbers over 4096 make plant growth or leaf decay instantaneous. ‌[JE only]
[BE only]Int Yes Yes Whether the debug screen shows all or reduced information; and whether the effects of  +  (entity hitboxes) and  +  (chunk boundaries) are shown. Bool Yes No Prevents beds/respawn anchors from exploding in other dimensions. Bool No Yes Whether the feedback from commands executed by a player should show up in chat. Also affects the default behavior of whether command blocks store their output text Bool Yes Yes Whether the player's coordinates are displayed Bool No Yes Whether death messages are put into chat when a player dies. Also affects whether a message is sent to the pet's owner when the pet dies. Bool Yes Yes The number of blocks outward from the world spawn coordinates that a player spawns in when first joining a server or when dying without a personal spawnpoint. ‌[JE only]
[BE only]Int Yes Yes Whether players in spectator mode can generate chunks Bool Yes No Whether TNT explodes after activation Bool No Yes Makes angered neutral mobs attack any nearby player, not just the player that angered them. Works best if is disabled. Bool Yes No Hides the "Can place on" and "Can destroy" block lists from item lore, as well as item lock indicators. Bool No Yes
Sours: https://minecraft.fandom.com/wiki/Game_rule

List minecraft gamerule

Sets or queries a game rule value.

Syntax[]

Arguments[]

Arguments in Java Edition are case sensitive. Arguments in Bedrock Edition are shown for tab autocompletion as lowercase, but when typed are case-insensitive.

JE:
BE: and

Specifies the game rule to set or query.
Must be one of the predefined game rules; see Game rule.

JE:
BE: : bool and : int

Specifies the value to set the game rule to. If not specified, queries the value of the game rule instead of setting it.
Only or specified for predefined game rules can affect gameplay, except in the case of , , , , and where any integer affects (-2147483648~2147483647) gameplay; see Game rule.

Result[]

CommandTriggerJava EditionBedrock Edition
anythe arguments are not specified correctly Unparseable Failed
On successSets or queries the game rule

Output[]

CommandEditionSituationSuccess Count
anyJava EditionOn success11the current value of the game rule
Bedrock EditionOn fail0N/AN/A
On success1N/AN/A

Examples[]

  • To stop the day-night cycle:
  • To stop natural healing:
  • To stop creepers, ghasts and other mobs from modifying blocks:
  • To stop the natural cycle of weather:
  • For the player, so that they can keep all of their valuables when they die:
  • To stop TNT from exploding: ‌[BE only]
  • To stop command blocks from showing what they do:
  • To stop phantoms spawning:

History[]

See also[]

Sours: https://minecraft.fandom.com/wiki/Commands/gamerule
Wszystkie gamerule w Minecraft.

The company was great. We drank a little, argued, joked, laughed, shared opinions, told jokes. Lyudmila Petrovna, wow.

Similar news:

Everyone looked at her in surprise, and after I smiled, all the girls looked at me with wide eyes. - Greg, if you answer, I guarantee I will take off my bra in front of everyone, Inna blurted out, although, by the way, she also had a topic on, but. I wanted to see this performance and I started. "- It was in my third year I was vacationing in Turkey, not far from Antalya and there was one curious couple.



18807 18808 18809 18810 18811