Interface LunarWorldView

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

public interface LunarWorldView extends WorldView
Mappings:
Namespace Name
named net/minecraft/world/LunarWorldView
intermediary net/minecraft/class_5424
official dcg
  • Method Details

    • getLunarTime

      long getLunarTime()
      Mappings:
      Namespace Name Mixin selector
      named getLunarTime Lnet/minecraft/world/LunarWorldView;getLunarTime()J
      intermediary method_30271 Lnet/minecraft/class_5424;method_30271()J
      official ak Ldcg;ak()J
    • 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
      Mappings:
      Namespace Name Mixin selector
      named getMoonSize Lnet/minecraft/world/LunarWorldView;getMoonSize()F
      intermediary method_30272 Lnet/minecraft/class_5424;method_30272()F
      official aq Ldcg;aq()F
    • getSkyAngle

      default float getSkyAngle(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      named getSkyAngle Lnet/minecraft/world/LunarWorldView;getSkyAngle(F)F
      intermediary method_30274 Lnet/minecraft/class_5424;method_30274(F)F
      official f Ldcg;f(F)F
    • getMoonPhase

      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.

      Mappings:
      Namespace Name Mixin selector
      named getMoonPhase Lnet/minecraft/world/LunarWorldView;getMoonPhase()I
      intermediary method_30273 Lnet/minecraft/class_5424;method_30273()I
      official ar Ldcg;ar()I