The Bug:
Time check predicates treat very high clock times as negative numbers.
Steps to Reproduce:
Set the time to 2,147,483,647 and move it forward by 100 ticks by using the commands provided below.
/time set 2147483647/time add 100Check if the time is at least 0 by using the command provided below.
/execute if predicate {type:"minecraft:time_check",clock:"minecraft:overworld",value:{min:0}}Observe if the test passes.
Observed Behavior:
Time check predicates treat very high clock times as negative numbers.
Expected Behavior:
Time check predicates would treat very high clock times as positive numbers.
Attachments
Comments 2
[media]