Package net.minecraft.client.font
Class GlyphRenderer
java.lang.Object
net.minecraft.client.font.GlyphRenderer
- Direct Known Subclasses:
EmptyGlyphRenderer
- Mappings:
Namespace Name official dxn
intermediary net/minecraft/class_382
named net/minecraft/client/font/GlyphRenderer
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate RenderLayer
private RenderLayer
private float
private float
private float
private float
private float
private float
private float
private float
-
Constructor Summary
ConstructorsConstructorDescriptionGlyphRenderer(RenderLayer textLayer, RenderLayer seeThroughTextLayer, float uMin, float uMax, float vMin, float vMax, float xMin, float xMax, float yMin, float yMax)
-
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(boolean seeThrough)
-
Field Details
-
textLayer
- Mappings:
Namespace Name Mixin selector official a
Ldxn;a:Lemj;
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
Ldxn;b:Lemj;
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
Ldxn;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
Ldxn;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
Ldxn;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
Ldxn;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
Ldxn;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
Ldxn;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
Ldxn;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
Ldxn;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>
Ldxn;<init>(Lemj;Lemj;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
Ldxn;a(ZFFLd;Ldpn;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
Ldxn;a(Ldxn$a;Ld;Ldpn;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
Ldxn;a(Z)Lemj;
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;
-