Class LightTexture

java.lang.Object
net.minecraft.client.renderer.LightTexture
All Implemented Interfaces:
AutoCloseable

public class LightTexture extends Object implements AutoCloseable
  • Field Details

    • lightTexture

      private final DynamicTexture lightTexture
    • lightPixels

      private final NativeImage lightPixels
    • lightTextureLocation

      private final ResourceLocation lightTextureLocation
    • updateLightTexture

      private boolean updateLightTexture
    • blockLightRedFlicker

      private float blockLightRedFlicker
    • renderer

      private final GameRenderer renderer
    • minecraft

      private final Minecraft minecraft
  • Constructor Details

  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • tick

      public void tick()
    • turnOffLightLayer

      public void turnOffLightLayer()
    • turnOnLightLayer

      public void turnOnLightLayer()
    • updateLightTexture

      public void updateLightTexture(float p_205106_1_)
    • notGamma

      private float notGamma(float p_228453_1_)
    • getBrightness

      private float getBrightness(World p_228452_1_, int p_228452_2_)
    • pack

      public static int pack(int p_228451_0_, int p_228451_1_)
    • block

      public static int block(int p_228450_0_)
    • sky

      public static int sky(int p_228454_0_)