Add moon phase API
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user