Add moon phase API

This commit is contained in:
BillyGalbreath
2020-08-23 16:32:03 +02:00
parent 5df47beccf
commit cbfa49ddb6
2 changed files with 43 additions and 0 deletions

View File

@@ -445,4 +445,12 @@ public interface RegionAccessor {
*/
@NotNull
public <T extends Entity> T addEntity(@NotNull T entity);
// Paper start
/**
* @return the current moon phase at the current time in the world
*/
@NotNull
io.papermc.paper.world.MoonPhase getMoonPhase();
// Paper end
}