Class BedrockLightmapMath

java.lang.Object
com.viaversion.viafabricplus.bedrock.render.light.BedrockLightmapMath

public final class BedrockLightmapMath extends Object
Inputs to the classic Bedrock 1.26.51 light-image builder.
  • Method Details

    • levels

      public static BedrockLightmapParameters.Levels levels(boolean nether)
    • sky

      public static BedrockLightmapMath.Sky sky(boolean nether, long time, float rain, float thunder)
    • overworldAngle

      public static float overworldAngle(long time, float partialTick)
    • skyFactor

      public static float skyFactor(float angle, float rain, float thunder)
    • sunrise

      public static BedrockLightmapParameters.Color sunrise(float angle)
    • nightVision

      public static float nightVision(int duration)
    • darknessPulse

      public static float darknessPulse(long worldTick, float partialTick, float intensity)