Class GlyphRenderer

java.lang.Object
net.minecraft.client.font.GlyphRenderer
Direct Known Subclasses:
EmptyGlyphRenderer

@Environment(CLIENT)
public class GlyphRenderer
extends Object
Mappings:
Namespace Name
official dtk
intermediary net/minecraft/class_382
named net/minecraft/client/font/GlyphRenderer
  • Field Details

    • textLayer

      private final RenderLayer textLayer
      Mappings:
      Namespace Name Mixin selector
      official a Ldtk;a:Lehy;
      intermediary field_21692 Lnet/minecraft/class_382;field_21692:Lnet/minecraft/class_1921;
      named textLayer Lnet/minecraft/client/font/GlyphRenderer;textLayer:Lnet/minecraft/client/render/RenderLayer;
    • seeThroughTextLayer

      private final RenderLayer seeThroughTextLayer
      Mappings:
      Namespace Name Mixin selector
      official b Ldtk;b:Lehy;
      intermediary field_21693 Lnet/minecraft/class_382;field_21693:Lnet/minecraft/class_1921;
      named seeThroughTextLayer Lnet/minecraft/client/font/GlyphRenderer;seeThroughTextLayer:Lnet/minecraft/client/render/RenderLayer;
    • uMin

      private final float uMin
      Mappings:
      Namespace Name Mixin selector
      official c Ldtk;c:F
      intermediary field_2276 Lnet/minecraft/class_382;field_2276:F
      named uMin Lnet/minecraft/client/font/GlyphRenderer;uMin:F
    • uMax

      private final float uMax
      Mappings:
      Namespace Name Mixin selector
      official d Ldtk;d:F
      intermediary field_2275 Lnet/minecraft/class_382;field_2275:F
      named uMax Lnet/minecraft/client/font/GlyphRenderer;uMax:F
    • vMin

      private final float vMin
      Mappings:
      Namespace Name Mixin selector
      official e Ldtk;e:F
      intermediary field_2274 Lnet/minecraft/class_382;field_2274:F
      named vMin Lnet/minecraft/client/font/GlyphRenderer;vMin:F
    • vMax

      private final float vMax
      Mappings:
      Namespace Name Mixin selector
      official f Ldtk;f:F
      intermediary field_2273 Lnet/minecraft/class_382;field_2273:F
      named vMax Lnet/minecraft/client/font/GlyphRenderer;vMax:F
    • xMin

      private final float xMin
      Mappings:
      Namespace Name Mixin selector
      official g Ldtk;g:F
      intermediary field_2272 Lnet/minecraft/class_382;field_2272:F
      named xMin Lnet/minecraft/client/font/GlyphRenderer;xMin:F
    • xMax

      private final float xMax
      Mappings:
      Namespace Name Mixin selector
      official h Ldtk;h:F
      intermediary field_2280 Lnet/minecraft/class_382;field_2280:F
      named xMax Lnet/minecraft/client/font/GlyphRenderer;xMax:F
    • yMin

      private final float yMin
      Mappings:
      Namespace Name Mixin selector
      official i Ldtk;i:F
      intermediary field_2279 Lnet/minecraft/class_382;field_2279:F
      named yMin Lnet/minecraft/client/font/GlyphRenderer;yMin:F
    • yMax

      private final float yMax
      Mappings:
      Namespace Name Mixin selector
      official j Ldtk;j:F
      intermediary field_2278 Lnet/minecraft/class_382;field_2278:F
      named yMax Lnet/minecraft/client/font/GlyphRenderer;yMax:F
  • Constructor Details

    • GlyphRenderer

      public GlyphRenderer​(RenderLayer textLayer, RenderLayer seeThroughTextLayer, float uMin, float uMax, float vMin, float vMax, float xMin, float xMax, float yMin, float yMax)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldtk;<init>(Lehy;Lehy;FFFFFFFF)V
      intermediary <init> Lnet/minecraft/class_382;<init>(Lnet/minecraft/class_1921;Lnet/minecraft/class_1921;FFFFFFFF)V
      named <init> Lnet/minecraft/client/font/GlyphRenderer;<init>(Lnet/minecraft/client/render/RenderLayer;Lnet/minecraft/client/render/RenderLayer;FFFFFFFF)V
  • Method Details

    • draw

      public void draw​(boolean italic, float x, float y, Matrix4f matrix, VertexConsumer vertexConsumer, float red, float green, float blue, float alpha, int light)
      Mappings:
      Namespace Name Mixin selector
      official a Ldtk;a(ZFFLb;Ldlv;FFFFI)V
      intermediary method_2025 Lnet/minecraft/class_382;method_2025(ZFFLnet/minecraft/class_1159;Lnet/minecraft/class_4588;FFFFI)V
      named draw Lnet/minecraft/client/font/GlyphRenderer;draw(ZFFLnet/minecraft/util/math/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;FFFFI)V
    • drawRectangle

      public void drawRectangle​(GlyphRenderer.Rectangle rectangle, Matrix4f matrix, VertexConsumer vertexConsumer, int light)
      Mappings:
      Namespace Name Mixin selector
      official a Ldtk;a(Ldtk$a;Lb;Ldlv;I)V
      intermediary method_22944 Lnet/minecraft/class_382;method_22944(Lnet/minecraft/class_382$class_328;Lnet/minecraft/class_1159;Lnet/minecraft/class_4588;I)V
      named drawRectangle Lnet/minecraft/client/font/GlyphRenderer;drawRectangle(Lnet/minecraft/client/font/GlyphRenderer$Rectangle;Lnet/minecraft/util/math/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;I)V
    • getLayer

      public RenderLayer getLayer​(boolean seeThrough)
      Mappings:
      Namespace Name Mixin selector
      official a Ldtk;a(Z)Lehy;
      intermediary method_24045 Lnet/minecraft/class_382;method_24045(Z)Lnet/minecraft/class_1921;
      named getLayer Lnet/minecraft/client/font/GlyphRenderer;getLayer(Z)Lnet/minecraft/client/render/RenderLayer;