#Always Night datapack.

1 messages · Page 1 of 1 (latest)

proven bolt
#

I wanted help with making a datapack that makes it so that it is always night in my world. I know I can use the advance_time false command, but I want the entire night to cycle, and not remain static. I tried doing this, doesn't work. Version 26.1

covert spindle
#

you need a period as well

#

the gametime always counts up and never resets

#

if you set a period of 24000 it acts like a modulo calculation and makes it so the predicate always gets a number in the range of 0-24000

proven bolt
#

How do I do it?

#

@covert spindle

covert spindle
proven bolt
#

thanks mate

#

clock?

covert spindle
#

I can only recommend using misode for any json files. That way you can easily see what's available and can better experiment.

covert spindle
proven bolt
#

26.1

covert spindle
#

world clocks are a thing added since 26.1. They are basically data-driven game timer.

#

the day-night cylce uses the minecraft:overworld clock

proven bolt
#

thanks!