Add moon phases
This commit is contained in:
parent
868fa04818
commit
32ae6b3140
4 changed files with 71 additions and 0 deletions
15
mods/ENVIRONMENT/mcl_moon/API.md
Normal file
15
mods/ENVIRONMENT/mcl_moon/API.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# `mcl_moon` API
|
||||
This API has one function:
|
||||
|
||||
## `mcl_moon.get_moon_phase()`
|
||||
|
||||
Returns current moon phase (0-7).
|
||||
|
||||
* 0 = Full Moon
|
||||
* 1 = Waning Gibbous
|
||||
* 2 = Last Quarter
|
||||
* 3 = Waning Crescent
|
||||
* 4 = New Moon
|
||||
* 5 = Waxing Crescent
|
||||
* 6 = First Quarter
|
||||
* 7 = Waxing Gibbous
|
Loading…
Add table
Add a link
Reference in a new issue