Package net.minecraft

Record Class class_11879.class_11880

java.lang.Object
java.lang.Record
net.minecraft.class_11879.class_11880
Record Components:
skin -
hat -
x -
y -
color -
shadowColor -
shadowOffset -
All Implemented Interfaces:
class_11878, TextDrawable
Enclosing class:
class_11879

@Environment(CLIENT) private static record class_11879.class_11880(Supplier<PlayerSkinCache.Entry> skin, boolean hat, float x, float y, int color, int shadowColor, float shadowOffset) extends Record implements class_11878
Mappings:
Namespace Name
named net/minecraft/class_11879$class_11880
intermediary net/minecraft/class_11879$class_11880
official ggq$a
named skin
intermediary comp_4754
official a
named hat
intermediary comp_4755
official b
named x
intermediary comp_4631
official c
named y
intermediary comp_4632
official d
named color
intermediary comp_4633
official e
named shadowColor
intermediary comp_4634
official f
named shadowOffset
intermediary comp_4635
official g
  • Field Details

    • skin

      private final Supplier<PlayerSkinCache.Entry> skin
      The field for the skin record component.
    • hat

      private final boolean hat
      The field for the hat record component.
    • x

      private final float x
      The field for the x record component.
    • y

      private final float y
      The field for the y record component.
    • color

      private final int color
      The field for the color record component.
    • shadowColor

      private final int shadowColor
      The field for the shadowColor record component.
    • shadowOffset

      private final float shadowOffset
      The field for the shadowOffset record component.
  • Constructor Details

    • class_11880

      class_11880(Supplier<PlayerSkinCache.Entry> supplier, boolean bool, float float2, float float3, int int2, int int3, float float4)
  • Method Details

    • draw

      public void draw(Matrix4f matrix4f, VertexConsumer vertexConsumer, int int2, float float2, float float3, float float4, int int3)
      Specified by:
      draw in interface class_11878
      Mappings:
      Namespace Name Mixin selector
      named draw Lnet/minecraft/class_11878;draw(Lorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;IFFFI)V
      intermediary method_73402 Lnet/minecraft/class_11878;method_73402(Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;IFFFI)V
      official a Lggp;a(Lorg/joml/Matrix4f;Lfst;IFFFI)V
    • method_74042

      private static void method_74042(Matrix4f matrix4f, VertexConsumer vertexConsumer, int int2, float float2, float float3, float float4, float float5, float float6, int int3, float float7, float float8, int int4, int int5, int int6, int int7)
      Mappings:
      Namespace Name Mixin selector
      named method_74042 Lnet/minecraft/class_11879$class_11880;method_74042(Lorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;IFFFFFIFFIIII)V
      intermediary method_74042 Lnet/minecraft/class_11879$class_11880;method_74042(Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;IFFFFFIFFIIII)V
      official a Lggq$a;a(Lorg/joml/Matrix4f;Lfst;IFFFFFIFFIIII)V
    • getRenderLayer

      public RenderLayer getRenderLayer(TextRenderer.TextLayerType type)
      Specified by:
      getRenderLayer in interface TextDrawable
      Mappings:
      Namespace Name Mixin selector
      named getRenderLayer Lnet/minecraft/client/font/TextDrawable;getRenderLayer(Lnet/minecraft/client/font/TextRenderer$TextLayerType;)Lnet/minecraft/client/render/RenderLayer;
      intermediary method_73401 Lnet/minecraft/class_11767;method_73401(Lnet/minecraft/class_327$class_6415;)Lnet/minecraft/class_1921;
      official a Lggt;a(Lgbm$a;)Lhek;
    • getPipeline

      public RenderPipeline getPipeline()
      Specified by:
      getPipeline in interface TextDrawable
      Mappings:
      Namespace Name Mixin selector
      named getPipeline Lnet/minecraft/client/font/TextDrawable;getPipeline()Lcom/mojang/blaze3d/pipeline/RenderPipeline;
      intermediary method_73400 Lnet/minecraft/class_11767;method_73400()Lcom/mojang/blaze3d/pipeline/RenderPipeline;
      official a Lggt;a()Lcom/mojang/blaze3d/pipeline/RenderPipeline;
    • textureView

      public GpuTextureView textureView()
      Specified by:
      textureView in interface TextDrawable
      Mappings:
      Namespace Name Mixin selector
      named textureView Lnet/minecraft/client/font/TextDrawable;textureView()Lcom/mojang/blaze3d/textures/GpuTextureView;
      intermediary comp_4629 Lnet/minecraft/class_11767;comp_4629()Lcom/mojang/blaze3d/textures/GpuTextureView;
      official b Lggt;b()Lcom/mojang/blaze3d/textures/GpuTextureView;
    • getEffectiveMinX

      public float getEffectiveMinX()
      Specified by:
      getEffectiveMinX in interface TextDrawable
      Mappings:
      Namespace Name Mixin selector
      named getEffectiveMinX Lnet/minecraft/client/font/TextDrawable;getEffectiveMinX()F
      intermediary method_71829 Lnet/minecraft/class_11767;method_71829()F
      official c Lggt;c()F
    • getEffectiveMaxX

      public float getEffectiveMaxX()
      Specified by:
      getEffectiveMaxX in interface TextDrawable
      Mappings:
      Namespace Name Mixin selector
      named getEffectiveMaxX Lnet/minecraft/client/font/TextDrawable;getEffectiveMaxX()F
      intermediary method_71831 Lnet/minecraft/class_11767;method_71831()F
      official d Lggt;d()F
    • getEffectiveMinY

      public float getEffectiveMinY()
      Specified by:
      getEffectiveMinY in interface TextDrawable
      Mappings:
      Namespace Name Mixin selector
      named getEffectiveMinY Lnet/minecraft/client/font/TextDrawable;getEffectiveMinY()F
      intermediary method_71830 Lnet/minecraft/class_11767;method_71830()F
      official e Lggt;e()F
    • getEffectiveMaxY

      public float getEffectiveMaxY()
      Specified by:
      getEffectiveMaxY in interface TextDrawable
      Mappings:
      Namespace Name Mixin selector
      named getEffectiveMaxY Lnet/minecraft/client/font/TextDrawable;getEffectiveMaxY()F
      intermediary method_71832 Lnet/minecraft/class_11767;method_71832()F
      official f Lggt;f()F
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • skin

      Returns the value of the skin record component.
      Returns:
      the value of the skin record component
    • hat

      public boolean hat()
      Returns the value of the hat record component.
      Returns:
      the value of the hat record component
    • x

      public float x()
      Returns the value of the x record component.
      Specified by:
      x in interface class_11878
      Returns:
      the value of the x record component
    • y

      public float y()
      Returns the value of the y record component.
      Specified by:
      y in interface class_11878
      Returns:
      the value of the y record component
    • color

      public int color()
      Returns the value of the color record component.
      Specified by:
      color in interface class_11878
      Returns:
      the value of the color record component
    • shadowColor

      public int shadowColor()
      Returns the value of the shadowColor record component.
      Specified by:
      shadowColor in interface class_11878
      Returns:
      the value of the shadowColor record component
    • shadowOffset

      public float shadowOffset()
      Returns the value of the shadowOffset record component.
      Specified by:
      shadowOffset in interface class_11878
      Returns:
      the value of the shadowOffset record component