Package net.minecraft.client.font
Class BakedGlyph
java.lang.Object
net.minecraft.client.font.BakedGlyph
- Direct Known Subclasses:
EmptyBakedGlyph
- Mappings:
Namespace Name named net/minecraft/client/font/BakedGlyph
intermediary net/minecraft/class_382
official frb
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
static final record
-
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 TextRenderLayerSet
-
Constructor Summary
ConstructorDescriptionBakedGlyph
(TextRenderLayerSet textRenderLayers, float minU, float maxU, float minV, float maxV, float minX, float maxX, float minY, float maxY) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
draw
(boolean italic, float x, float y, Matrix4f matrix, VertexConsumer vertexConsumer, int color, int light) void
draw
(BakedGlyph.DrawnGlyph glyph, Matrix4f matrices, VertexConsumer vertexConsumers, int light) void
drawRectangle
(BakedGlyph.Rectangle rectangle, Matrix4f matrix, VertexConsumer vertexConsumer, int light) getLayer
(TextRenderer.TextLayerType layerType)
-
Field Details
-
textRenderLayers
- Mappings:
Namespace Name Mixin selector named textRenderLayers
Lnet/minecraft/client/font/BakedGlyph;textRenderLayers:Lnet/minecraft/client/font/TextRenderLayerSet;
intermediary field_44760
Lnet/minecraft/class_382;field_44760:Lnet/minecraft/class_8538;
official a
Lfrb;a:Lfqz;
-
minU
private final float minU- Mappings:
Namespace Name Mixin selector named minU
Lnet/minecraft/client/font/BakedGlyph;minU:F
intermediary field_2276
Lnet/minecraft/class_382;field_2276:F
official b
Lfrb;b:F
-
maxU
private final float maxU- Mappings:
Namespace Name Mixin selector named maxU
Lnet/minecraft/client/font/BakedGlyph;maxU:F
intermediary field_2275
Lnet/minecraft/class_382;field_2275:F
official c
Lfrb;c:F
-
minV
private final float minV- Mappings:
Namespace Name Mixin selector named minV
Lnet/minecraft/client/font/BakedGlyph;minV:F
intermediary field_2274
Lnet/minecraft/class_382;field_2274:F
official d
Lfrb;d:F
-
maxV
private final float maxV- Mappings:
Namespace Name Mixin selector named maxV
Lnet/minecraft/client/font/BakedGlyph;maxV:F
intermediary field_2273
Lnet/minecraft/class_382;field_2273:F
official e
Lfrb;e:F
-
minX
private final float minX- Mappings:
Namespace Name Mixin selector named minX
Lnet/minecraft/client/font/BakedGlyph;minX:F
intermediary field_2272
Lnet/minecraft/class_382;field_2272:F
official f
Lfrb;f:F
-
maxX
private final float maxX- Mappings:
Namespace Name Mixin selector named maxX
Lnet/minecraft/client/font/BakedGlyph;maxX:F
intermediary field_2280
Lnet/minecraft/class_382;field_2280:F
official g
Lfrb;g:F
-
minY
private final float minY- Mappings:
Namespace Name Mixin selector named minY
Lnet/minecraft/client/font/BakedGlyph;minY:F
intermediary field_2279
Lnet/minecraft/class_382;field_2279:F
official h
Lfrb;h:F
-
maxY
private final float maxY- Mappings:
Namespace Name Mixin selector named maxY
Lnet/minecraft/client/font/BakedGlyph;maxY:F
intermediary field_2278
Lnet/minecraft/class_382;field_2278:F
official i
Lfrb;i:F
-
-
Constructor Details
-
BakedGlyph
public BakedGlyph(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/BakedGlyph;<init>(Lnet/minecraft/client/font/TextRenderLayerSet;FFFFFFFF)V
intermediary <init>
Lnet/minecraft/class_382;<init>(Lnet/minecraft/class_8538;FFFFFFFF)V
official <init>
Lfrb;<init>(Lfqz;FFFFFFFF)V
-
-
Method Details
-
draw
public void draw(BakedGlyph.DrawnGlyph glyph, Matrix4f matrices, VertexConsumer vertexConsumers, int light) - Mappings:
Namespace Name Mixin selector named draw
Lnet/minecraft/client/font/BakedGlyph;draw(Lnet/minecraft/client/font/BakedGlyph$DrawnGlyph;Lorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;I)V
intermediary method_65025
Lnet/minecraft/class_382;method_65025(Lnet/minecraft/class_382$class_10364;Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;I)V
official a
Lfrb;a(Lfrb$b;Lorg/joml/Matrix4f;Lfgv;I)V
-
draw
private void draw(boolean italic, float x, float y, Matrix4f matrix, VertexConsumer vertexConsumer, int color, int light) - Mappings:
Namespace Name Mixin selector named draw
Lnet/minecraft/client/font/BakedGlyph;draw(ZFFLorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;II)V
intermediary method_2025
Lnet/minecraft/class_382;method_2025(ZFFLorg/joml/Matrix4f;Lnet/minecraft/class_4588;II)V
official a
Lfrb;a(ZFFLorg/joml/Matrix4f;Lfgv;II)V
-
drawRectangle
public void drawRectangle(BakedGlyph.Rectangle rectangle, Matrix4f matrix, VertexConsumer vertexConsumer, int light) - Mappings:
Namespace Name Mixin selector named drawRectangle
Lnet/minecraft/client/font/BakedGlyph;drawRectangle(Lnet/minecraft/client/font/BakedGlyph$Rectangle;Lorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;I)V
intermediary method_22944
Lnet/minecraft/class_382;method_22944(Lnet/minecraft/class_382$class_328;Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;I)V
official a
Lfrb;a(Lfrb$a;Lorg/joml/Matrix4f;Lfgv;I)V
-
getLayer
- Mappings:
Namespace Name Mixin selector named getLayer
Lnet/minecraft/client/font/BakedGlyph;getLayer(Lnet/minecraft/client/font/TextRenderer$TextLayerType;)Lnet/minecraft/client/render/RenderLayer;
intermediary method_24045
Lnet/minecraft/class_382;method_24045(Lnet/minecraft/class_327$class_6415;)Lnet/minecraft/class_1921;
official a
Lfrb;a(Lfnp$a;)Lglu;
-