Package com.mrbysco.lunar.client
Class MoonHandler
java.lang.Object
com.mrbysco.lunar.client.MoonHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcolorTheMoon(net.minecraft.client.multiplayer.ClientLevel level, com.mojang.blaze3d.vertex.PoseStack poseStack, org.joml.Matrix4f matrix4f, float f, net.minecraft.client.Camera camera) static voidstatic org.joml.Matrix4fstatic net.minecraft.resources.ResourceLocationgetMoonTexture(net.minecraft.resources.ResourceLocation defaultTexture) static booleanstatic booleanstatic voidstatic voidsetMoonTexture(@Nullable net.minecraft.resources.ResourceLocation location)
-
Constructor Details
-
MoonHandler
public MoonHandler()
-
-
Method Details
-
colorTheMoon
public static void colorTheMoon(net.minecraft.client.multiplayer.ClientLevel level, com.mojang.blaze3d.vertex.PoseStack poseStack, org.joml.Matrix4f matrix4f, float f, net.minecraft.client.Camera camera) -
setMoon
-
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 org.joml.Matrix4f getMoonScale()
-