Record Class BakedGlyphImpl.Rectangle

java.lang.Object
java.lang.Record
net.minecraft.client.font.BakedGlyphImpl.Rectangle
Record Components:
glyph -
minX -
minY -
maxX -
maxY -
zIndex -
color -
shadowColor -
shadowOffset -
All Implemented Interfaces:
TextDrawable
Enclosing class:
BakedGlyphImpl

@Environment(CLIENT) private static record BakedGlyphImpl.Rectangle(BakedGlyphImpl glyph, float minX, float minY, float maxX, float maxY, float zIndex, int color, int shadowColor, float shadowOffset) extends Record implements TextDrawable
Mappings:
Namespace Name
named net/minecraft/client/font/BakedGlyphImpl$Rectangle
intermediary net/minecraft/class_382$class_328
official gij$a
named glyph
intermediary comp_4636
official a
named minX
intermediary comp_3307
official b
named minY
intermediary comp_3308
official c
named maxX
intermediary comp_3309
official d
named maxY
intermediary comp_3310
official e
named zIndex
intermediary comp_3311
official f
named color
intermediary comp_3312
official g
named shadowColor
intermediary comp_3336
official h
named shadowOffset
intermediary comp_3337
official i
  • Field Details

    • glyph

      private final BakedGlyphImpl glyph
      The field for the glyph record component.
    • minX

      private final float minX
      The field for the minX record component.
    • minY

      private final float minY
      The field for the minY record component.
    • maxX

      private final float maxX
      The field for the maxX record component.
    • maxY

      private final float maxY
      The field for the maxY record component.
    • zIndex

      private final float zIndex
      The field for the zIndex 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

    • Rectangle

      Rectangle(BakedGlyphImpl bakedGlyphImpl, float float2, float float3, float float4, float float5, float float6, int int2, int int3, float float7)
  • Method Details

    • 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 Lgih;c()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 Lgih;e()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 Lgih;d()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 Lgih;f()F
    • hasShadow

      boolean hasShadow()
      Mappings:
      Namespace Name Mixin selector
      named hasShadow Lnet/minecraft/client/font/BakedGlyphImpl$Rectangle;hasShadow()Z
      intermediary method_65183 Lnet/minecraft/class_382$class_328;method_65183()Z
      official p Lgij$a;p()Z
    • render

      public void render(Matrix4f matrix4f, VertexConsumer consumer, int light, boolean noDepth)
      Specified by:
      render in interface TextDrawable
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/font/TextDrawable;render(Lorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;IZ)V
      intermediary method_73403 Lnet/minecraft/class_11767;method_73403(Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;IZ)V
      official a Lgih;a(Lorg/joml/Matrix4f;Lfud;IZ)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 Lgih;a(Lgda$a;)Lhgk;
    • 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 Lgih;b()Lcom/mojang/blaze3d/textures/GpuTextureView;
    • 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 Lgih;a()Lcom/mojang/blaze3d/pipeline/RenderPipeline;
    • 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.
    • glyph

      public BakedGlyphImpl glyph()
      Returns the value of the glyph record component.
      Returns:
      the value of the glyph record component
    • minX

      public float minX()
      Returns the value of the minX record component.
      Returns:
      the value of the minX record component
    • minY

      public float minY()
      Returns the value of the minY record component.
      Returns:
      the value of the minY record component
    • maxX

      public float maxX()
      Returns the value of the maxX record component.
      Returns:
      the value of the maxX record component
    • maxY

      public float maxY()
      Returns the value of the maxY record component.
      Returns:
      the value of the maxY record component
    • zIndex

      public float zIndex()
      Returns the value of the zIndex record component.
      Returns:
      the value of the zIndex record component
    • color

      public int color()
      Returns the value of the color record component.
      Returns:
      the value of the color record component
    • shadowColor

      public int shadowColor()
      Returns the value of the shadowColor record component.
      Returns:
      the value of the shadowColor record component
    • shadowOffset

      public float shadowOffset()
      Returns the value of the shadowOffset record component.
      Returns:
      the value of the shadowOffset record component