User Tools

Site Tools


tutorial:dimension

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tutorial:dimension [2020/02/21 16:22]
earthcomputer Fix + clarification to getSkyAngle
tutorial:dimension [2020/02/21 16:24] (current)
earthcomputer Further clarify getSkyAngle
Line 64: Line 64:
     @Override     @Override
     public float getSkyAngle(long worldTime, float tickDelta) {     public float getSkyAngle(long worldTime, float tickDelta) {
 +        // Returns a sky angle ranging between 0 and 1.
         // This is a very simple implementation that approximates the overworld sky angle, but is easier to understand.         // This is a very simple implementation that approximates the overworld sky angle, but is easier to understand.
         // In the overworld, the sky does not quite move at a constant rate, see the OverworldDimension code for details.         // In the overworld, the sky does not quite move at a constant rate, see the OverworldDimension code for details.
tutorial/dimension.txt ยท Last modified: 2020/02/21 16:24 by earthcomputer