Moon day-night cycle should match moon phases in Overworld

Sep 7, 2013
13
0
1
30
If you want to make it more in sync you will have to simulate all explored chunks, or at least the ones that you were last at.
I am sure you can understand why that would be difficult for some people, considering the fact that as your computer is simulating the last chunks you were in it is also rendering new chunks, as you move through the world, and updating the chunks you are currently exploring. And when you go to another planet, like mars, you will have to simulate the moon -and- the earth (not to mention any space stations you have) if you want them all to be in sync; and this will go on and on as you visit more planets until the last planet that you decide to visit.

So while it is a good idea, I question its' ability to be used in a standard home computer (not the beast I have, 50G ram anyone?) unless it is a feature you can customize; for example, being able to make it so it only simulates the -last- planet you were on, instead of all the planets you have visited.

Another approach, far less complicated (you wheat wont grow while you are gone), could be instead of simulating the chunks, to have a timer for each planet and when you enter the world have GC execute /time add <Timer_<WORLD>> so that it adds exactly how long you have been gone; this method, however, can also be a resource hog if there are like--- 20+ planets.

-
Just throwing stuff out there to make you guys think! :D
I like the idea :]
 

Ezer'Arch

Member
May 18, 2013
1,580
399
83
ezerarch.com
It doesn't need to be so resource consuming. I believe Minecraft already stores the worldsave lifetime in an integer variable which is editable by /time command.

What Galacticraft would need to do is to return the value of the said variable, divide it by day length of the planet that you entering, it will return an integer and a remainder. The integer tells the game the number of local days (not relevant, unless you intend to implement seasons or sync moons/satellites with the local planet); the remainder tells the game the angle of the sun in the sky dome (solar height). The coder still can add a time-offset to fix the gap between the sunrise of two planets if desires.
 

Share this page