Package net.minecraft.client.font
Class BakedGlyph
java.lang.Object
net.minecraft.client.font.BakedGlyph
- All Implemented Interfaces:
EffectGlyph,BakedGlyph
- Mappings:
Namespace Name named net/minecraft/client/font/BakedGlyphintermediary net/minecraft/class_382official geh
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final recordprivate static final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Glyph(package private) final @Nullable GpuTextureViewprivate final floatprivate final floatprivate final floatprivate final floatprivate final floatprivate final floatprivate final floatprivate final float(package private) final TextRenderLayerSetstatic final float -
Constructor Summary
ConstructorsConstructorDescriptionBakedGlyph(Glyph glyph, TextRenderLayerSet textRenderLayerSet, @Nullable GpuTextureView gpuTextureView, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9) -
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(BakedGlyph.DrawnGlyph glyph, Matrix4f matrix, VertexConsumer vertexConsumer, int light, boolean fixedZ) private voiddrawRectangle(BakedGlyph.Rectangle rectangle, float shadowOffset, float zOffset, int color, VertexConsumer vertexConsumer, int light, Matrix4f matrix) (package private) voiddrawRectangle(BakedGlyph.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) glyph()
-
Field Details
-
Z_OFFSET
public static final float Z_OFFSET- See Also:
- Mappings:
Namespace Name Mixin selector named Z_OFFSETLnet/minecraft/client/font/BakedGlyph;Z_OFFSET:Fintermediary field_55098Lnet/minecraft/class_382;field_55098:Fofficial aLgeh;a:F
-
field_62142
- Mappings:
Namespace Name Mixin selector named field_62142Lnet/minecraft/client/font/BakedGlyph;field_62142:Lnet/minecraft/client/font/Glyph;intermediary field_62142Lnet/minecraft/class_382;field_62142:Lnet/minecraft/class_379;official bLgeh;b:Lfnq;
-
textRenderLayers
- Mappings:
Namespace Name Mixin selector named textRenderLayersLnet/minecraft/client/font/BakedGlyph;textRenderLayers:Lnet/minecraft/client/font/TextRenderLayerSet;intermediary field_44760Lnet/minecraft/class_382;field_44760:Lnet/minecraft/class_8538;official cLgeh;c:Lgec;
-
gpuTexture
- Mappings:
Namespace Name Mixin selector named gpuTextureLnet/minecraft/client/font/BakedGlyph;gpuTexture:Lcom/mojang/blaze3d/textures/GpuTextureView;intermediary field_60569Lnet/minecraft/class_382;field_60569:Lcom/mojang/blaze3d/textures/GpuTextureView;official dLgeh;d:Lcom/mojang/blaze3d/textures/GpuTextureView;
-
minU
private final float minU- Mappings:
Namespace Name Mixin selector named minULnet/minecraft/client/font/BakedGlyph;minU:Fintermediary field_2276Lnet/minecraft/class_382;field_2276:Fofficial eLgeh;e:F
-
maxU
private final float maxU- Mappings:
Namespace Name Mixin selector named maxULnet/minecraft/client/font/BakedGlyph;maxU:Fintermediary field_2275Lnet/minecraft/class_382;field_2275:Fofficial fLgeh;f:F
-
minV
private final float minV- Mappings:
Namespace Name Mixin selector named minVLnet/minecraft/client/font/BakedGlyph;minV:Fintermediary field_2274Lnet/minecraft/class_382;field_2274:Fofficial gLgeh;g:F
-
maxV
private final float maxV- Mappings:
Namespace Name Mixin selector named maxVLnet/minecraft/client/font/BakedGlyph;maxV:Fintermediary field_2273Lnet/minecraft/class_382;field_2273:Fofficial hLgeh;h:F
-
minX
private final float minX- Mappings:
Namespace Name Mixin selector named minXLnet/minecraft/client/font/BakedGlyph;minX:Fintermediary field_2272Lnet/minecraft/class_382;field_2272:Fofficial iLgeh;i:F
-
maxX
private final float maxX- Mappings:
Namespace Name Mixin selector named maxXLnet/minecraft/client/font/BakedGlyph;maxX:Fintermediary field_2280Lnet/minecraft/class_382;field_2280:Fofficial jLgeh;j:F
-
minY
private final float minY- Mappings:
Namespace Name Mixin selector named minYLnet/minecraft/client/font/BakedGlyph;minY:Fintermediary field_2279Lnet/minecraft/class_382;field_2279:Fofficial kLgeh;k:F
-
maxY
private final float maxY- Mappings:
Namespace Name Mixin selector named maxYLnet/minecraft/client/font/BakedGlyph;maxY:Fintermediary field_2278Lnet/minecraft/class_382;field_2278:Fofficial lLgeh;l:F
-
-
Constructor Details
-
BakedGlyph
public BakedGlyph(Glyph glyph, TextRenderLayerSet textRenderLayerSet, @Nullable @Nullable GpuTextureView gpuTextureView, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9)
-
-
Method Details
-
getEffectiveMinX
- Mappings:
Namespace Name Mixin selector named getEffectiveMinXLnet/minecraft/client/font/BakedGlyph;getEffectiveMinX(Lnet/minecraft/client/font/BakedGlyph$DrawnGlyph;)Fintermediary method_71821Lnet/minecraft/class_382;method_71821(Lnet/minecraft/class_382$class_10364;)Fofficial aLgeh;a(Lgeh$b;)F
-
getEffectiveMinY
- Mappings:
Namespace Name Mixin selector named getEffectiveMinYLnet/minecraft/client/font/BakedGlyph;getEffectiveMinY(Lnet/minecraft/client/font/BakedGlyph$DrawnGlyph;)Fintermediary method_71824Lnet/minecraft/class_382;method_71824(Lnet/minecraft/class_382$class_10364;)Fofficial bLgeh;b(Lgeh$b;)F
-
getEffectiveMaxX
- Mappings:
Namespace Name Mixin selector named getEffectiveMaxXLnet/minecraft/client/font/BakedGlyph;getEffectiveMaxX(Lnet/minecraft/client/font/BakedGlyph$DrawnGlyph;)Fintermediary method_71826Lnet/minecraft/class_382;method_71826(Lnet/minecraft/class_382$class_10364;)Fofficial cLgeh;c(Lgeh$b;)F
-
getEffectiveMaxY
- Mappings:
Namespace Name Mixin selector named getEffectiveMaxYLnet/minecraft/client/font/BakedGlyph;getEffectiveMaxY(Lnet/minecraft/client/font/BakedGlyph$DrawnGlyph;)Fintermediary method_71828Lnet/minecraft/class_382;method_71828(Lnet/minecraft/class_382$class_10364;)Fofficial dLgeh;d(Lgeh$b;)F
-
draw
void draw(BakedGlyph.DrawnGlyph glyph, Matrix4f matrix, VertexConsumer vertexConsumer, int light, boolean fixedZ) - Mappings:
Namespace Name Mixin selector named drawLnet/minecraft/client/font/BakedGlyph;draw(Lnet/minecraft/client/font/BakedGlyph$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 aLgeh;a(Lgeh$b;Lorg/joml/Matrix4f;Lfqi;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/BakedGlyph;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 aLgeh;a(ZFFFLorg/joml/Matrix4f;Lfqi;IZI)V
-
getXExpansion
private static float getXExpansion(boolean bold) - Mappings:
Namespace Name Mixin selector named getXExpansionLnet/minecraft/client/font/BakedGlyph;getXExpansion(Z)Fintermediary method_71822Lnet/minecraft/class_382;method_71822(Z)Fofficial aLgeh;a(Z)F
-
getItalicOffsetAtMaxY
private float getItalicOffsetAtMaxY()- Mappings:
Namespace Name Mixin selector named getItalicOffsetAtMaxYLnet/minecraft/client/font/BakedGlyph;getItalicOffsetAtMaxY()Fintermediary method_71825Lnet/minecraft/class_382;method_71825()Fofficial bLgeh;b()F
-
getItalicOffsetAtMinY
private float getItalicOffsetAtMinY()- Mappings:
Namespace Name Mixin selector named getItalicOffsetAtMinYLnet/minecraft/client/font/BakedGlyph;getItalicOffsetAtMinY()Fintermediary method_71827Lnet/minecraft/class_382;method_71827()Fofficial cLgeh;c()F
-
drawRectangle
void drawRectangle(BakedGlyph.Rectangle rectangle, Matrix4f matrix, VertexConsumer vertexConsumer, int light, boolean fixedZ) - Mappings:
Namespace Name Mixin selector named drawRectangleLnet/minecraft/client/font/BakedGlyph;drawRectangle(Lnet/minecraft/client/font/BakedGlyph$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 aLgeh;a(Lgeh$a;Lorg/joml/Matrix4f;Lfqi;IZ)V
-
drawRectangle
private void drawRectangle(BakedGlyph.Rectangle rectangle, float shadowOffset, float zOffset, int color, VertexConsumer vertexConsumer, int light, Matrix4f matrix) - Mappings:
Namespace Name Mixin selector named drawRectangleLnet/minecraft/client/font/BakedGlyph;drawRectangle(Lnet/minecraft/client/font/BakedGlyph$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 aLgeh;a(Lgeh$a;FFILfqi;ILorg/joml/Matrix4f;)V
-
glyph
- Specified by:
glyphin interfaceBakedGlyph- Mappings:
Namespace Name Mixin selector named glyphLnet/minecraft/client/info/BakedGlyph;glyph()Lnet/minecraft/client/font/Glyph;intermediary method_73398Lnet/minecraft/class_11768;method_73398()Lnet/minecraft/class_379;official aLgeg;a()Lfnq;
-
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/info/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 aLgeg;a(FFIILyt;FF)Lgef;
-
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 aLgei;a(FFFFFIIF)Lgef;
-