Package net.minecraft.client.font
Class BakedGlyphImpl
java.lang.Object
net.minecraft.client.font.BakedGlyphImpl
- All Implemented Interfaces:
BakedGlyph,EffectGlyph
- Mappings:
Namespace Name named net/minecraft/client/font/BakedGlyphImplintermediary net/minecraft/class_382official gko
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final recordprivate static final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final GlyphMetricsprivate final floatprivate final floatprivate final floatprivate final floatprivate final floatprivate final floatprivate final floatprivate final float(package private) final TextRenderLayerSet(package private) final GpuTextureViewstatic final float -
Constructor Summary
ConstructorsConstructorDescriptionBakedGlyphImpl(GlyphMetrics glyph, TextRenderLayerSet textRenderLayers, GpuTextureView textureView, float minU, float maxU, float minV, float maxV, float minX, float maxX, float minY, float maxY) -
Method Summary
Modifier and TypeMethodDescriptioncreate(float minX, float minY, float maxX, float maxY, float depth, int color, int shadowColor, float shadowOffset) create(float x, float y, int color, int shadowColor, Style style, float boldOffset, float shadowOffset) private voiddraw(boolean italic, float x, float y, float z, Matrix4f matrix, VertexConsumer vertexConsumer, int color, boolean bold, int light) (package private) voiddraw(BakedGlyphImpl.DrawnGlyph glyph, Matrix4f matrix, VertexConsumer vertexConsumer, int light, boolean fixedZ) private voiddrawRectangle(BakedGlyphImpl.Rectangle rectangle, float shadowOffset, float zOffset, int color, VertexConsumer vertexConsumer, int light, Matrix4f matrix) (package private) voiddrawRectangle(BakedGlyphImpl.Rectangle rectangle, Matrix4f matrix, VertexConsumer vertexConsumer, int light, boolean fixedZ) (package private) float(package private) float(package private) float(package private) floatprivate floatprivate floatprivate static floatgetXExpansion(boolean bold)
-
Field Details
-
Z_OFFSET
public static final float Z_OFFSET- See Also:
- Mappings:
Namespace Name Mixin selector named Z_OFFSETLnet/minecraft/client/font/BakedGlyphImpl;Z_OFFSET:Fintermediary field_55098Lnet/minecraft/class_382;field_55098:Fofficial aLgko;a:F
-
glyph
- Mappings:
Namespace Name Mixin selector named glyphLnet/minecraft/client/font/BakedGlyphImpl;glyph:Lnet/minecraft/client/font/GlyphMetrics;intermediary field_62142Lnet/minecraft/class_382;field_62142:Lnet/minecraft/class_379;official bLgko;b:Lftj;
-
textRenderLayers
- Mappings:
Namespace Name Mixin selector named textRenderLayersLnet/minecraft/client/font/BakedGlyphImpl;textRenderLayers:Lnet/minecraft/client/font/TextRenderLayerSet;intermediary field_44760Lnet/minecraft/class_382;field_44760:Lnet/minecraft/class_8538;official cLgko;c:Lgkg;
-
textureView
- Mappings:
Namespace Name Mixin selector named textureViewLnet/minecraft/client/font/BakedGlyphImpl;textureView:Lcom/mojang/blaze3d/textures/GpuTextureView;intermediary field_60569Lnet/minecraft/class_382;field_60569:Lcom/mojang/blaze3d/textures/GpuTextureView;official dLgko;d:Lcom/mojang/blaze3d/textures/GpuTextureView;
-
minU
private final float minU- Mappings:
Namespace Name Mixin selector named minULnet/minecraft/client/font/BakedGlyphImpl;minU:Fintermediary field_2276Lnet/minecraft/class_382;field_2276:Fofficial eLgko;e:F
-
maxU
private final float maxU- Mappings:
Namespace Name Mixin selector named maxULnet/minecraft/client/font/BakedGlyphImpl;maxU:Fintermediary field_2275Lnet/minecraft/class_382;field_2275:Fofficial fLgko;f:F
-
minV
private final float minV- Mappings:
Namespace Name Mixin selector named minVLnet/minecraft/client/font/BakedGlyphImpl;minV:Fintermediary field_2274Lnet/minecraft/class_382;field_2274:Fofficial gLgko;g:F
-
maxV
private final float maxV- Mappings:
Namespace Name Mixin selector named maxVLnet/minecraft/client/font/BakedGlyphImpl;maxV:Fintermediary field_2273Lnet/minecraft/class_382;field_2273:Fofficial hLgko;h:F
-
minX
private final float minX- Mappings:
Namespace Name Mixin selector named minXLnet/minecraft/client/font/BakedGlyphImpl;minX:Fintermediary field_2272Lnet/minecraft/class_382;field_2272:Fofficial iLgko;i:F
-
maxX
private final float maxX- Mappings:
Namespace Name Mixin selector named maxXLnet/minecraft/client/font/BakedGlyphImpl;maxX:Fintermediary field_2280Lnet/minecraft/class_382;field_2280:Fofficial jLgko;j:F
-
minY
private final float minY- Mappings:
Namespace Name Mixin selector named minYLnet/minecraft/client/font/BakedGlyphImpl;minY:Fintermediary field_2279Lnet/minecraft/class_382;field_2279:Fofficial kLgko;k:F
-
maxY
private final float maxY- Mappings:
Namespace Name Mixin selector named maxYLnet/minecraft/client/font/BakedGlyphImpl;maxY:Fintermediary field_2278Lnet/minecraft/class_382;field_2278:Fofficial lLgko;l:F
-
-
Constructor Details
-
BakedGlyphImpl
public BakedGlyphImpl(GlyphMetrics glyph, TextRenderLayerSet textRenderLayers, GpuTextureView textureView, 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/BakedGlyphImpl;<init>(Lnet/minecraft/client/font/GlyphMetrics;Lnet/minecraft/client/font/TextRenderLayerSet;Lcom/mojang/blaze3d/textures/GpuTextureView;FFFFFFFF)Vintermediary <init>Lnet/minecraft/class_382;<init>(Lnet/minecraft/class_379;Lnet/minecraft/class_8538;Lcom/mojang/blaze3d/textures/GpuTextureView;FFFFFFFF)Vofficial <init>Lgko;<init>(Lftj;Lgkg;Lcom/mojang/blaze3d/textures/GpuTextureView;FFFFFFFF)V
-
-
Method Details
-
getEffectiveMinX
- Mappings:
Namespace Name Mixin selector named getEffectiveMinXLnet/minecraft/client/font/BakedGlyphImpl;getEffectiveMinX(Lnet/minecraft/client/font/BakedGlyphImpl$DrawnGlyph;)Fintermediary method_71821Lnet/minecraft/class_382;method_71821(Lnet/minecraft/class_382$class_10364;)Fofficial aLgko;a(Lgko$b;)F
-
getEffectiveMinY
- Mappings:
Namespace Name Mixin selector named getEffectiveMinYLnet/minecraft/client/font/BakedGlyphImpl;getEffectiveMinY(Lnet/minecraft/client/font/BakedGlyphImpl$DrawnGlyph;)Fintermediary method_71824Lnet/minecraft/class_382;method_71824(Lnet/minecraft/class_382$class_10364;)Fofficial bLgko;b(Lgko$b;)F
-
getEffectiveMaxX
- Mappings:
Namespace Name Mixin selector named getEffectiveMaxXLnet/minecraft/client/font/BakedGlyphImpl;getEffectiveMaxX(Lnet/minecraft/client/font/BakedGlyphImpl$DrawnGlyph;)Fintermediary method_71826Lnet/minecraft/class_382;method_71826(Lnet/minecraft/class_382$class_10364;)Fofficial cLgko;c(Lgko$b;)F
-
getEffectiveMaxY
- Mappings:
Namespace Name Mixin selector named getEffectiveMaxYLnet/minecraft/client/font/BakedGlyphImpl;getEffectiveMaxY(Lnet/minecraft/client/font/BakedGlyphImpl$DrawnGlyph;)Fintermediary method_71828Lnet/minecraft/class_382;method_71828(Lnet/minecraft/class_382$class_10364;)Fofficial dLgko;d(Lgko$b;)F
-
draw
void draw(BakedGlyphImpl.DrawnGlyph glyph, Matrix4f matrix, VertexConsumer vertexConsumer, int light, boolean fixedZ) - Mappings:
Namespace Name Mixin selector named drawLnet/minecraft/client/font/BakedGlyphImpl;draw(Lnet/minecraft/client/font/BakedGlyphImpl$DrawnGlyph;Lorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;IZ)Vintermediary method_65025Lnet/minecraft/class_382;method_65025(Lnet/minecraft/class_382$class_10364;Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;IZ)Vofficial aLgko;a(Lgko$b;Lorg/joml/Matrix4f;Lfwh;IZ)V
-
draw
private void draw(boolean italic, float x, float y, float z, Matrix4f matrix, VertexConsumer vertexConsumer, int color, boolean bold, int light) - Mappings:
Namespace Name Mixin selector named drawLnet/minecraft/client/font/BakedGlyphImpl;draw(ZFFFLorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;IZI)Vintermediary method_2025Lnet/minecraft/class_382;method_2025(ZFFFLorg/joml/Matrix4f;Lnet/minecraft/class_4588;IZI)Vofficial aLgko;a(ZFFFLorg/joml/Matrix4f;Lfwh;IZI)V
-
getXExpansion
private static float getXExpansion(boolean bold) - Mappings:
Namespace Name Mixin selector named getXExpansionLnet/minecraft/client/font/BakedGlyphImpl;getXExpansion(Z)Fintermediary method_71822Lnet/minecraft/class_382;method_71822(Z)Fofficial aLgko;a(Z)F
-
getItalicOffsetAtMaxY
private float getItalicOffsetAtMaxY()- Mappings:
Namespace Name Mixin selector named getItalicOffsetAtMaxYLnet/minecraft/client/font/BakedGlyphImpl;getItalicOffsetAtMaxY()Fintermediary method_71825Lnet/minecraft/class_382;method_71825()Fofficial bLgko;b()F
-
getItalicOffsetAtMinY
private float getItalicOffsetAtMinY()- Mappings:
Namespace Name Mixin selector named getItalicOffsetAtMinYLnet/minecraft/client/font/BakedGlyphImpl;getItalicOffsetAtMinY()Fintermediary method_71827Lnet/minecraft/class_382;method_71827()Fofficial cLgko;c()F
-
drawRectangle
void drawRectangle(BakedGlyphImpl.Rectangle rectangle, Matrix4f matrix, VertexConsumer vertexConsumer, int light, boolean fixedZ) - Mappings:
Namespace Name Mixin selector named drawRectangleLnet/minecraft/client/font/BakedGlyphImpl;drawRectangle(Lnet/minecraft/client/font/BakedGlyphImpl$Rectangle;Lorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;IZ)Vintermediary method_22944Lnet/minecraft/class_382;method_22944(Lnet/minecraft/class_382$class_328;Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;IZ)Vofficial aLgko;a(Lgko$a;Lorg/joml/Matrix4f;Lfwh;IZ)V
-
drawRectangle
private void drawRectangle(BakedGlyphImpl.Rectangle rectangle, float shadowOffset, float zOffset, int color, VertexConsumer vertexConsumer, int light, Matrix4f matrix) - Mappings:
Namespace Name Mixin selector named drawRectangleLnet/minecraft/client/font/BakedGlyphImpl;drawRectangle(Lnet/minecraft/client/font/BakedGlyphImpl$Rectangle;FFILnet/minecraft/client/render/VertexConsumer;ILorg/joml/Matrix4f;)Vintermediary method_65181Lnet/minecraft/class_382;method_65181(Lnet/minecraft/class_382$class_328;FFILnet/minecraft/class_4588;ILorg/joml/Matrix4f;)Vofficial aLgko;a(Lgko$a;FFILfwh;ILorg/joml/Matrix4f;)V
-
getMetrics
- Specified by:
getMetricsin interfaceBakedGlyph- Mappings:
Namespace Name Mixin selector named getMetricsLnet/minecraft/client/font/BakedGlyph;getMetrics()Lnet/minecraft/client/font/GlyphMetrics;intermediary method_73398Lnet/minecraft/class_11768;method_73398()Lnet/minecraft/class_379;official aLgkn;a()Lftj;
-
create
public TextDrawable create(float x, float y, int color, int shadowColor, Style style, float boldOffset, float shadowOffset) - Specified by:
createin interfaceBakedGlyph- Mappings:
Namespace Name Mixin selector named createLnet/minecraft/client/font/BakedGlyph;create(FFIILnet/minecraft/text/Style;FF)Lnet/minecraft/client/font/TextDrawable;intermediary method_73399Lnet/minecraft/class_11768;method_73399(FFIILnet/minecraft/class_2583;FF)Lnet/minecraft/class_11767;official aLgkn;a(FFIILzk;FF)Lgkm;
-
create
public TextDrawable create(float minX, float minY, float maxX, float maxY, float depth, int color, int shadowColor, float shadowOffset) - Specified by:
createin interfaceEffectGlyph- Mappings:
Namespace Name Mixin selector named createLnet/minecraft/client/font/EffectGlyph;create(FFFFFIIF)Lnet/minecraft/client/font/TextDrawable;intermediary method_73406Lnet/minecraft/class_11769;method_73406(FFFFFIIF)Lnet/minecraft/class_11767;official aLgkp;a(FFFFFIIF)Lgkm;
-