{"id":22921,"date":"2026-07-07T18:35:23","date_gmt":"2026-07-07T18:35:23","guid":{"rendered":"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/"},"modified":"2026-07-07T18:35:23","modified_gmt":"2026-07-07T18:35:23","slug":"minecraft-gamerules-list","status":"publish","type":"post","link":"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/","title":{"rendered":"All Minecraft Gamerules and How to Use Them (26.2)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Game rules are per-world switches that control core Minecraft mechanics \u2014 whether you keep your items on death, whether the sun moves, how fast crops grow, and dozens of other behaviors. This reference covers every game rule available in <strong>Minecraft: Java Edition 26.2<\/strong>, with each rule&#8217;s type, default value, and effect. Rules are stored in the world&#8217;s <code>level.dat<\/code> file and apply across all dimensions. You can browse and copy them interactively with our free <a href=\"https:\/\/xgamingserver.com\/tools\/minecraft\/gamerule-browser\">Minecraft Gamerule Browser<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Important premise correction:<\/strong> many older guides still use camelCase names like <code>keepInventory<\/code>. That is outdated. In snapshot <strong>25w44a<\/strong> (on the path to 1.21.11, shortly before Mojang moved to year-based versioning) every game rule was moved into a registry and renamed to snake_case resource locations \u2014 so <code>keepInventory<\/code> is now <code>keep_inventory<\/code>, <code>doDaylightCycle<\/code> is now <code>advance_time<\/code>, and so on. The canonical form is a resource location such as <code>minecraft:keep_inventory<\/code>, where the <code>minecraft:<\/code> prefix is optional. Old camelCase names are deprecated and may still resolve for backward compatibility in 26.2, but you should not rely on them. To set or read a rule, open the chat window with <strong>T<\/strong> (or <strong>\/<\/strong>, which pre-fills the slash) in single-player with cheats on, or type into your server console. The syntax is <code>\/gamerule <rule_name> [<value>]<\/code>; omit the value to <em>query<\/em> the current setting instead of changing it. This requires permission\/op level 2 in Java (level 1 with cheats in Bedrock).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Full Minecraft 26.2 Gamerule List<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Gamerule (26.2)<\/th><th>Type<\/th><th>Default<\/th><th>Old name (pre-25w44a)<\/th><th>Effect<\/th><\/tr><\/thead><tbody>\n<tr><td>keep_inventory<\/td><td>Boolean<\/td><td>false<\/td><td>keepInventory<\/td><td>Players keep items and XP after death.<\/td><\/tr>\n<tr><td>pvp<\/td><td>Boolean<\/td><td>true<\/td><td>pvp<\/td><td>Players can damage each other.<\/td><\/tr>\n<tr><td>drowning_damage<\/td><td>Boolean<\/td><td>true<\/td><td>drowningDamage<\/td><td>Players take drowning damage.<\/td><\/tr>\n<tr><td>fall_damage<\/td><td>Boolean<\/td><td>true<\/td><td>fallDamage<\/td><td>Players take fall damage.<\/td><\/tr>\n<tr><td>fire_damage<\/td><td>Boolean<\/td><td>true<\/td><td>fireDamage<\/td><td>Damage from fire, lava, campfires, magma.<\/td><\/tr>\n<tr><td>freeze_damage<\/td><td>Boolean<\/td><td>true<\/td><td>freezeDamage<\/td><td>Freezing damage from powder snow.<\/td><\/tr>\n<tr><td>natural_health_regeneration<\/td><td>Boolean<\/td><td>true<\/td><td>naturalRegeneration<\/td><td>Health regenerates when hunger is full.<\/td><\/tr>\n<tr><td>immediate_respawn<\/td><td>Boolean<\/td><td>false<\/td><td>doImmediateRespawn<\/td><td>Respawn instantly, skip the death screen.<\/td><\/tr>\n<tr><td>limited_crafting<\/td><td>Boolean<\/td><td>false<\/td><td>doLimitedCrafting<\/td><td>Only unlocked recipes can be crafted.<\/td><\/tr>\n<tr><td>respawn_radius<\/td><td>Integer<\/td><td>10<\/td><td>spawnRadius<\/td><td>Block radius around world spawn for respawns.<\/td><\/tr>\n<tr><td>players_sleeping_percentage<\/td><td>Integer<\/td><td>100<\/td><td>playersSleepingPercentage<\/td><td>% of players who must sleep to skip night.<\/td><\/tr>\n<tr><td>locator_bar<\/td><td>Boolean (Java)<\/td><td>true<\/td><td>locatorBar<\/td><td>Show the player locator bar. String-typed in Bedrock.<\/td><\/tr>\n<tr><td>spectators_generate_chunks<\/td><td>Boolean<\/td><td>true<\/td><td>spectatorsGenerateChunks<\/td><td>Java-only. Spectators generate new chunks.<\/td><\/tr>\n<tr><td>ender_pearls_vanish_on_death<\/td><td>Boolean<\/td><td>true<\/td><td>enderPearlsVanishOnDeath<\/td><td>Java-only. Thrown pearls removed when thrower dies.<\/td><\/tr>\n<tr><td>elytra_movement_check<\/td><td>Boolean<\/td><td>true<\/td><td>disableElytraMovementCheck (inverted)<\/td><td>Java-only. Anti-cheat speed check during elytra flight.<\/td><\/tr>\n<tr><td>player_movement_check<\/td><td>Boolean<\/td><td>true<\/td><td>disablePlayerMovementCheck (inverted)<\/td><td>Java-only. Player movement anti-cheat check.<\/td><\/tr>\n<tr><td>players_nether_portal_default_delay<\/td><td>Integer<\/td><td>80<\/td><td>playersNetherPortalDefaultDelay<\/td><td>Java-only. Ticks in a portal before survival teleport.<\/td><\/tr>\n<tr><td>players_nether_portal_creative_delay<\/td><td>Integer<\/td><td>0<\/td><td>playersNetherPortalCreativeDelay<\/td><td>Java-only. Ticks in a portal before creative teleport.<\/td><\/tr>\n<tr><td>allow_entering_nether_using_portals<\/td><td>Boolean<\/td><td>true<\/td><td>\u2014<\/td><td>Java-only. Whether portals take players to the Nether.<\/td><\/tr>\n<tr><td>fire_spread_radius_around_player<\/td><td>Integer<\/td><td>128<\/td><td>\u2014<\/td><td>Java-only. Radius fire spreads around players; -1 = unlimited.<\/td><\/tr>\n<tr><td>mob_griefing<\/td><td>Boolean<\/td><td>true<\/td><td>mobGriefing<\/td><td>Mobs can change blocks and use items.<\/td><\/tr>\n<tr><td>forgive_dead_players<\/td><td>Boolean<\/td><td>true<\/td><td>forgiveDeadPlayers<\/td><td>Java-only. Angered mobs calm when the player dies.<\/td><\/tr>\n<tr><td>universal_anger<\/td><td>Boolean<\/td><td>false<\/td><td>universalAnger<\/td><td>Java-only. Angered mobs attack any nearby player.<\/td><\/tr>\n<tr><td>max_entity_cramming<\/td><td>Integer<\/td><td>24<\/td><td>maxEntityCramming<\/td><td>Java-only. Entities pushing one entity before cramming damage; 0 disables.<\/td><\/tr>\n<tr><td>raids<\/td><td>Boolean<\/td><td>true<\/td><td>disableRaids (inverted)<\/td><td>Java-only. Whether raids can occur.<\/td><\/tr>\n<tr><td>spawn_mobs<\/td><td>Boolean<\/td><td>true<\/td><td>doMobSpawning<\/td><td>Mobs spawn naturally.<\/td><\/tr>\n<tr><td>spawn_monsters<\/td><td>Boolean<\/td><td>true<\/td><td>\u2014<\/td><td>Java-only. Hostile monsters spawn naturally.<\/td><\/tr>\n<tr><td>spawn_phantoms<\/td><td>Boolean<\/td><td>true<\/td><td>doInsomnia<\/td><td>Phantoms spawn for sleepless players at night.<\/td><\/tr>\n<tr><td>spawn_patrols<\/td><td>Boolean<\/td><td>true<\/td><td>doPatrolSpawning<\/td><td>Java-only. Pillager patrols spawn.<\/td><\/tr>\n<tr><td>spawn_wandering_traders<\/td><td>Boolean<\/td><td>true<\/td><td>doTraderSpawning<\/td><td>Java-only. Wandering traders spawn.<\/td><\/tr>\n<tr><td>spawn_wardens<\/td><td>Boolean<\/td><td>true<\/td><td>doWardenSpawning<\/td><td>Java-only. Wardens spawn from sculk shriekers.<\/td><\/tr>\n<tr><td>spawner_blocks_work<\/td><td>Boolean<\/td><td>true<\/td><td>spawnerBlocksEnabled<\/td><td>Java-only. Monster spawner blocks function.<\/td><\/tr>\n<tr><td>block_drops<\/td><td>Boolean<\/td><td>true<\/td><td>doTileDrops<\/td><td>Broken blocks drop items.<\/td><\/tr>\n<tr><td>mob_drops<\/td><td>Boolean<\/td><td>true<\/td><td>doMobLoot<\/td><td>Mobs drop items and XP orbs.<\/td><\/tr>\n<tr><td>entity_drops<\/td><td>Boolean<\/td><td>true<\/td><td>doEntityDrops<\/td><td>Non-mob entities drop items when destroyed.<\/td><\/tr>\n<tr><td>block_explosion_drop_decay<\/td><td>Boolean<\/td><td>true<\/td><td>blockExplosionDropDecay<\/td><td>Java-only. Some blocks lost near a block-explosion center.<\/td><\/tr>\n<tr><td>mob_explosion_drop_decay<\/td><td>Boolean<\/td><td>true<\/td><td>mobExplosionDropDecay<\/td><td>Java-only. Some blocks lost near a mob-explosion center.<\/td><\/tr>\n<tr><td>tnt_explosion_drop_decay<\/td><td>Boolean<\/td><td>false<\/td><td>tntExplosionDropDecay<\/td><td>Some blocks lost near a TNT-explosion center.<\/td><\/tr>\n<tr><td>projectiles_can_break_blocks<\/td><td>Boolean<\/td><td>true<\/td><td>projectilesCanBreakBlocks<\/td><td>Projectiles can destroy breakable blocks (pots, targets).<\/td><\/tr>\n<tr><td>tnt_explodes<\/td><td>Boolean<\/td><td>true<\/td><td>\u2014<\/td><td>Primed TNT actually explodes.<\/td><\/tr>\n<tr><td>advance_time<\/td><td>Boolean<\/td><td>true<\/td><td>doDaylightCycle<\/td><td>Daylight cycle and moon phases progress.<\/td><\/tr>\n<tr><td>advance_weather<\/td><td>Boolean<\/td><td>true<\/td><td>doWeatherCycle<\/td><td>Weather changes naturally.<\/td><\/tr>\n<tr><td>random_tick_speed<\/td><td>Integer<\/td><td>3<\/td><td>randomTickSpeed<\/td><td>Random ticks per section: crop growth, decay, fire, ice; 0 stops.<\/td><\/tr>\n<tr><td>spread_vines<\/td><td>Boolean<\/td><td>true<\/td><td>doVinesSpread<\/td><td>Java-only. Vines spread to nearby blocks.<\/td><\/tr>\n<tr><td>water_source_conversion<\/td><td>Boolean<\/td><td>true<\/td><td>waterSourceConversion<\/td><td>Java-only. Water forms new source blocks.<\/td><\/tr>\n<tr><td>lava_source_conversion<\/td><td>Boolean<\/td><td>false<\/td><td>lavaSourceConversion<\/td><td>Java-only. Lava forms new source blocks.<\/td><\/tr>\n<tr><td>max_snow_accumulation_height<\/td><td>Integer<\/td><td>1<\/td><td>snowAccumulationHeight<\/td><td>Java-only. Max snow layers (1-8) during snowfall.<\/td><\/tr>\n<tr><td>command_block_output<\/td><td>Boolean<\/td><td>true<\/td><td>commandBlockOutput<\/td><td>Command blocks notify admins when they run.<\/td><\/tr>\n<tr><td>send_command_feedback<\/td><td>Boolean<\/td><td>true<\/td><td>sendCommandFeedback<\/td><td>Player command results show in chat.<\/td><\/tr>\n<tr><td>show_death_messages<\/td><td>Boolean<\/td><td>true<\/td><td>showDeathMessages<\/td><td>Death messages appear in chat.<\/td><\/tr>\n<tr><td>show_advancement_messages<\/td><td>Boolean<\/td><td>true<\/td><td>announceAdvancements<\/td><td>Java-only. Advancements announced in chat.<\/td><\/tr>\n<tr><td>log_admin_commands<\/td><td>Boolean<\/td><td>true<\/td><td>logAdminCommands<\/td><td>Java-only. Op command usage logged and broadcast to ops.<\/td><\/tr>\n<tr><td>command_blocks_work<\/td><td>Boolean<\/td><td>true<\/td><td>commandBlocksEnabled<\/td><td>Command blocks execute in-game.<\/td><\/tr>\n<tr><td>reduced_debug_info<\/td><td>Boolean<\/td><td>false<\/td><td>reducedDebugInfo<\/td><td>Java-only. F3 debug screen hides coordinates etc.<\/td><\/tr>\n<tr><td>global_sound_events<\/td><td>Boolean<\/td><td>true<\/td><td>\u2014<\/td><td>Java-only. Global sounds (wither, dragon death) heard everywhere.<\/td><\/tr>\n<tr><td>max_block_modifications<\/td><td>Integer<\/td><td>32768<\/td><td>commandModificationBlockLimit<\/td><td>Java-only. Block limit per \/clone, \/fill, \/setblock op.<\/td><\/tr>\n<tr><td>max_command_sequence_length<\/td><td>Integer<\/td><td>65536<\/td><td>maxCommandChainLength<\/td><td>Max commands in one chain\/tick (chains, functions).<\/td><\/tr>\n<tr><td>max_command_forks<\/td><td>Integer<\/td><td>65536<\/td><td>maxCommandForkCount<\/td><td>Java-only. Max execute-branch contexts per command.<\/td><\/tr>\n<tr><td>max_minecart_speed<\/td><td>Integer<\/td><td>8<\/td><td>minecartMaxSpeed<\/td><td>Java-only, experimental. Max minecart speed (blocks\/sec).<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Player and Combat Rules<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The most-changed rule is <code>keep_inventory<\/code>. Setting <code>\/gamerule keep_inventory true<\/code> means you no longer lose items or XP on death \u2014 the go-to change for hardcore builders and multiplayer friends. See our dedicated <a href=\"https:\/\/xgamingserver.com\/blog\/keep-inventory-command-minecraft\/\">Keep Inventory guide<\/a> for the full walkthrough. To make a peaceful or creative-style world, disable the damage rules: <code>\/gamerule fall_damage false<\/code>, <code>\/gamerule fire_damage false<\/code>, <code>\/gamerule drowning_damage false<\/code>, and <code>\/gamerule freeze_damage false<\/code>. Turn off natural healing for a survival challenge with <code>\/gamerule natural_health_regeneration false<\/code>, or skip the death screen entirely using <code>\/gamerule immediate_respawn true<\/code>. On multiplayer, <code>\/gamerule pvp false<\/code> stops players hurting each other.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Mobs, Spawning, and Drops<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><code>\/gamerule mob_griefing false<\/code> stops creepers, endermen, and ghasts from altering blocks \u2014 useful for protecting builds. Tired of phantoms? Run <code>\/gamerule spawn_phantoms false<\/code>. To freeze all natural spawning (spawners and commands still work), use <code>\/gamerule spawn_mobs false<\/code>. Java adds fine-grained spawn toggles like <code>spawn_patrols<\/code>, <code>spawn_wandering_traders<\/code>, and <code>spawn_wardens<\/code>. For crowd control in mob farms, <code>\/gamerule max_entity_cramming 0<\/code> disables cramming damage. Note the inverted rules: <code>raids<\/code> replaces the old <code>disableRaids<\/code>, so <code>\/gamerule raids false<\/code> now disables raids \u2014 the literal value is the opposite of the old rule. On the drops side, <code>\/gamerule mob_drops false<\/code> stops loot and XP from mobs, while <code>\/gamerule block_drops false<\/code> stops blocks dropping items.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">World, Time, and Growth Rules<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Freeze the sun in place with <code>\/gamerule advance_time false<\/code>, and stop rain and thunder with <code>\/gamerule advance_weather false<\/code>. The single most powerful world rule is <code>random_tick_speed<\/code>: it governs crop growth, leaf decay, fire spread, and ice\/snow. The default is 3; <code>\/gamerule random_tick_speed 100<\/code> makes farms grow almost instantly, while <code>0<\/code> stops random ticks entirely. For sleep mechanics on a busy server, <code>\/gamerule players_sleeping_percentage 50<\/code> lets half the players skip the night instead of everyone. Command-block and datapack builders lean on the integer limits \u2014 for example <code>\/gamerule max_command_sequence_length 100000<\/code> and <code>\/gamerule max_block_modifications 65536<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Run These<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>In chat:<\/strong> Press <strong>T<\/strong> (or <strong>\/<\/strong>) to open chat with cheats enabled, then type the command, e.g. <code>\/gamerule keep_inventory true<\/code>. Leaving off the value \u2014 <code>\/gamerule mob_griefing<\/code> \u2014 prints the current value instead of changing it. Names tab-complete as you type.<\/li>\n<li><strong>In a command block:<\/strong> Place a command block (requires <code>command_blocks_work<\/code> to be true), then enter the same command without needing to be op. Handy for map mechanics and toggles.<\/li>\n<li><strong>Server console:<\/strong> On a dedicated server, type the command without the leading slash directly into the console. This runs at full permission level. If you host with us, you can enter it in the panel console on your <a href=\"https:\/\/xgamingserver.com\/minecraft-server-hosting\">Minecraft server hosting<\/a> dashboard.<\/li>\n<li><strong>Creation menu:<\/strong> In 26.2 you can also set rules in the world&#8217;s &#8220;Edit Game Rules&#8221; screen, organized into Player, Mobs, Spawning, Drops, World updates, Chat, and Miscellaneous categories.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Java vs Bedrock<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Java Edition uses snake_case registry IDs (optionally prefixed <code>minecraft:<\/code>), while <strong>Bedrock Edition uses all-lowercase names with no separators<\/strong> \u2014 for example <code>keepinventory<\/code>, <code>mobgriefing<\/code>, <code>dodaylightcycle<\/code>, and <code>commandblockoutput<\/code>. Many rules in the table above are Java-exclusive, including <code>show_advancement_messages<\/code>, <code>log_admin_commands<\/code>, <code>global_sound_events<\/code>, <code>max_block_modifications<\/code>, <code>reduced_debug_info<\/code>, <code>forgive_dead_players<\/code>, <code>universal_anger<\/code>, <code>raids<\/code>, the spawn toggles (<code>spawn_monsters<\/code>, <code>spawn_patrols<\/code>, <code>spawn_wandering_traders<\/code>, <code>spawn_wardens<\/code>), the movement checks, and the source-conversion rules. Bedrock has its own exclusives that Java lacks, such as <code>dofiretick<\/code>, <code>functioncommandlimit<\/code>, <code>recipesunlock<\/code>, <code>respawnblocksexplode<\/code>, <code>showcoordinates<\/code>, and <code>showdaysplayed<\/code>. One rule, <code>locator_bar<\/code>, exists in both editions but is a boolean in Java and a string type in Bedrock.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently Asked Questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Why doesn&#8217;t <code>keepInventory<\/code> work anymore?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In snapshot 25w44a every rule was renamed to snake_case, so the current name is <code>keep_inventory<\/code>. The old camelCase names are deprecated and may still resolve for backward compatibility, but you should use <code>\/gamerule keep_inventory true<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I check a rule&#8217;s current value?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Run the command with no value. For example <code>\/gamerule mob_griefing<\/code> prints the current setting rather than changing it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Do game rules apply to every dimension?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. Game rules are stored per-world in <code>level.dat<\/code> and apply to the Overworld, Nether, and End together \u2014 there is no per-dimension override.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What permission level do I need?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In Java Edition <code>\/gamerule<\/code> requires op\/permission level 2. In Bedrock you need op level 1 with cheats enabled. Command blocks can run it regardless of your own op status.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why did <code>raids<\/code> behave the opposite of what I expected?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Three rules changed meaning, not just name, in 25w44a: <code>disableRaids<\/code> became <code>raids<\/code>, <code>disableElytraMovementCheck<\/code> became <code>elytra_movement_check<\/code>, and <code>disablePlayerMovementCheck<\/code> became <code>player_movement_check<\/code>. Setting the new rule to the same literal value as the old one produces the opposite behavior, so <code>\/gamerule raids false<\/code> disables raids.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Where can I explore rules and related commands?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use the interactive <a href=\"https:\/\/xgamingserver.com\/tools\/minecraft\/gamerule-browser\">Minecraft Gamerule Browser<\/a> to filter and copy rules, or read our companion guides: the <a href=\"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/\">gamerules list<\/a>, the full <a href=\"https:\/\/xgamingserver.com\/blog\/minecraft-commands-list\/\">Minecraft commands list<\/a>, <a href=\"https:\/\/xgamingserver.com\/blog\/minecraft-target-selectors\/\">target selectors<\/a>, <a href=\"https:\/\/xgamingserver.com\/blog\/minecraft-teleport-commands\/\">teleport commands<\/a>, the <a href=\"https:\/\/xgamingserver.com\/blog\/minecraft-give-command\/\">give command<\/a>, <a href=\"https:\/\/xgamingserver.com\/blog\/minecraft-summon-command\/\">summon command<\/a>, <a href=\"https:\/\/xgamingserver.com\/blog\/minecraft-item-ids\/\">item IDs<\/a>, and the <a href=\"https:\/\/xgamingserver.com\/blog\/all-minecraft-enchantments-list\/\">enchantments hub<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Game rules are per-world switches that control core Minecraft mechanics \u2014 whether you keep your items on death, whether the sun moves, how fast crops grow, and dozens of other behaviors. This reference covers every game rule available in Minecraft: Java Edition 26.2, with each rule&#8217;s type, default value, and effect. Rules are stored in [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":22922,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_gspb_post_css":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[19],"tags":[],"class_list":["post-22921","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-minecraft-server-docs"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.5 (Yoast SEO v26.7) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>All Minecraft Gamerules List (26.2)<\/title>\n<meta name=\"description\" content=\"Every Minecraft Java 26.2 gamerule with its type, default, new snake_case name and old camelCase equivalent, plus how to run \/gamerule.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"All Minecraft Gamerules and How to Use Them (26.2)\" \/>\n<meta property=\"og:description\" content=\"Every Minecraft Java 26.2 gamerule with its type, default, new snake_case name and old camelCase equivalent, plus how to run \/gamerule.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/\" \/>\n<meta property=\"og:site_name\" content=\"XGamingServer\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/web.facebook.com\/xgamingserver69\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-07T18:35:23+00:00\" \/>\n<meta name=\"author\" content=\"Hectar Carson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@xgamingserver\" \/>\n<meta name=\"twitter:site\" content=\"@xgamingserver\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hectar Carson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/\"},\"author\":{\"name\":\"Hectar Carson\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/561042c617869348e75abfe16a269f8d\"},\"headline\":\"All Minecraft Gamerules and How to Use Them (26.2)\",\"datePublished\":\"2026-07-07T18:35:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/\"},\"wordCount\":1598,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2026\/07\/minecraft-gamerules-list-scaled.png\",\"articleSection\":[\"Minecraft\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/\",\"url\":\"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/\",\"name\":\"All Minecraft Gamerules List (26.2)\",\"isPartOf\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2026\/07\/minecraft-gamerules-list-scaled.png\",\"datePublished\":\"2026-07-07T18:35:23+00:00\",\"description\":\"Every Minecraft Java 26.2 gamerule with its type, default, new snake_case name and old camelCase equivalent, plus how to run \/gamerule.\",\"breadcrumb\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/#primaryimage\",\"url\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2026\/07\/minecraft-gamerules-list-scaled.png\",\"contentUrl\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2026\/07\/minecraft-gamerules-list-scaled.png\",\"width\":2560,\"height\":1440},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/xgamingserver.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Minecraft\",\"item\":\"https:\/\/xgamingserver.com\/blog\/category\/minecraft-server-docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"All Minecraft Gamerules and How to Use Them (26.2)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#website\",\"url\":\"https:\/\/xgamingserver.com\/blog\/\",\"name\":\"XGamingServer\",\"description\":\"Dedicated Game Server Hosting\",\"publisher\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/xgamingserver.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#organization\",\"name\":\"XGamingServer\",\"url\":\"https:\/\/xgamingserver.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg\",\"contentUrl\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg\",\"width\":\"1024\",\"height\":\"1024\",\"caption\":\"XGamingServer\"},\"image\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/web.facebook.com\/xgamingserver69\/\",\"https:\/\/x.com\/xgamingserver\",\"https:\/\/www.instagram.com\/xgamingserver\/\",\"https:\/\/www.linkedin.com\/company\/xgamingserver\/\",\"https:\/\/www.pinterest.com\/xgamingserver\/\",\"https:\/\/www.youtube.com\/channel\/UCHnOtWxpzaL2r3jM9Jm40EQ\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/561042c617869348e75abfe16a269f8d\",\"name\":\"Hectar Carson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1cbcd42dac6c5f21cb52dd64f03fd442250a15f7bb1ade04e23002eb5b384de5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1cbcd42dac6c5f21cb52dd64f03fd442250a15f7bb1ade04e23002eb5b384de5?s=96&d=mm&r=g\",\"caption\":\"Hectar Carson\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"All Minecraft Gamerules List (26.2)","description":"Every Minecraft Java 26.2 gamerule with its type, default, new snake_case name and old camelCase equivalent, plus how to run \/gamerule.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/","og_locale":"en_US","og_type":"article","og_title":"All Minecraft Gamerules and How to Use Them (26.2)","og_description":"Every Minecraft Java 26.2 gamerule with its type, default, new snake_case name and old camelCase equivalent, plus how to run \/gamerule.","og_url":"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/","og_site_name":"XGamingServer","article_publisher":"https:\/\/web.facebook.com\/xgamingserver69\/","article_published_time":"2026-07-07T18:35:23+00:00","author":"Hectar Carson","twitter_card":"summary_large_image","twitter_creator":"@xgamingserver","twitter_site":"@xgamingserver","twitter_misc":{"Written by":"Hectar Carson","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/#article","isPartOf":{"@id":"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/"},"author":{"name":"Hectar Carson","@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/561042c617869348e75abfe16a269f8d"},"headline":"All Minecraft Gamerules and How to Use Them (26.2)","datePublished":"2026-07-07T18:35:23+00:00","mainEntityOfPage":{"@id":"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/"},"wordCount":1598,"commentCount":0,"publisher":{"@id":"https:\/\/xgamingserver.com\/blog\/#organization"},"image":{"@id":"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/#primaryimage"},"thumbnailUrl":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2026\/07\/minecraft-gamerules-list-scaled.png","articleSection":["Minecraft"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/","url":"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/","name":"All Minecraft Gamerules List (26.2)","isPartOf":{"@id":"https:\/\/xgamingserver.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/#primaryimage"},"image":{"@id":"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/#primaryimage"},"thumbnailUrl":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2026\/07\/minecraft-gamerules-list-scaled.png","datePublished":"2026-07-07T18:35:23+00:00","description":"Every Minecraft Java 26.2 gamerule with its type, default, new snake_case name and old camelCase equivalent, plus how to run \/gamerule.","breadcrumb":{"@id":"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/#primaryimage","url":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2026\/07\/minecraft-gamerules-list-scaled.png","contentUrl":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2026\/07\/minecraft-gamerules-list-scaled.png","width":2560,"height":1440},{"@type":"BreadcrumbList","@id":"https:\/\/xgamingserver.com\/blog\/minecraft-gamerules-list\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/xgamingserver.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Minecraft","item":"https:\/\/xgamingserver.com\/blog\/category\/minecraft-server-docs\/"},{"@type":"ListItem","position":3,"name":"All Minecraft Gamerules and How to Use Them (26.2)"}]},{"@type":"WebSite","@id":"https:\/\/xgamingserver.com\/blog\/#website","url":"https:\/\/xgamingserver.com\/blog\/","name":"XGamingServer","description":"Dedicated Game Server Hosting","publisher":{"@id":"https:\/\/xgamingserver.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/xgamingserver.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/xgamingserver.com\/blog\/#organization","name":"XGamingServer","url":"https:\/\/xgamingserver.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg","contentUrl":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg","width":"1024","height":"1024","caption":"XGamingServer"},"image":{"@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/web.facebook.com\/xgamingserver69\/","https:\/\/x.com\/xgamingserver","https:\/\/www.instagram.com\/xgamingserver\/","https:\/\/www.linkedin.com\/company\/xgamingserver\/","https:\/\/www.pinterest.com\/xgamingserver\/","https:\/\/www.youtube.com\/channel\/UCHnOtWxpzaL2r3jM9Jm40EQ"]},{"@type":"Person","@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/561042c617869348e75abfe16a269f8d","name":"Hectar Carson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1cbcd42dac6c5f21cb52dd64f03fd442250a15f7bb1ade04e23002eb5b384de5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1cbcd42dac6c5f21cb52dd64f03fd442250a15f7bb1ade04e23002eb5b384de5?s=96&d=mm&r=g","caption":"Hectar Carson"}}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2026\/07\/minecraft-gamerules-list-scaled.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/posts\/22921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/comments?post=22921"}],"version-history":[{"count":0,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/posts\/22921\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/media\/22922"}],"wp:attachment":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/media?parent=22921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/categories?post=22921"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/tags?post=22921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}