Minecraft Wiki
Advertisement

Untitled[]

Can we please get an explanation for the parameters on /time query? Specifically, what do the values returned mean for day, daytime, and gametime?

I recently queried all three, and received values of 53, 2102, and 4307368, respectively. My guess (which was wrong, apparently) is that the 53 is the number of days since I started the game, 2102 is the time of the current day, and 4307368 is the number of game ticks since inception. But, if that last value is divided by 24000, it returns about 179, which isn't 53. So I'm very confused.

Can someone please explain these values? Once I understand, maybe I'll write it up on this page.

Thank you! SirDaddicus (talk) 15:32, 13 July 2021 (UTC)

You must have used the /time set command to change time. /time set command is used to set in-game daytime.
As already mentioned on the page,
gametime is the number of game ticks since inception modulo 2147483647
daytime = the in-game daytime modulo 24000
day = the in-game daytime divided by 24000, then modulo 2147483647
So you maybe have used /time set more than 53 days(in-game time) ago to set the in-game daytime to a new small value.--Chixvv (talk) 16:31, 13 July 2021 (UTC)
I knew about the modulo piece, but I didn't think it applied. That number is something around 90000 days, which can't possibly be the case for this game (I just started it a few weeks ago, real-time).
I've also never set the time to a value, so I don't think that's it. I'm not sure if I ever set the time in this game at all, but if I did, it would have been to "day" or "night". Still confused. SirDaddicus (talk) 18:58, 13 July 2021 (UTC)
As already mentioned on the page again,
day = 1,000, night = 13,000
once executing /time set day, the in-game daytime is set to 1000, so the "day" value returns to 0.--Chixvv (talk) 01:50, 14 July 2021 (UTC)
Sorry, I missed a point: I'm on Java edition, not Bedrock. The Bedrock sections are laid out pretty well, but the Java side is what is lacking. SirDaddicus (talk) 15:39, 14 July 2021 (UTC)
? these sections are applicable to Java edition.--Chixvv (talk) 16:05, 14 July 2021 (UTC)
Well, THAT could be clearer. SirDaddicus (talk) 16:29, 14 July 2021 (UTC)

Command to change in-game day count[]

I was googling to try to find a way to set a Minecraft world's day count to a specific number, and I eventually found the answer on this Reddit post. I thought it would be good to add that information to this page so it could be archived and found more easily. Goldenguy.880 (talk) 23:20, 14 February 2022 (UTC)

Advertisement