net.minecraft.client.font

record PlayerHeadGlyphs$HeadGlyph

implements DrawnSpriteGlyph

net.minecraft.client.gui.font.PlayerGlyphProvider$Instance
net.minecraft.class_11879$class_11880
net.minecraft.client.font.PlayerHeadGlyphs$HeadGlyph

Field summary

Modifier and TypeField
private final Supplier<PlayerSkinCache$Entry>
skin
comp_4754
skin
private final boolean
hat
comp_4755
hat
private final float
x
comp_4631
x
private final float
y
comp_4632
y
private final int
color
comp_4633
color
private final int
shadowColor
comp_4634
shadowColor
private final float
shadowOffset
comp_4635
shadowOffset
private final Style
style
comp_3317
style

Constructor summary

ModifierConstructor
private (Supplier<PlayerSkinCache$Entry> skin, boolean hat, float x, float y, int color, int shadowColor, float shadowOffset, Style style)

Method summary

Modifier and TypeMethod
public void
renderSprite(org.joml.Matrix4fc pose, VertexConsumer buffer, int packedLightCoords, float offsetX, float offsetY, float z, int color)
method_73402(org.joml.Matrix4fc arg0, class_4588 arg1, int arg2, float arg3, float arg4, float arg5, int arg6)
draw(org.joml.Matrix4fc arg0, VertexConsumer arg1, int arg2, float arg3, float arg4, float arg5, int arg6)
private static void
renderQuad(org.joml.Matrix4fc pose, VertexConsumer buffer, int packedLightCoords, float x0, float x1, float y0, float y1, float z, int color, float u, float v, int srcWidth, int srcHeight, int textureWidth, int textureHeight)
method_74042(org.joml.Matrix4fc arg0, class_4588 arg1, int arg2, float arg3, float arg4, float arg5, float arg6, float arg7, int arg8, float arg9, float arg10, int arg11, int arg12, int arg13, int arg14)
drawInternal(org.joml.Matrix4fc arg0, VertexConsumer vertexConsumer, int light, float xMin, float xMax, float yMin, float yMax, float z, int color, float regionTop, float regionLeft, int regionWidth, int regionHeight, int textureWidth, int textureHeight)
public RenderLayer
renderType(Font$DisplayMode displayMode)
method_73401(class_327$class_6415 arg0)
getRenderLayer(TextRenderer$TextLayerType arg0)
public RenderPipeline
guiPipeline()
method_73400()
getPipeline()
public GpuTextureView
textureView()
comp_4629()
textureView()
public Supplier<PlayerSkinCache$Entry>
skin()
comp_4754()
skin()
public boolean
hat()
comp_4755()
hat()
public float
x()
comp_4631()
x()
public float
y()
comp_4632()
y()
public int
color()
comp_4633()
color()
public int
shadowColor()
comp_4634()
shadowColor()
public float
shadowOffset()
comp_4635()
shadowOffset()
public Style
style()
comp_3317()
style()