When you have one command block on repeat setting the time to midnight and another command block on repeat setting the time to noon, something really weird happens. The game looks like it is at night, and the moon is constantly swirling around (switching rapidly between moon phases). It looks really funny, but I like it as an easter egg. Just wanted to notify the developers!
Linked issues
is duplicated by 1
Comments 5
It seems to be related to devices not keeping up with changing daytime fast enough and freezing at nighttime. The commands are still executed tho, which results in constantly forwarding time and changing moon phases.
Please let us know if you agree.
This ticket will automatically reopen when you reply.
This isn't related to devices not keeping up, it's a result of how Minecraft keeps track of time-of-day and the order in which the game updates various parts of the world in a game tick.
The reason the moon phases cycle rapidly is that /time set
always adds time to get to the requested time-of-day. So at midnight it adds half a day to get to noon, and at noon it adds half a day to get to midnight, and the days increment. That's to be expected if you assume time should never move backward. On the other hand, if you assume /time set
with a qualitative time-of-day (morning, noon, afternoon, evening, night, midnight) should always keep the world on the same day, then you would have to allow those commands to move time backward. Either assumption seems reasonable, but the developers had to choose one or the other, and they chose to make /time set
always move time forward. (This was previously reported at MCPE-43320, but that was resolved as a duplicate of MCPE-43394 though I'm not clear why.)
The reason the sky stays at nighttime is because in the reported setup the game is doing the following three things in the same order on each tick:
Advance time to the next noon
Advance time to the next midnight
Update the sky
If you change the setup you can get (2) and (1) to switch and the sky will always display noon instead of midnight. For example, if you set the two repeating command blocks next to each other and put a lever on each one, you will get a different result depending on which lever you turn on.
Thank you for your report!
However, this issue is Working as Intended.
The report you have submitted is working as intended: /time set command overload is what you use to advance the time to a desired value. Updating the time every tick would basically advance a full day every tick, which explains the moon cycle being experienced. If you want to lock the time to a specific value, there is a game rule to achieve this. It can be turned on in the world settings screen, or through the following command: /gamerule dodaylightcycle false.
Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.
Full Version History – Snapshot Version History – Feature Requests and Suggestions
Quick Links:
📓 Bug Tracker Guidelines – 📧 Mojang Support – 📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
I am able to confirm this in iOS. just make sure both command blocks are activated at the same time