MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / getMoonPhase

Method getMoonPhase

src/main/java/net/minecraft/world/World.java:1493–1496  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1491 }
1492
1493 public int getMoonPhase()
1494 {
1495 return this.provider.getMoonPhase(this.worldInfo.getWorldTime());
1496 }
1497
1498 /**
1499 * gets the current fullness of the moon expressed as a float between 1.0 and 0.0, in steps of .25

Callers 4

matchesMethod · 0.95
beginRenderMethod · 0.45
renderSkyMethod · 0.45

Calls 1

getWorldTimeMethod · 0.45

Tested by

no test coverage detected