Class OverlayTexture

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

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

    • DEFAULT_UV

      public static final int DEFAULT_UV
      Mappings:
      Namespace Name Mixin selector
      official a Lero;a:I
      intermediary field_21444 Lnet/minecraft/class_4608;field_21444:I
      named DEFAULT_UV Lnet/minecraft/client/render/OverlayTexture;DEFAULT_UV:I
    • texture

      private final NativeImageBackedTexture texture
      Mappings:
      Namespace Name Mixin selector
      official b Lero;b:Lerk;
      intermediary field_21013 Lnet/minecraft/class_4608;field_21013:Lnet/minecraft/class_1043;
      named texture Lnet/minecraft/client/render/OverlayTexture;texture:Lnet/minecraft/client/texture/NativeImageBackedTexture;
  • Constructor Details

    • OverlayTexture

      public OverlayTexture()
  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Mappings:
      Namespace Name Mixin selector
      official close Lero;close()V
      intermediary close Lnet/minecraft/class_4608;close()V
      named close Lnet/minecraft/client/render/OverlayTexture;close()V
    • setupOverlayColor

      public void setupOverlayColor()
      Mappings:
      Namespace Name Mixin selector
      official a Lero;a()V
      intermediary method_23209 Lnet/minecraft/class_4608;method_23209()V
      named setupOverlayColor Lnet/minecraft/client/render/OverlayTexture;setupOverlayColor()V
    • getU

      public static int getU​(float whiteOverlayProgress)
      Mappings:
      Namespace Name Mixin selector
      official a Lero;a(F)I
      intermediary method_23210 Lnet/minecraft/class_4608;method_23210(F)I
      named getU Lnet/minecraft/client/render/OverlayTexture;getU(F)I
    • getV

      public static int getV​(boolean hurt)
      Mappings:
      Namespace Name Mixin selector
      official a Lero;a(Z)I
      intermediary method_23212 Lnet/minecraft/class_4608;method_23212(Z)I
      named getV Lnet/minecraft/client/render/OverlayTexture;getV(Z)I
    • packUv

      public static int packUv​(int u, int v)
      Mappings:
      Namespace Name Mixin selector
      official a Lero;a(II)I
      intermediary method_23625 Lnet/minecraft/class_4608;method_23625(II)I
      named packUv Lnet/minecraft/client/render/OverlayTexture;packUv(II)I
    • getUv

      public static int getUv​(float float2, boolean hurt)
      Mappings:
      Namespace Name Mixin selector
      official a Lero;a(FZ)I
      intermediary method_23624 Lnet/minecraft/class_4608;method_23624(FZ)I
      named getUv Lnet/minecraft/client/render/OverlayTexture;getUv(FZ)I
    • teardownOverlayColor

      public void teardownOverlayColor()
      Mappings:
      Namespace Name Mixin selector
      official b Lero;b()V
      intermediary method_23213 Lnet/minecraft/class_4608;method_23213()V
      named teardownOverlayColor Lnet/minecraft/client/render/OverlayTexture;teardownOverlayColor()V