25% off on first order withAPEX25
Minecraft
Posted on Oct 10, 2021

Minecraft Gamerules

In Minecraft, there are many features that occur in the background. Some of these features, named gamerules, can be toggled or changed. This can create eternal day, remove any item drops, and many many more. Whether they are used to add in...
Minecraft Gamerules


In Minecraft, there are many features that occur in the background. Some of these features, named gamerules, can be toggled or changed. This can create eternal day, remove any item drops, and many many more. Whether they are used to add increased difficulty or ease to a survival world, or to make an adventure map more logical, there is a lot of variety that is available with these. There are plenty of gamerules, but some are only available on certain platforms. Here at Apex Hosting, we have put together a list of game rules to check.
 

Available Game Rules:

All Minecraft game rules are formatted as /gamerule [Game Rule Name] [Value].

E.g. /gamerule elytra_movement_check false

Gamerules (Updated)

This list of gamerules is for Minecraft 1.21.11 and above.

Gamerule Description Default Value Java Bedrock
show_advancement_messages Whether advancements should be announced in chat. true ✅ ❌
JE: command_block_output
BE: commandblockoutput
Whether command blocks should notify admins when they perform commands. true ✅ ✅
JE: command_blocks_work
BE: commandblocksenabled
Whether command blocks should be enabled in-game. true ✅ ✅
elytra_movement_check Whether the server should check player speed when the player is wearing elytra. true ✅ ❌
raids Whether raids are enabled. true ✅ ❌
JE: advance_time
BE: dodaylightcycle
Whether the daylight cycle and moon phases progress. true ✅ ✅
JE: entity_drops
BE: doentitydrops
Whether entities that are not mobs should have drops. true ✅ ✅
BE: dofiretick Whether fire should spread and naturally extinguish. true ❌ ✅
JE: spawn_phantoms
BE: doinsomnia
Whether phantoms can spawn at nighttime. true ✅ ✅
JE: immediate_respawn
BE: doimmediaterespawn
Players respawn immediately without showing the death screen. false ✅ ✅
JE: limited_crafting
BE: dolimitedcrafting
Whether players can craft only those recipes that they have unlocked. false ✅ ✅
JE: mob_drops
BE: domobloot
Whether mobs should drop items and experience orbs. true ✅ ✅
JE: spawn_mobs
BE: domobspawning
Whether mobs should spawn naturally (does not affect special spawns like spawners or raids). true ✅ ✅
spawn_patrols Whether patrols can spawn. true ✅ ❌
JE: block_drops
BE: dotiledrops
Whether blocks should have drops. true ✅ ✅
spawn_wandering_traders Whether wandering traders can spawn. true ✅ ❌
JE: advance_weather
BE: doweathercycle
Whether the weather can change naturally. true ✅ ✅
JE: drowning_damage
BE: drowningdamage
Whether the player should take damage when drowning. true ✅ ✅
JE: fall_damage
BE: falldamage
Whether the player should take fall damage. true ✅ ✅
JE: fire_damage
BE: firedamage
Whether the player should take damage in fire, lava, campfires, or on magma blocks. true ✅ ✅
forgive_dead_players Makes angered neutral mobs stop being angry when the targeted player dies. true ✅ ❌
JE: freeze_damage
BE: freezedamage
Whether the player should take damage when inside powder snow. true ✅ ✅
BE: functioncommandlimit The maximum number of commands that can be executed by /function at once. 10000 ❌ ✅
JE: keep_inventory
BE: keepinventory
Whether the player should keep items and experience after death. false ✅ ✅
log_admin_commands Whether to log admin commands to the server log. true ✅ ❌
JE: max_command_sequence_length
BE: maxcommandchainlength
The maximum length of a chain of commands that can be executed during one tick. 65536 ✅ ✅
max_entity_cramming The maximum number of pushable entities in one space before entity cramming damage occurs. 0 disables the rule. 24 ✅ ❌
JE: mob_griefing
BE: mobgriefing
Whether certain mobs can change blocks and pick up items. true ✅ ✅
JE: natural_health_regeneration
BE: naturalregeneration
Whether the player can naturally regenerate health if hunger is full enough. true ✅ ✅
JE: players_sleeping_percentage
BE: playerssleepingpercentage
What percentage of players must sleep to skip the night. 100 ✅ ✅
pvp Whether players can damage other players. true ✅ ✅
JE: random_tick_speed
BE: randomtickspeed
How often a random block tick occurs (affects growth and decay). 0 and negative values disable random ticks. 3 (JE)
1 (BE)
✅ ✅
reduced_debug_info Whether the debug screen shows full or reduced information. false ✅ ❌
BE: respawnblocksexplode Prevents beds/respawn anchors from exploding in other dimensions. true ❌ ✅
JE: send_command_feedback
BE: sendcommandfeedback
Whether feedback from player-executed commands appears in chat. true ✅ ✅
BE: showcoordinates Whether the player’s coordinates are displayed on the HUD. true ❌ ✅
JE: show_death_messages
BE: showdeathmessages
Whether death messages are put into chat; also affects pet death messages. true ✅ ✅
BE: showtags Hides the “Can place on” and “Can destroy” block lists from item lore, as well as item lock indicators. true ❌ ✅
JE: respawn_radius
BE: spawnradius
The number of blocks outward from world spawn that a player can spawn. 10 (JE) ✅ ✅
spectators_generate_chunks Whether players in Spectator mode can generate chunks when moving. true ✅ ❌
JE: tnt_explodes
BE: tntexplodes
Whether TNT explodes after activation. true ✅ ✅
universal_anger Makes angered neutral mobs attack any nearby player, not just the player that angered them. false ✅ ❌


