Class MoonHandler

java.lang.Object
com.mrbysco.lunar.client.MoonHandler

public class MoonHandler extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    colorTheMoon(net.minecraft.client.multiplayer.ClientLevel level, com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.math.Matrix4f matrix4f, float f, net.minecraft.client.Camera camera)
     
    static void
     
    static com.mojang.math.Matrix4f
     
    static net.minecraft.resources.ResourceLocation
    getMoonTexture(net.minecraft.resources.ResourceLocation defaultTexture)
     
    static boolean
     
    static boolean
     
    static void
    setMoon(String eventID, int color, float scale)
     
    static void
    setMoonTexture(@Nullable net.minecraft.resources.ResourceLocation location)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MoonHandler

      public MoonHandler()
  • Method Details

    • colorTheMoon

      public static void colorTheMoon(net.minecraft.client.multiplayer.ClientLevel level, com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.math.Matrix4f matrix4f, float f, net.minecraft.client.Camera camera)
    • setMoon

      public static void setMoon(String eventID, int color, float scale)
    • setMoonTexture

      public static void setMoonTexture(@Nullable @Nullable net.minecraft.resources.ResourceLocation location)
    • disableMoon

      public static void disableMoon()
    • isEventActive

      public static boolean isEventActive()
    • isMoonScaled

      public static boolean isMoonScaled()
    • getMoonTexture

      public static net.minecraft.resources.ResourceLocation getMoonTexture(net.minecraft.resources.ResourceLocation defaultTexture)
    • getMoonScale

      public static com.mojang.math.Matrix4f getMoonScale()