Minecraft / Blogs

/gamerule | World Settings | Tutorial/Guide

  • 9
  • 5
  • comment
  • playlist_add
  • share
  • more_horiz
avatar CaraRose
Level 38 : Artisan Princess
92


How to customize your MC World using /gamerule command

[Java Edition]


World customization is pretty useful knowledge especially for builders and creators.
To customize your world using gamerule means - set every feature to fit your technique requirements of the world.
It's really easy to learn and use after all.

Patter of /gamerule command looks like this:
/gamerule <rule name> [value]<rule name> - the name of the rule I am going to list down below.
[value] - true (set to allow the rule) or false (set do deny the rule)


All Rules For /gamerule command



Useful Rules for Builders


[1] doDaylightCycle

You can stop the moving of sun/moon which means to stop the day/night cycle.
It can help you to stay in the exact time you choose./gamerule doDaylightCycle falseDefault value:
/gamerule doDaylightCycle true
[2] doWeatherCycle

You can stop the weather cycle which means you stop the condition of your weather at the exact moment.
Rain or clean weather will stay forever without changing.
/gamerule doWeatherCycle falseDefault value:/gamerule doWeatherCycle true
[3] randomTickSpeed

This rule helps to control the speed of nature around or to turn it all off.
You can set it high:
/gamerule randomTickSpeed 10000And it will affect as:
  • Dirt becomes grass faster
  • All plants grow faster
  • Trees grow faster
  • Leaves decay faster
Whole Detailed List from Wiki

Also you can set it to 0
/gamerule randomTickSpeed 0Which means all of the above stops and it can be useful especially for leaves. 0 value prevents them from decaying even if there is no wood around.
You have the ability to set whatever number you want from 0 to ~10000 and more.

Default value:
/gamerule randomTickSpeed 3

[4] doFireTick

Simply it is fire spread and blocks' damaging. False value allows you to prevent your builds from burning and the fire you created for example inside the fireplace won't spread anywhere and gonna stay there forever until you extinguish the fire.
/gamerule doFireTick falseDefault value:
/gamerule doFireTick true
[5] doMobSpawning

Maybe you don't need mobs to hang out around your builds so you can use this rule to prevent their spawn.
But the important fact is that this rule won't kill every mob around already spawned. It's just won't let them spawn anymore.
Also doesn't affect monster spawners.
/gamerule doMobSpawning falseDefault value:
/gamerule doMobSpawning true

[6] mobGriefing

Any mob can't damage your build with the false value. No creeper's holes or enderman's stealing, etc.
/gamerule mobGriefing falseDefault value:
/gamerule mobGriefing true

Useful Rules for Players or Survival-Map makers


[7] keepInventory

This rule can save every item in your inventory after your death, so you won't lose important stuff.
/gamerule keepInventory trueDefault value:
/gamerule keepInventory false

[8] disableRaids

You can disable raids if you don't like it that much.
/gamerule disableRaids trueDefault value:
/gamerule disableRaids false
[9] doTileDrops

If false value - blocks drop you nothing after breaking it.
/gamerule doTileDrops falseDefault value:
/gamerule doTileDrops true
[10] doMobLoot

If false value - mobs drop you nothing after killing them.
/gamerule doMobLoot falseDefault value:
/gamerule doMobLoot true

[11] doEntityDrops

False value makes every non living entity (Item Frames, Paintings, etc) not drop things
/gamerule doEntityDrops falseDefault value:
/gamerule doEntityDrops true

[12] doLimitedCrafting

No ability to craft things until you unlock their recipes. Some kind of challenge I think.
/gamerule doLimitedCrafting falseDefault value:
/gamerule doLimitedCrafting true

[13] naturalRegeneration

If false value - no ability to regenerate your health naturally by filling food-bar.
It doesn't affect external healing, such as golden apples, the Regeneration effect, etc.
/gamerule naturalRegeneration falseDefault value:
/gamerule naturalRegeneration true

[14] disableElytraMovementCheck

Whether the server should skip checking player speed when the player is wearing elytra. Often helps with jittering due to lag in multiplayer, but may also be used to travel unfairly long distances in survival mode (cheating). [wiki]
/gamerule disableElytraMovementCheck trueDefault value:
/gamerule disableElytraMovementCheck false

[15] reducedDebugInfo

True value won't let you use F3+B (entity hitboxes) and F3+G (chunk boundaries)
/gamerule reducedDebugInfo trueDefault value:
/gamerule reducedDebugInfo false

[16] spawnRadius

First join or death (if no personal spawnpoint) make players spawn or respawn.
You can increase world's spawnpoint radius to make players spawn randomly far from the main point. For example 5000 blocks.
/gamerule spawnRadius 5000Default value is 10 blocks:
/gamerule spawnRadius 10

[17] maxEntityCramming

One block can handle only 24 entities. You can make it more or to less.
For example it can be useful for farms you build.
/gamerule maxEntityCramming 5000Default value:
/gamerule maxEntityCramming 24WEIRD FACT: You can kill mobs by walking next to them if value is 1.
Means the game can't allow you to be next to mob because the rule is 1 entity for 1 block only.
Mobs can kill each other too. And sometimes you can get damage instead of them if in survival gamemode!

Can you use it to create something cool ha?
/gamerule maxEntityCramming 1

[18] spectatorsGenerateChunks

False value doesn't let players in spectator gamemode generate new chunks.
/gamerule spectatorsGenerateChunks falseDefault value:
/gamerule spectatorsGenerateChunks true

[19] maxCommandChainLength

This rule determines the number at which the chain command block acts as a "chain". [Wiki]
Default value:/gamerule maxCommandChainLength 65536

Rules to Inform Players [Chat Notifications]


[20] announceAdvancements

You can use this rule to stop advancements showing in chat.
/gamerule announceAdvancements falseDefault value:
/gamerule announceAdvancements true

[21] showDeathMessages

False value turns off death messages in chat.
/gamerule showDeathMessages falseDefault value:
/gamerule showDeathMessages true

[22] commandBlockOutput

False value stops notifications in chat about command blocks when they perform commands
/gamerule commandBlockOutput falseDefault value:
/gamerule commandBlockOutput true

[23] sendCommandFeedback

For example you type: /time set day
And get the feedback in chat: Set the time to 1000
False value stops notifications in chat about making any commands.
/gamerule sendCommandFeedback falseDefault value:
/gamerule sendCommandFeedback true
[24] logAdminCommands

False value stops command blocks from being recorded in the server log.
/gamerule logAdminCommands falseDefault value:
/gamerule logAdminCommands true

My personal World Settings I use


/gamerule doDaylightCycle false

/gamerule doWeatherCycle false

/gamerule randomTickSpeed 0

/gamerule doMobSpawning false

/gamerule doFireTick false

I think it's pretty much everything I wanted to share with you!


☕ Thank you for being here ☕
Made with love.
😊 Enjoy 😊


If you found a mistake or you want me to add something please tell me about it

Tags

0 replies

Planet Minecraft

Browse

Site

© 2010 - 2019
www.planetminecraft.com

Welcome