Package net.minecraft.client.font
Class GlyphRenderer
java.lang.Object
net.minecraft.client.font.GlyphRenderer
- Direct Known Subclasses:
EmptyGlyphRenderer
- Mappings:
Namespace Name official ebu
intermediary net/minecraft/class_382
named net/minecraft/client/font/GlyphRenderer
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
private final float
private final float
private final float
private final float
private final float
private final float
private final float
private final RenderLayer
private final RenderLayer
private final RenderLayer
-
Constructor Summary
ConstructorDescriptionGlyphRenderer
(RenderLayer textLayer, RenderLayer seeThroughTextLayer, RenderLayer polygonOffsetTextLayer, float minU, float maxU, float minV, float maxV, float minX, float maxX, float minY, float maxY) -
Method Summary
Modifier and TypeMethodDescriptionvoid
draw
(boolean italic, float x, float y, Matrix4f matrix, VertexConsumer vertexConsumer, float red, float green, float blue, float alpha, int light) void
drawRectangle
(GlyphRenderer.Rectangle rectangle, Matrix4f matrix, VertexConsumer vertexConsumer, int light) getLayer
(TextRenderer.TextLayerType layerType)
-
Field Details
-
textLayer
- Mappings:
Namespace Name Mixin selector official a
Lebu;a:Lera;
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
- Mappings:
Namespace Name Mixin selector official b
Lebu;b:Lera;
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;
-
polygonOffsetTextLayer
- Mappings:
Namespace Name Mixin selector official c
Lebu;c:Lera;
intermediary field_33999
Lnet/minecraft/class_382;field_33999:Lnet/minecraft/class_1921;
named polygonOffsetTextLayer
Lnet/minecraft/client/font/GlyphRenderer;polygonOffsetTextLayer:Lnet/minecraft/client/render/RenderLayer;
-
minU
private final float minU- Mappings:
Namespace Name Mixin selector official d
Lebu;d:F
intermediary field_2276
Lnet/minecraft/class_382;field_2276:F
named minU
Lnet/minecraft/client/font/GlyphRenderer;minU:F
-
maxU
private final float maxU- Mappings:
Namespace Name Mixin selector official e
Lebu;e:F
intermediary field_2275
Lnet/minecraft/class_382;field_2275:F
named maxU
Lnet/minecraft/client/font/GlyphRenderer;maxU:F
-
minV
private final float minV- Mappings:
Namespace Name Mixin selector official f
Lebu;f:F
intermediary field_2274
Lnet/minecraft/class_382;field_2274:F
named minV
Lnet/minecraft/client/font/GlyphRenderer;minV:F
-
maxV
private final float maxV- Mappings:
Namespace Name Mixin selector official g
Lebu;g:F
intermediary field_2273
Lnet/minecraft/class_382;field_2273:F
named maxV
Lnet/minecraft/client/font/GlyphRenderer;maxV:F
-
minX
private final float minX- Mappings:
Namespace Name Mixin selector official h
Lebu;h:F
intermediary field_2272
Lnet/minecraft/class_382;field_2272:F
named minX
Lnet/minecraft/client/font/GlyphRenderer;minX:F
-
maxX
private final float maxX- Mappings:
Namespace Name Mixin selector official i
Lebu;i:F
intermediary field_2280
Lnet/minecraft/class_382;field_2280:F
named maxX
Lnet/minecraft/client/font/GlyphRenderer;maxX:F
-
minY
private final float minY- Mappings:
Namespace Name Mixin selector official j
Lebu;j:F
intermediary field_2279
Lnet/minecraft/class_382;field_2279:F
named minY
Lnet/minecraft/client/font/GlyphRenderer;minY:F
-
maxY
private final float maxY- Mappings:
Namespace Name Mixin selector official k
Lebu;k:F
intermediary field_2278
Lnet/minecraft/class_382;field_2278:F
named maxY
Lnet/minecraft/client/font/GlyphRenderer;maxY:F
-
-
Constructor Details
-
GlyphRenderer
public GlyphRenderer(RenderLayer textLayer, RenderLayer seeThroughTextLayer, RenderLayer polygonOffsetTextLayer, float minU, float maxU, float minV, float maxV, float minX, float maxX, float minY, float maxY) - Mappings:
Namespace Name Mixin selector official <init>
Lebu;<init>(Lera;Lera;Lera;FFFFFFFF)V
intermediary <init>
Lnet/minecraft/class_382;<init>(Lnet/minecraft/class_1921;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;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
Lebu;a(ZFFLd;Ldtq;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
Lebu;a(Lebu$a;Ld;Ldtq;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
- Mappings:
Namespace Name Mixin selector official a
Lebu;a(Ldzp$a;)Lera;
intermediary method_24045
Lnet/minecraft/class_382;method_24045(Lnet/minecraft/class_327$class_6415;)Lnet/minecraft/class_1921;
named getLayer
Lnet/minecraft/client/font/GlyphRenderer;getLayer(Lnet/minecraft/client/font/TextRenderer$TextLayerType;)Lnet/minecraft/client/render/RenderLayer;
-