Class LightTexture

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class LightTexture
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Field Detail

      • updateLightTexture

        private boolean updateLightTexture
      • blockLightRedFlicker

        private float blockLightRedFlicker
      • minecraft

        private final Minecraft minecraft
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.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_)