-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Suggestion] Solar And Or Lunar Eclipses #29
Comments
Actually I can make it darken the surface, that's not a problem (unless you mean darken in such a way that mobs spawn, that I cannot do). The larger problem is that there is no simple way to do it. I can't just put it on some timer, because in the very next version, anyone will be able to change every single part of the sky using resourcepacks, so if someone were to just decide the moon should move a bit faster, or orbit in a different direction, that timer would cause things to look weird. I have some ideas in mind, which involve checking if the projections of objects are overlapping by taking the size and projection position of any object, but it will first require me to prepare the grounds for such a system first. |
I actually diddnt know you can darken the surface. and yes i meant in a way for mobs to spawn, Thats why i mentioned a Datapack that could do that. I agree with making eclipses by overlapping by taking the size and projection position of any object. the 2 downsides is, The Moon is Smaller than the sun by a couple pixels*, So its going to be Annular anytime it reaches totality (added after post [ So the moon needs to be enlarged by a couple pixels to match the sun so eclipses can actually have a totality state]), AND The moon and sun need to be at angles in order to make Solar Eclipses Rare instead of of being common everytime when the moon reaches new moon state. |
The sun can be made smaller. Eclipses wouldn't be 'timed' exactly, it's just whenever the moon passes in front of the sun or through an earth-sized area of space behind the sun, eclipses happen |
The "just check for the moon entering either zone" is THE most complicated part of the whole thing. |
To simulate eclipses in a general manner, we need to know where the sun is in the sky, as well as any object that might cast a shadow over the observer, or that the observer would cast a shadow over. Spherical coords. We also want the apparent sizes of these objects. |
it would be cool if we had eclipses (it would give some more life to the sky in my eyes.
Only downside is it wont be able to darken the surface unless you make it a datapack that darkens the surface to act like its sunrise. (unless someone makes a shaderpack that directly is compatible with the resource pack that automatically make it darker client sided.)
Overall Id love to see this get added.
The text was updated successfully, but these errors were encountered: