net.minecraft.client.font

public class BakedGlyphImpl

implements EffectGlyph, BakedGlyph

net.minecraft.client.gui.font.glyphs.BakedSheetGlyph
net.minecraft.class_382
net.minecraft.client.font.BakedGlyphImpl

Field summary

Modifier and TypeField
public static final float
Z_FIGHTER
field_55098
Z_OFFSET
private final GlyphMetrics
info
field_62142
glyph
private final TextRenderLayerSet
renderTypes
field_44760
textRenderLayers
private final GpuTextureView
textureView
field_60569
textureView
private final float
u0
field_2276
minU
private final float
u1
field_2275
maxU
private final float
v0
field_2274
minV
private final float
v1
field_2273
maxV
private final float
left
field_2272
minX
private final float
right
field_2280
maxX
private final float
up
field_2279
minY
private final float
down
field_2278
maxY

Constructor summary

ModifierConstructor
public (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 TypeMethod
private float
left(BakedSheetGlyph$GlyphInstance instance)
method_71821(class_382$class_10364 arg0)
getEffectiveMinX(BakedGlyphImpl$BakedGlyphRect glyph)
private float
top(BakedSheetGlyph$GlyphInstance instance)
method_71824(class_382$class_10364 arg0)
getEffectiveMinY(BakedGlyphImpl$BakedGlyphRect glyph)
private float
right(BakedSheetGlyph$GlyphInstance instance)
method_71826(class_382$class_10364 arg0)
getEffectiveMaxX(BakedGlyphImpl$BakedGlyphRect glyph)
private float
bottom(BakedSheetGlyph$GlyphInstance instance)
method_71828(class_382$class_10364 arg0)
getEffectiveMaxY(BakedGlyphImpl$BakedGlyphRect glyph)
private void
renderChar(BakedSheetGlyph$GlyphInstance glyphInstance, org.joml.Matrix4fc pose, VertexConsumer buffer, int packedLightCoords, boolean flat)
method_65025(class_382$class_10364 arg0, org.joml.Matrix4fc arg1, class_4588 arg2, int arg3, boolean arg4)
draw(BakedGlyphImpl$BakedGlyphRect glyph, org.joml.Matrix4fc matrix, VertexConsumer vertexConsumer, int light, boolean fixedZ)
private void
render(boolean italic, float x, float y, float z, org.joml.Matrix4fc pose, VertexConsumer builder, int color, boolean bold, int packedLightCoords)
method_2025(boolean arg0, float arg1, float arg2, float arg3, org.joml.Matrix4fc arg4, class_4588 arg5, int arg6, boolean arg7, int arg8)
draw(boolean italic, float x, float y, float z, org.joml.Matrix4fc matrix, VertexConsumer vertexConsumer, int color, boolean bold, int light)
private static float
extraThickness(boolean bold)
method_71822(boolean arg0)
getXExpansion(boolean bold)
private float
shearBottom()
method_71825()
getItalicOffsetAtMaxY()
private float
shearTop()
method_71827()
getItalicOffsetAtMinY()
private void
renderEffect(BakedSheetGlyph$EffectInstance effect, org.joml.Matrix4fc pose, VertexConsumer buffer, int packedLightCoords, boolean flat)
method_22944(class_382$class_328 arg0, org.joml.Matrix4fc arg1, class_4588 arg2, int arg3, boolean arg4)
drawRectangle(BakedGlyphImpl$Rectangle rectangle, org.joml.Matrix4fc matrix, VertexConsumer vertexConsumer, int light, boolean fixedZ)
private void
buildEffect(BakedSheetGlyph$EffectInstance effect, float offset, float z, int color, VertexConsumer buffer, int packedLightCoords, org.joml.Matrix4fc pose)
method_65181(class_382$class_328 arg0, float arg1, float arg2, int arg3, class_4588 arg4, int arg5, org.joml.Matrix4fc arg6)
drawRectangle(BakedGlyphImpl$Rectangle rectangle, float shadowOffset, float zOffset, int color, VertexConsumer vertexConsumer, int light, org.joml.Matrix4fc matrix)
public GlyphMetrics
info()
method_73398()
getMetrics()
public TextDrawable$DrawnGlyphRect
createGlyph(float x, float y, int color, int shadowColor, Style style, float boldOffset, float shadowOffset)
method_73399(float arg0, float arg1, int arg2, int arg3, class_2583 arg4, float arg5, float arg6)
create(float arg0, float arg1, int arg2, int arg3, Style arg4, float arg5, float arg6)
public TextDrawable
createEffect(float x0, float y0, float x1, float y1, float depth, int color, int shadowColor, float shadowOffset)
method_73406(float arg0, float arg1, float arg2, float arg3, float arg4, int arg5, int arg6, float arg7)
create(float arg0, float arg1, float arg2, float arg3, float arg4, int arg5, int arg6, float arg7)