Get Moon Phase Procedure

Upvotes: 12
Issue description

This is my first issue ticket.
Well, I request to implement a one simple trigger/procedure "get current moon phase". This can return a number values.
This would be useful to make a various events, actions and properties based on moon phases(especially full moon and new moon)

Of course extra option for mob creation based on moon phases will welcome too.

Issue comments

We will add this in the future updates. The method that achieves this in code is:

World#getCurrentMoonPhaseFactor()

 

Thank.
I think that this can be used to various things, ex. mobs, that spawn, items, that work and other events whose can occurs only during specific moon phase.

You are welcome! I am glad I could help :) If you like what we do, consider donating to us to help us keep this project up ;)

You can click on the PayPal button and pay using credit card via PayPal.

I am working on getting a credit card processor to accept me, but they generally don't like to deal with low money traffic situations like mine :/



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.