Discussion in 'Plugin Development' started by MG127, Dec 19, 2011.
is there a way to read out what moon phase is?
It's client side I believe, so I doubt there is a way.
i thought that everyone on the server has the same phase
They do, but the images and clock for it are internally controlled in the client, and make sure to reply and not just comment.
but if they do, there has to be some kind of controller on server side
For example, all sounds are client side, they simply send packets for them, weather, can also be client-side only, you'd be surprised at what is actually handled on the client-side.
My guess would be that it's based on world.getFullTime().
it seems to be like this
phase==0 -> full moon
phase==4 -> new moon
Realize this was from a while back, but this is indeed how moon phases are calculated. Adding/subtracting 24000 to fulltime will change the phase by 1.
Separate names with a comma.