Page 1 of 1

Make the sky night?

Posted: Wed Aug 05, 2015 8:27 am
by barronvonburp
How to make the sky night at all times?

Re: Make the sky night?

Posted: Wed Aug 05, 2015 8:59 am
by AndakRainor
You could use GameMode.setTimeOfDay(time) and call it frequently enough (in a timer component for example) to avoid the sunrise :)

Re: Make the sky night?

Posted: Wed Aug 05, 2015 9:05 am
by barronvonburp
I tried the command, and I can't seem to change the time to night with it, no matter which value I input.

Re: Make the sky night?

Posted: Wed Aug 05, 2015 9:13 am
by AndakRainor
The value goes from 0 to 2. 0 to 1 is day time and 1 to 2 is night iirc.