Get Moon Phase Procedure

Upvotes: 5
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

Developer Submitted by Klemen on Wed, 08/14/2019 - 16:16

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.