Time stuck at midday after update to 1.21.11?
Hi, I hope the title is pretty self-explanatory.
On my server, day time advances when I do `/time query daytime`, but the sun itself doesn't move through the sky. I tried checking if `/gamerule advance_time` is true, and it is. Also, command blocks are turned off, so it can't be some kind of command block setting time to midday. I also tried enabling / disabling all data packs individually, none seem to change this behavior. I also tried deleting my level.dat.
Strangely, I noticed I have both gamerules with and without a minecraft: prefix (e.g. I can do both `/gamerule advance_time` and `/gamerule minecraft:advance_time`, perhaps this is related to the problem? both are set to true).
I've noticed in singleplayer & on two other 1.21.11 servers, time advances normally.
My map is very old (from 2011) so perhaps the issue stems from this? Server is running a vanilla 1.21.11 jar on Ubuntu 25.10.
Any help would be much appreciated. Thanks!
On my server, day time advances when I do `/time query daytime`, but the sun itself doesn't move through the sky. I tried checking if `/gamerule advance_time` is true, and it is. Also, command blocks are turned off, so it can't be some kind of command block setting time to midday. I also tried enabling / disabling all data packs individually, none seem to change this behavior. I also tried deleting my level.dat.
Strangely, I noticed I have both gamerules with and without a minecraft: prefix (e.g. I can do both `/gamerule advance_time` and `/gamerule minecraft:advance_time`, perhaps this is related to the problem? both are set to true).
I've noticed in singleplayer & on two other 1.21.11 servers, time advances normally.
My map is very old (from 2011) so perhaps the issue stems from this? Server is running a vanilla 1.21.11 jar on Ubuntu 25.10.
Any help would be much appreciated. Thanks!
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
/gamerule doDaylightCycle true
So that’s probably unrelated, and just something new you discovered while troubleshooting.
the issue appears to go away when i run the server on a new map. same data packs & all. So in some way or another, it's derivative of my map from 2011 - wasnt sure if it was some duplicated settings overriding each other with the new update.
Have you tried doing \`/time set day\` or \`/time set noon\` to see if that kicks it back into gear? Sometimes the time just gets stuck in a weird state and needs a manual reset
Yes, when I ran the server jar in safe mode via CLI it fixed itself. I believe it has something to do with an outdated data pack I was running that adds custom dimensions using a modified version of the "overworld" preset
In my case, I had a datapack that I used to increase the build limit of my world. The only way to do this is via overriding the `overworld` dimension with a custom dimension. 1.21.11 reworked how custom dimensions are specified.
Solution: See [**Dimension type**](https://minecraft.wiki/w/Dimension_type) on the Minecraft wiki and add any missing fields, e.g. `"has_fixed_time":true`. I can recommend being as explicit as possible. If using a third-party datapack, try updating it.
`--safeMode` disables all datapacks, which in turn disables the custom dimension and reverts to the default one. Note that this will also truncate any structure that went beyond the default build limit, meaning you will have to rebuild/restore those.