Class LightmapTextureManager

java.lang.Object
net.minecraft.client.render.LightmapTextureManager
All Implemented Interfaces:
AutoCloseable

@Environment(CLIENT) public class LightmapTextureManager extends Object implements AutoCloseable
Mappings:
Namespace Name
official eng
intermediary net/minecraft/class_765
named net/minecraft/client/render/LightmapTextureManager
  • Field Details

    • field_32767

      public static final int field_32767
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Leng;a:I
      intermediary field_32767 Lnet/minecraft/class_765;field_32767:I
      named field_32767 Lnet/minecraft/client/render/LightmapTextureManager;field_32767:I
    • field_32768

      public static final int field_32768
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official b Leng;b:I
      intermediary field_32768 Lnet/minecraft/class_765;field_32768:I
      named field_32768 Lnet/minecraft/client/render/LightmapTextureManager;field_32768:I
    • field_32769

      public static final int field_32769
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official c Leng;c:I
      intermediary field_32769 Lnet/minecraft/class_765;field_32769:I
      named field_32769 Lnet/minecraft/client/render/LightmapTextureManager;field_32769:I
    • texture

      private final NativeImageBackedTexture texture
      Mappings:
      Namespace Name Mixin selector
      official d Leng;d:Lexb;
      intermediary field_4138 Lnet/minecraft/class_765;field_4138:Lnet/minecraft/class_1043;
      named texture Lnet/minecraft/client/render/LightmapTextureManager;texture:Lnet/minecraft/client/texture/NativeImageBackedTexture;
    • image

      private final NativeImage image
      Mappings:
      Namespace Name Mixin selector
      official e Leng;e:Ldpl;
      intermediary field_4133 Lnet/minecraft/class_765;field_4133:Lnet/minecraft/class_1011;
      named image Lnet/minecraft/client/render/LightmapTextureManager;image:Lnet/minecraft/client/texture/NativeImage;
    • textureIdentifier

      private final Identifier textureIdentifier
      Mappings:
      Namespace Name Mixin selector
      official f Leng;f:Lww;
      intermediary field_4136 Lnet/minecraft/class_765;field_4136:Lnet/minecraft/class_2960;
      named textureIdentifier Lnet/minecraft/client/render/LightmapTextureManager;textureIdentifier:Lnet/minecraft/util/Identifier;
    • dirty

      private boolean dirty
      Mappings:
      Namespace Name Mixin selector
      official g Leng;g:Z
      intermediary field_4135 Lnet/minecraft/class_765;field_4135:Z
      named dirty Lnet/minecraft/client/render/LightmapTextureManager;dirty:Z
    • field_21528

      private float field_21528
      Mappings:
      Namespace Name Mixin selector
      official h Leng;h:F
      intermediary field_21528 Lnet/minecraft/class_765;field_21528:F
      named field_21528 Lnet/minecraft/client/render/LightmapTextureManager;field_21528:F
    • renderer

      private final GameRenderer renderer
      Mappings:
      Namespace Name Mixin selector
      official i Leng;i:Lena;
      intermediary field_4134 Lnet/minecraft/class_765;field_4134:Lnet/minecraft/class_757;
      named renderer Lnet/minecraft/client/render/LightmapTextureManager;renderer:Lnet/minecraft/client/render/GameRenderer;
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official j Leng;j:Ldvo;
      intermediary field_4137 Lnet/minecraft/class_765;field_4137:Lnet/minecraft/class_310;
      named client Lnet/minecraft/client/render/LightmapTextureManager;client:Lnet/minecraft/client/MinecraftClient;
  • Constructor Details

    • LightmapTextureManager

      public LightmapTextureManager(GameRenderer renderer, MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leng;<init>(Lena;Ldvo;)V
      intermediary <init> Lnet/minecraft/class_765;<init>(Lnet/minecraft/class_757;Lnet/minecraft/class_310;)V
      named <init> Lnet/minecraft/client/render/LightmapTextureManager;<init>(Lnet/minecraft/client/render/GameRenderer;Lnet/minecraft/client/MinecraftClient;)V
  • Method Details

    • close

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

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official a Leng;a()V
      intermediary method_3314 Lnet/minecraft/class_765;method_3314()V
      named tick Lnet/minecraft/client/render/LightmapTextureManager;tick()V
    • disable

      public void disable()
      Mappings:
      Namespace Name Mixin selector
      official b Leng;b()V
      intermediary method_3315 Lnet/minecraft/class_765;method_3315()V
      named disable Lnet/minecraft/client/render/LightmapTextureManager;disable()V
    • enable

      public void enable()
      Mappings:
      Namespace Name Mixin selector
      official c Leng;c()V
      intermediary method_3316 Lnet/minecraft/class_765;method_3316()V
      named enable Lnet/minecraft/client/render/LightmapTextureManager;enable()V
    • update

      public void update(float delta)
      Mappings:
      Namespace Name Mixin selector
      official a Leng;a(F)V
      intermediary method_3313 Lnet/minecraft/class_765;method_3313(F)V
      named update Lnet/minecraft/client/render/LightmapTextureManager;update(F)V
    • method_23795

      private float method_23795(float float2)
      Mappings:
      Namespace Name Mixin selector
      official b Leng;b(F)F
      intermediary method_23795 Lnet/minecraft/class_765;method_23795(F)F
      named method_23795 Lnet/minecraft/client/render/LightmapTextureManager;method_23795(F)F
    • getBrightness

      private float getBrightness(World world, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Leng;a(Lbwp;I)F
      intermediary method_23284 Lnet/minecraft/class_765;method_23284(Lnet/minecraft/class_1937;I)F
      named getBrightness Lnet/minecraft/client/render/LightmapTextureManager;getBrightness(Lnet/minecraft/world/World;I)F
    • pack

      public static int pack(int block, int sky)
      Mappings:
      Namespace Name Mixin selector
      official a Leng;a(II)I
      intermediary method_23687 Lnet/minecraft/class_765;method_23687(II)I
      named pack Lnet/minecraft/client/render/LightmapTextureManager;pack(II)I
    • getBlockLightCoordinates

      public static int getBlockLightCoordinates(int light)
      Mappings:
      Namespace Name Mixin selector
      official a Leng;a(I)I
      intermediary method_24186 Lnet/minecraft/class_765;method_24186(I)I
      named getBlockLightCoordinates Lnet/minecraft/client/render/LightmapTextureManager;getBlockLightCoordinates(I)I
    • getSkyLightCoordinates

      public static int getSkyLightCoordinates(int light)
      Mappings:
      Namespace Name Mixin selector
      official b Leng;b(I)I
      intermediary method_24187 Lnet/minecraft/class_765;method_24187(I)I
      named getSkyLightCoordinates Lnet/minecraft/client/render/LightmapTextureManager;getSkyLightCoordinates(I)I