Interface LunarWorldView

All Superinterfaces:
BiomeAccess.Storage, BlockRenderView, BlockView, CollisionView, WorldView
All Known Subinterfaces:
ServerWorldAccess, StructureWorldAccess, WorldAccess
All Known Implementing Classes:
ChunkRegion, ClientWorld, ServerWorld, World

public interface LunarWorldView
extends WorldView
  • Method Details

    • getLunarTime

      long getLunarTime()
    • getMoonSize

      default float getMoonSize()
      Gets the current size of the moon in the world.
      Returns:
      the size of the moon on a scale of 0.0F to 1.0F
    • getSkyAngle

      default float getSkyAngle​(float tickDelta)
    • getMoonPhase

      @Environment(CLIENT) default int getMoonPhase()
      Gets the moon phase index of Minecraft's moon.

      This is typically used to determine the size of the moon that should be rendered.