Package net.minecraft.client.font
Class GlyphRenderer
java.lang.Object
net.minecraft.client.font.GlyphRenderer
- Direct Known Subclasses:
EmptyGlyphRenderer
- Mappings:
Namespace Name official eraintermediary net/minecraft/class_382named net/minecraft/client/font/GlyphRenderer
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_8538private final floatprivate final floatprivate final floatprivate final floatprivate final floatprivate final floatprivate final floatprivate final float -
Constructor Summary
ConstructorsConstructorDescriptionGlyphRenderer(class_8538 class_8538, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9) -
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 textLayerType)
-
Field Details
-
field_44760
- Mappings:
Namespace Name Mixin selector official aLera;a:Leqy;intermediary field_44760Lnet/minecraft/class_382;field_44760:Lnet/minecraft/class_8538;named field_44760Lnet/minecraft/client/font/GlyphRenderer;field_44760:Lnet/minecraft/class_8538;
-
minU
private final float minU- Mappings:
Namespace Name Mixin selector official bLera;b: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 cLera;c: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 dLera;d: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 eLera;e: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 fLera;f: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 gLera;g: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 hLera;h: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 iLera;i:Fintermediary field_2278Lnet/minecraft/class_382;field_2278:Fnamed maxYLnet/minecraft/client/font/GlyphRenderer;maxY:F
-
-
Constructor Details
-
GlyphRenderer
public GlyphRenderer(class_8538 class_8538, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9)
-
-
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 aLera;a(ZFFLorg/joml/Matrix4f;Lehx;FFFFI)Vintermediary method_2025Lnet/minecraft/class_382;method_2025(ZFFLorg/joml/Matrix4f;Lnet/minecraft/class_4588;FFFFI)Vnamed drawLnet/minecraft/client/font/GlyphRenderer;draw(ZFFLorg/joml/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 aLera;a(Lera$a;Lorg/joml/Matrix4f;Lehx;I)Vintermediary method_22944Lnet/minecraft/class_382;method_22944(Lnet/minecraft/class_382$class_328;Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;I)Vnamed drawRectangleLnet/minecraft/client/font/GlyphRenderer;drawRectangle(Lnet/minecraft/client/font/GlyphRenderer$Rectangle;Lorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;I)V
-
getLayer
- Mappings:
Namespace Name Mixin selector official aLera;a(Leof$a;)Lfjm;intermediary method_24045Lnet/minecraft/class_382;method_24045(Lnet/minecraft/class_327$class_6415;)Lnet/minecraft/class_1921;named getLayerLnet/minecraft/client/font/GlyphRenderer;getLayer(Lnet/minecraft/client/font/TextRenderer$TextLayerType;)Lnet/minecraft/client/render/RenderLayer;
-