Package net.minecraft.client.font
Class GlyphRenderer
java.lang.Object
net.minecraft.client.font.GlyphRenderer
- Direct Known Subclasses:
EmptyGlyphRenderer
- Mappings:
Namespace Name named net/minecraft/client/font/GlyphRendererintermediary net/minecraft/class_382official flh
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatprivate final floatprivate final floatprivate final floatprivate final floatprivate final floatprivate final floatprivate final floatprivate final TextRenderLayerSet -
Constructor Summary
ConstructorsConstructorDescriptionGlyphRenderer(TextRenderLayerSet textRenderLayers, 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(TextRenderer.TextLayerType layerType)
-
Field Details
-
textRenderLayers
- Mappings:
Namespace Name Mixin selector named textRenderLayersLnet/minecraft/client/font/GlyphRenderer;textRenderLayers:Lnet/minecraft/client/font/TextRenderLayerSet;intermediary field_44760Lnet/minecraft/class_382;field_44760:Lnet/minecraft/class_8538;official aLflh;a:Lflf;
-
minU
private final float minU- Mappings:
Namespace Name Mixin selector named minULnet/minecraft/client/font/GlyphRenderer;minU:Fintermediary field_2276Lnet/minecraft/class_382;field_2276:Fofficial bLflh;b:F
-
maxU
private final float maxU- Mappings:
Namespace Name Mixin selector named maxULnet/minecraft/client/font/GlyphRenderer;maxU:Fintermediary field_2275Lnet/minecraft/class_382;field_2275:Fofficial cLflh;c:F
-
minV
private final float minV- Mappings:
Namespace Name Mixin selector named minVLnet/minecraft/client/font/GlyphRenderer;minV:Fintermediary field_2274Lnet/minecraft/class_382;field_2274:Fofficial dLflh;d:F
-
maxV
private final float maxV- Mappings:
Namespace Name Mixin selector named maxVLnet/minecraft/client/font/GlyphRenderer;maxV:Fintermediary field_2273Lnet/minecraft/class_382;field_2273:Fofficial eLflh;e:F
-
minX
private final float minX- Mappings:
Namespace Name Mixin selector named minXLnet/minecraft/client/font/GlyphRenderer;minX:Fintermediary field_2272Lnet/minecraft/class_382;field_2272:Fofficial fLflh;f:F
-
maxX
private final float maxX- Mappings:
Namespace Name Mixin selector named maxXLnet/minecraft/client/font/GlyphRenderer;maxX:Fintermediary field_2280Lnet/minecraft/class_382;field_2280:Fofficial gLflh;g:F
-
minY
private final float minY- Mappings:
Namespace Name Mixin selector named minYLnet/minecraft/client/font/GlyphRenderer;minY:Fintermediary field_2279Lnet/minecraft/class_382;field_2279:Fofficial hLflh;h:F
-
maxY
private final float maxY- Mappings:
Namespace Name Mixin selector named maxYLnet/minecraft/client/font/GlyphRenderer;maxY:Fintermediary field_2278Lnet/minecraft/class_382;field_2278:Fofficial iLflh;i:F
-
-
Constructor Details
-
GlyphRenderer
public GlyphRenderer(TextRenderLayerSet textRenderLayers, float minU, float maxU, float minV, float maxV, float minX, float maxX, float minY, float maxY) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/font/GlyphRenderer;<init>(Lnet/minecraft/client/font/TextRenderLayerSet;FFFFFFFF)Vintermediary <init>Lnet/minecraft/class_382;<init>(Lnet/minecraft/class_8538;FFFFFFFF)Vofficial <init>Lflh;<init>(Lflf;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 named drawLnet/minecraft/client/font/GlyphRenderer;draw(ZFFLorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;FFFFI)Vintermediary method_2025Lnet/minecraft/class_382;method_2025(ZFFLorg/joml/Matrix4f;Lnet/minecraft/class_4588;FFFFI)Vofficial aLflh;a(ZFFLorg/joml/Matrix4f;Lfbm;FFFFI)V
-
drawRectangle
public void drawRectangle(GlyphRenderer.Rectangle rectangle, Matrix4f matrix, VertexConsumer vertexConsumer, int light) - Mappings:
Namespace Name Mixin selector named drawRectangleLnet/minecraft/client/font/GlyphRenderer;drawRectangle(Lnet/minecraft/client/font/GlyphRenderer$Rectangle;Lorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;I)Vintermediary method_22944Lnet/minecraft/class_382;method_22944(Lnet/minecraft/class_382$class_328;Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;I)Vofficial aLflh;a(Lflh$a;Lorg/joml/Matrix4f;Lfbm;I)V
-
getLayer
- Mappings:
Namespace Name Mixin selector named getLayerLnet/minecraft/client/font/GlyphRenderer;getLayer(Lnet/minecraft/client/font/TextRenderer$TextLayerType;)Lnet/minecraft/client/render/RenderLayer;intermediary method_24045Lnet/minecraft/class_382;method_24045(Lnet/minecraft/class_327$class_6415;)Lnet/minecraft/class_1921;official aLflh;a(Lfhx$a;)Lgfh;
-