query.time_of_day in custom blocks always returns 0
Steps to reproduce
- Create a world with Holiday Creator experimental features enabled, daylight cycle off, and test.mcpack
applied. The pack contains a test block with a ticking component that checks whether query.time_of_day returns 0.0, and triggers an event that runs a command to report "daytime=0". - /setblock ~~~ my_test:my_block
- Set the time of day to various times.
Expected results
The block reports "daytime=0" only at midnight.
Actual results
The block reports "daytime=0" regardless of the time of day.
2021-09-02, 11:51 PM
2023-06-14, 05:47 AM
3
1
612959
-