When I run a command to test for the predicate and the daytime value is between 12100 and 23300 (ex. 16969), the game doesn't register that. /execute if predicate light:night run say 1
But once I manually run a command /time set 16969, the game instantly registers the daytime and outputs the result.
I use a simple predicate in a datapack. It checks if the time is between 12100 and 23300 (which is around night time).
{
"condition": "minecraft:time_check",
"value": {
"min": 12100,
"max": 23300
}
}
When I run a command to test for the predicate and the daytime value is between 12100 and 23300 (ex. 16969), the game doesn't register that.
/execute if predicate light:night run say 1
But once I manually run a command
/time set 16969
, the game instantly registers the daytime and outputs the result.