mojira.dev
MC-69108

Command `time query daytime` not resetting after day night cycle

When using the command `time query daytime` the returned value just keeps going up and never resets itself back to 0 even after tracking the day/night cycles for a game month. Only when a command 'time set day' is issued does it reset to 1000 and then starts rising again.

I tested this by setting up a command block clock which then triggers another command block with the time query command, and storing it to a scoreboard, and then checking the output of a scoreboard test. You can see about my setup from this question on the StackExchange: http://gaming.stackexchange.com/questions/181930/how-to-test-for-time-of-day-with-command-block-in-minecraft/181940#181940

I can provide a test world if necessary to show what I mean.

Attachments

Comments 7

Confirmed.
Modulo 24000 is missing.

Curious, why does the comment above say Confirmed, but the confirmation status still says Unconfirmed? Is the bug confirmed or not?

Error in OSI Layer 8 Read: My fault.

Just checked in the newest snapshot (15w34a) and it is still there. I've updated the version list above.

Added /time query day

Does this mean that dayTime is now stored in the data modulo 24000 with a day counter added, or does it just mean that /time query daytime returns dayTime%24000 while /time query day returns dayTime/24000?

@Ely, dayTime remains unchanged while /time query daytime/day is as you've written.

Jason Reed

michael

Confirmed

Minecraft 1.8-pre1, Minecraft 1.8.1-pre3, Minecraft 1.8.6, Minecraft 15w34a

Minecraft 15w34c, Minecraft 15w49b

Retrieved