Package net.minecraft.client.font
Class GlyphRenderer
java.lang.Object
net.minecraft.client.font.GlyphRenderer
- Direct Known Subclasses:
EmptyGlyphRenderer
- Mappings:
Namespace Name official dxwintermediary net/minecraft/class_382named net/minecraft/client/font/GlyphRenderer
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatprivate floatprivate floatprivate floatprivate floatprivate floatprivate floatprivate floatprivate RenderLayerprivate RenderLayer -
Constructor Summary
ConstructorsConstructorDescriptionGlyphRenderer(RenderLayer textLayer, RenderLayer seeThroughTextLayer, float minU, float maxU, float minV, float maxV, float minX, float maxX, float minY, float maxY) -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(boolean italic, float x, float y, Matrix4f matrix, VertexConsumer vertexConsumer, float red, float green, float blue, float alpha, int light)voiddrawRectangle(GlyphRenderer.Rectangle rectangle, Matrix4f matrix, VertexConsumer vertexConsumer, int light)getLayer(boolean seeThrough)
-
Field Details
-
textLayer
- Mappings:
Namespace Name Mixin selector official aLdxw;a:Lemx;intermediary field_21692Lnet/minecraft/class_382;field_21692:Lnet/minecraft/class_1921;named textLayerLnet/minecraft/client/font/GlyphRenderer;textLayer:Lnet/minecraft/client/render/RenderLayer;
-
seeThroughTextLayer
- Mappings:
Namespace Name Mixin selector official bLdxw;b:Lemx;intermediary field_21693Lnet/minecraft/class_382;field_21693:Lnet/minecraft/class_1921;named seeThroughTextLayerLnet/minecraft/client/font/GlyphRenderer;seeThroughTextLayer:Lnet/minecraft/client/render/RenderLayer;
-
minU
private final float minU- Mappings:
Namespace Name Mixin selector official cLdxw;c:Fintermediary field_2276Lnet/minecraft/class_382;field_2276:Fnamed minULnet/minecraft/client/font/GlyphRenderer;minU:F
-
maxU
private final float maxU- Mappings:
Namespace Name Mixin selector official dLdxw;d:Fintermediary field_2275Lnet/minecraft/class_382;field_2275:Fnamed maxULnet/minecraft/client/font/GlyphRenderer;maxU:F
-
minV
private final float minV- Mappings:
Namespace Name Mixin selector official eLdxw;e:Fintermediary field_2274Lnet/minecraft/class_382;field_2274:Fnamed minVLnet/minecraft/client/font/GlyphRenderer;minV:F
-
maxV
private final float maxV- Mappings:
Namespace Name Mixin selector official fLdxw;f:Fintermediary field_2273Lnet/minecraft/class_382;field_2273:Fnamed maxVLnet/minecraft/client/font/GlyphRenderer;maxV:F
-
minX
private final float minX- Mappings:
Namespace Name Mixin selector official gLdxw;g:Fintermediary field_2272Lnet/minecraft/class_382;field_2272:Fnamed minXLnet/minecraft/client/font/GlyphRenderer;minX:F
-
maxX
private final float maxX- Mappings:
Namespace Name Mixin selector official hLdxw;h:Fintermediary field_2280Lnet/minecraft/class_382;field_2280:Fnamed maxXLnet/minecraft/client/font/GlyphRenderer;maxX:F
-
minY
private final float minY- Mappings:
Namespace Name Mixin selector official iLdxw;i:Fintermediary field_2279Lnet/minecraft/class_382;field_2279:Fnamed minYLnet/minecraft/client/font/GlyphRenderer;minY:F
-
maxY
private final float maxY- Mappings:
Namespace Name Mixin selector official jLdxw;j:Fintermediary field_2278Lnet/minecraft/class_382;field_2278:Fnamed maxYLnet/minecraft/client/font/GlyphRenderer;maxY:F
-
-
Constructor Details
-
GlyphRenderer
public GlyphRenderer(RenderLayer textLayer, RenderLayer seeThroughTextLayer, float minU, float maxU, float minV, float maxV, float minX, float maxX, float minY, float maxY)- Mappings:
Namespace Name Mixin selector official <init>Ldxw;<init>(Lemx;Lemx;FFFFFFFF)Vintermediary <init>Lnet/minecraft/class_382;<init>(Lnet/minecraft/class_1921;Lnet/minecraft/class_1921;FFFFFFFF)Vnamed <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 aLdxw;a(ZFFLd;Ldpv;FFFFI)Vintermediary method_2025Lnet/minecraft/class_382;method_2025(ZFFLnet/minecraft/class_1159;Lnet/minecraft/class_4588;FFFFI)Vnamed drawLnet/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 aLdxw;a(Ldxw$a;Ld;Ldpv;I)Vintermediary method_22944Lnet/minecraft/class_382;method_22944(Lnet/minecraft/class_382$class_328;Lnet/minecraft/class_1159;Lnet/minecraft/class_4588;I)Vnamed drawRectangleLnet/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 aLdxw;a(Z)Lemx;intermediary method_24045Lnet/minecraft/class_382;method_24045(Z)Lnet/minecraft/class_1921;named getLayerLnet/minecraft/client/font/GlyphRenderer;getLayer(Z)Lnet/minecraft/client/render/RenderLayer;
-