Gamerules (Legacy)

This list of gamerules is only for Minecraft 1.21.10 and below.

Gamerule Description Default Value Java Bedrock
announceAdvancements Whether or not advancements are announced in chat. True ✅ ❌
commandBlockOutput Whether command blocks notify admins when performing a command. True ✅ ✅
commandBlocksEnabled Whether or not command blocks are enabled in-game. True ❌ ✅
disableElytraMovementCheck Whether the server should skip checking player speed when a player is wearing an elytra. False ✅ ❌
disableRaids Whether or not raids are disabled. False ✅ ❌
doDaylightCycle Whether the day/night cycle moves forward. True ✅ ✅
doEntityDrops Whether entities other than mobs have drops. True ✅ ✅
doFireTick Whether fire will naturally spread and extinguish. True ✅ ✅
doInsomnia Whether phantoms will spawn. True ✅ ✅
doImmediateRespawn Players respawn immediately without a death screen. False ✅ ✅
doLimitedCrafting Whether players can only craft items when they have the unlocked recipe. False ✅ ❌
doMobLoot Whether or not mobs will drop items. True ✅ ✅
doMobSpawning Decides whether mobs will naturally spawn, not including monster spawners. True ✅ ✅
doPatrolSpawning Whether or not patrols can spawn. True ✅ ❌
doTileDrops Controls if blocks have drops. True ✅ ✅
doTraderSpawning Whether or not wandering traders will spawn. True ✅ ❌
doWeatherCycle Whether the weather cycle will change naturally. True ✅ ✅
drowningDamage Enables or disables drowning damage. True ✅ ✅
fallDamage Enables or disables fall damage. True ✅ ✅
fireDamage Enables or disables fire damage. True ✅ ✅
forgiveDeadPlayers Will stop angered mobs from being hostile when the target dies. True ✅ ✅
freezeDamage Enables or disables freezing damage from powder snow. True ✅ ✅
functionCommandLimit The maximum commands that can be executed through the “/function” command. 10000 ❌ ✅
keepInventory Whether or not players will keep their items and experience upon death. False ✅ ✅
logAdminCommands Controls whether admin commands are logged to the server. True ✅ ❌
maxCommandChainLength Maximum length of a command chain that can be executed in one tick. 65536 ✅ ✅
maxEntityCramming The max number of entities that can be crammed in a space before taking suffocation damage. 24 ✅ ❌
mobGriefing Whether mobs are able to change blocks and pick up items. This includes villager items and bartering. True ✅ ✅
naturalRegeneration Whether the player can naturally regenerate health without the use of items. True ✅ ✅
playersSleepingPercentage How many players are required to sleep through the night. 100 ✅ ❌
pvp Whether or not player vs. player is active. True ❌ ✅
randomTickSpeed How often a random block tick occurs, affecting growth and decay. 0 will disable the random ticks. 3 (JE)
1 (BE)
✅ ✅
reducedDebugInfo Whether or not the F3 menu, hitboxes, and chunk boundaries are shown. False ✅ ❌
respawnblocksexplode‌ Prevents beds/respawn anchors from exploding in alternate dimensions. True ❌ ✅
sendCommandFeedback Whether player-executed commands appear in the chat. This also affects the command block output bar. True ✅ ✅
showCoordinates Whether or not the player’s coordinates are displayed. True ❌ ✅
showDeathMessages Whether player death messages are put into chat. This also affects pet death messages. True ✅ ✅
showTags Hides the “Can place on”, “Can destroy”, and lock information on an item. True ❌ ✅
spawnRadius The number of blocks away from the world spawn coordinate that a player will spawn at. 10 (JE)
5 (BE)
✅ ✅
spectatorsGenerateChunks Whether or not players in spectator mode can generate chunks when moving. True ✅ ❌
tntExplodes Whether or not TNT will explode. True ❌ ✅
universalAnger Controls if angered neutral mobs will attack any nearby player, rather than just the one who attacked it. False ✅ ❌


 

Conclusion:

With that, you now have access to all available gamerules that are currently available in Minecraft. Whether you’re disabling command block output for a map or simply removing features to make it more difficult, you will have full access to control these any time in-game or through the server console. Use this power responsibly and remember to have fun!