Minecraft Blogs / Tutorial

[Tutorial] How to make your world ALWAYS SUNNY

  • 15,689 views, 7 today
  • 5
  • 4
  • 5
flashteens avatar flashteens
Level 62 : High Grandmaster Technomancer

UPDATE: This way was designed only for 1.10.x or below, though it still works in 1.11!

The following tutorial context is only necessary for 1.10.x version of Minecraft or below. Since 1.11 snapshot 16w38a, though this design may still work, there's actually a brand-new and much simpler way to have the same purpose:
  • Type the command once in your map: /gamerule doWeatherCycle false to solve the problem as described below.


Why do you need this mechanism?

If you are designing a survival/adventure map for Minecraft, you may know that building the map is a really time-consuming task, so you might not wish anything that disturb your hard work unexpectedly. By switching into creative and peaceful mode, it is very easy for you to prevent from being attacked by any hostile mobs. However, it is not that easy for you to keep the weather sunny forever, while a lightning blot in the thunderstorm weather might ruin your wooden house (or in other flammable matrrials) immediately and unexpectedly! Therefore, it is important for you to have a machine that prevents from such a scenario.

Here's a really compact design for this mechanism!

For those who desire to design a survival/adventure map for Vanilla Minecraft, here is another one-image tutorial for the simplest and the most compact mechanism for you to keep your world always sunny! As the same way in my previous tutorial for designing a simple trash can, you can also make this one if you only see this image:

[Tutorial] How to make your world ALWAYS SUNNY

How it works

  • The command /weather clear 1000000 sets the weather of the whole world for 1 million seconds (instead of 1 million ticks), that is, more than one week in the real world! (not in the Minecraft time)
    • Can the argument 1000000 get even larger? Unfortunately, 1000000 is the maximum limitation, that is, it's impossible for you to ensure the weather to be sunny forever without any commands triggered afterwards.
    • But, don't worry, here's the very solution! In fact, this mechanism is designed for all of you that are to build your world for months or years!

  • This design assumes that the day/night cycle is enabled and cheats are allowed in your world. The daylight sensor is triggered whenever the moment of sunrise occurs. Since there are 24,000 ticks ( = 1,200 seconds = 20 minutes) in one day in Minecraft,
    • By the use of daylight sensor, you may even decrease the time argument in the /weather command to a number that slightly more than 1,200.


(1) Place once, work anywhere.

You may only place one at any corner of your world, as long as the sunlight is reachable. Well... you might be thinking of a problem, does it still work in single player mode if the player is too far from the machine? In fact, surely it does! To verify the fact that it really works, you may teleport yourself to a few kilometers from the location you put the machine, and make sure that /gamerule commandBlockOutput true is set on. Then, you may still see the command block message in the next sunrise!

(2) Compactness

This design requires two blocks only, so you can simply put this machine inside a small room of your wooden house! (better put it next to a window, so the sunshine can get into the room)

(3) Friendly for low-grade CPUs

Some possible alternatives that repeatedly run the /weather clear command could use a redstone pulse or a repeated command block (available since Minecraft 1.9), whereas these designs run the command too frequently, which might cause some lags if your CPU is not fast enough.

(4) Supports earlier Minecraft versions

This design is applicable for Vanilla Minecraft 1.5 - 1.10+ versions, as the daylight sensor was added in the Minecraft 1.5 update.

The use in my Minecraft world "Republic of FlashTeens"

The machine is put in the second level of FlashTeens First House (which had been an abandoned bedroom since the new FlashTeens House was built), as the following image shows:
[Tutorial] How to make your world ALWAYS SUNNY

By my testing, this machine still works even if I am at the Sandyland Town area, which is at least 4 kilometers away!

If you like this design, don't forget to give a diamond and subscribe me! And, why not trying this simplest machine in your work? :D


1 Update Logs

Update #1: Since 1.11 is coming, it might be the last update for this blog... : by flashteens 10/07/2016 9:22:19 amOct 7th, 2016

This tutorial is likely to be outdated in the future. Since 1.11 snapshot 16w38a, though this design may still work, there's actually a brand-new and much simpler way to have the same purpose:
  • Type the command once in your map: /gamerule doWeatherCycle false to solve the problem as described in the tutorial context.

Create an account or sign in to comment.

06/15/2016 5:03 am
Level 41 : Master System
idaidaida avatar
Sorry for nullifying your tutorial, but a better way to do this that's actually even more CPU friendly is to use the following command: /gamerule doDaylightCycle false

Then you can use the /time command to set the time to whatever time you like and it'll stay at that time. This won't activate any redstone when it becomes night like your design, and you can set the time to whatever you want it to stay at, including morning/sunset/midnight times.
06/15/2016 9:08 am
Level 62 : High Grandmaster Technomancer
flashteens avatar
Thanks for your reply. Well, actually all what the command "/gamerule doDaylightCycle false" does is only to stop the daylight cycle, but my purpose here is different. Here my goal is to control the weather instead of changing the time to day or night.

In fact, your suggestion by using "/gamerule doDaylightCycle false" can indeed ensure the world to avoid from night time forever, but it cannot prevent from rainy weathers. For technical details, see on the format of level.dat, where the properties rainTime, thunderTime, and clearWeatherTime tends to keep counting down regardless of turning off the doDaylightCycle option.

In my opinion, I'm afraid of thunderstorm weathers instead of night. To see everything clear at night time, I can also add the night vision effect to myself for 1,000,000 seconds, as an alternative to your suggestion. However, in thunderstorm weather, lightning bolts are spawn, which may break down some of your wooden buildings regardless of turning off the game rule mobGriefing. That's why I proposed this compact redstone mechanism to prevent it from happening.
06/13/2016 1:14 am
Level 35 : Artisan Architect
ProjectDSM avatar
Amazing how simple commands change so much, in my 801 Grand build I have a row of command blocks set to always active and repeat that have commands that kill all wildlife and bats in the world so I can build peacefully.
06/13/2016 7:45 am
Level 62 : High Grandmaster Technomancer
flashteens avatar
Actually there's another way so that you won't see the hostile mobs and bats. :)
Just type the command in your world for once:
/gametule doMobSpawning false
05/15/2016 6:06 am
Level 5 : Apprentice Explorer
R3ktInPiece avatar
Oh, I didn't know about this. Good tip for singleplayer survival c:
Planet Minecraft


© 2010 - 2022