net.minecraft.client.gui

public class Font

dmt
net.minecraft.client.gui.Font
net.minecraft.class_327
net.minecraft.client.font.TextRenderer
net.minecraft.client.gui.FontRenderer

Field summary

Modifier and TypeField
private static final Vector3f
c
SHADOW_OFFSET
field_24237
FORWARD_SHIFT
field_238401_c_
public final int
a
lineHeight
field_2000
fontHeight
field_78288_b
public final Random
b
random
field_2001
random
field_78289_c
private final Function<ResourceLocation, FontSet>
d
fonts
field_1997
fontStorageAccessor
field_211127_e
private final StringSplitter
e
splitter
field_24238
handler
field_238402_e_

Constructor summary

ModifierConstructor
public (Function<ResourceLocation, FontSet> fontStorageAccessor)

Method summary

Modifier and TypeMethod
private FontSet
a(uh arg0)
getFontSet(ResourceLocation arg0)
method_27526(class_2960 arg0)
getFontStorage(Identifier id)
func_238419_a_(ResourceLocation arg0)
public int
a(dhl arg0, String arg1, float arg2, float arg3, int arg4)
drawShadow(PoseStack arg0, String arg1, float arg2, float arg3, int arg4)
method_1720(class_4587 arg0, String arg1, float arg2, float arg3, int arg4)
drawWithShadow(MatrixStack matrices, String text, float x, float y, int color)
func_238405_a_(MatrixStack arg0, String arg1, float arg2, float arg3, int arg4)
public int
a(dhl arg0, String arg1, float arg2, float arg3, int arg4, boolean arg5)
drawShadow(PoseStack arg0, String arg1, float arg2, float arg3, int arg4, boolean arg5)
method_29342(class_4587 arg0, String arg1, float arg2, float arg3, int arg4, boolean arg5)
drawWithShadow(MatrixStack matrices, String text, float x, float y, int color, boolean rightToLeft)
func_238406_a_(MatrixStack arg0, String arg1, float arg2, float arg3, int arg4, boolean arg5)
public int
b(dhl arg0, String arg1, float arg2, float arg3, int arg4)
draw(PoseStack arg0, String arg1, float arg2, float arg3, int arg4)
method_1729(class_4587 arg0, String arg1, float arg2, float arg3, int arg4)
draw(MatrixStack matrices, String text, float x, float y, int color)
func_238421_b_(MatrixStack arg0, String arg1, float arg2, float arg3, int arg4)
public int
a(dhl arg0, mu arg1, float arg2, float arg3, int arg4)
drawShadow(PoseStack arg0, FormattedText arg1, float arg2, float arg3, int arg4)
method_27517(class_4587 arg0, class_5348 arg1, float arg2, float arg3, int arg4)
drawWithShadow(MatrixStack matrices, StringRenderable text, float x, float y, int color)
func_238407_a_(MatrixStack arg0, ITextProperties arg1, float arg2, float arg3, int arg4)
public int
b(dhl arg0, mu arg1, float arg2, float arg3, int arg4)
draw(PoseStack arg0, FormattedText arg1, float arg2, float arg3, int arg4)
method_27528(class_4587 arg0, class_5348 arg1, float arg2, float arg3, int arg4)
draw(MatrixStack matrices, StringRenderable text, float x, float y, int color)
func_238422_b_(MatrixStack arg0, ITextProperties arg1, float arg2, float arg3, int arg4)
public String
a(String arg0)
bidirectionalShaping(String arg0)
method_1721(String arg0)
mirror(String text)
func_147647_b(String arg0)
private int
a(String arg0, float arg1, float arg2, int arg3, b arg4, boolean arg5, boolean arg6)
drawInternal(String arg0, float arg1, float arg2, int arg3, Matrix4f arg4, boolean arg5, boolean arg6)
method_27520(String arg0, float arg1, float arg2, int arg3, class_1159 arg4, boolean arg5, boolean arg6)
draw(String text, float x, float y, int color, Matrix4f matrix, boolean shadow, boolean mirror)
func_228078_a_(String arg0, float arg1, float arg2, int arg3, Matrix4f arg4, boolean arg5, boolean arg6)
private int
a(mu arg0, float arg1, float arg2, int arg3, b arg4, boolean arg5)
drawInternal(FormattedText arg0, float arg1, float arg2, int arg3, Matrix4f arg4, boolean arg5)
method_22941(class_5348 arg0, float arg1, float arg2, int arg3, class_1159 arg4, boolean arg5)
draw(StringRenderable text, float x, float y, int color, Matrix4f matrix, boolean shadow)
func_238415_a_(ITextProperties arg0, float arg1, float arg2, int arg3, Matrix4f arg4, boolean arg5)
public int
a(String arg0, float arg1, float arg2, int arg3, boolean arg4, b arg5, ebz arg6, boolean arg7, int arg8, int arg9)
drawInBatch(String arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, MultiBufferSource arg6, boolean arg7, int arg8, int arg9)
method_27521(String arg0, float arg1, float arg2, int arg3, boolean arg4, class_1159 arg5, class_4597 arg6, boolean arg7, int arg8, int arg9)
draw(String text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumers, boolean seeThrough, int backgroundColor, int light)
func_228079_a_(String arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, IRenderTypeBuffer arg6, boolean arg7, int arg8, int arg9)
public int
a(String arg0, float arg1, float arg2, int arg3, boolean arg4, b arg5, ebz arg6, boolean arg7, int arg8, int arg9, boolean arg10)
drawInBatch(String arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, MultiBufferSource arg6, boolean arg7, int arg8, int arg9, boolean arg10)
method_27522(String arg0, float arg1, float arg2, int arg3, boolean arg4, class_1159 arg5, class_4597 arg6, boolean arg7, int arg8, int arg9, boolean arg10)
draw(String text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumers, boolean seeThrough, int backgroundColor, int light, boolean rightToLeft)
func_238411_a_(String arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, IRenderTypeBuffer arg6, boolean arg7, int arg8, int arg9, boolean arg10)
public int
a(mu arg0, float arg1, float arg2, int arg3, boolean arg4, b arg5, ebz arg6, boolean arg7, int arg8, int arg9)
drawInBatch(FormattedText arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, MultiBufferSource arg6, boolean arg7, int arg8, int arg9)
method_22942(class_5348 arg0, float arg1, float arg2, int arg3, boolean arg4, class_1159 arg5, class_4597 arg6, boolean arg7, int arg8, int arg9)
draw(StringRenderable text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumers, boolean seeThrough, int backgroundColor, int light)
func_238416_a_(ITextProperties arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, IRenderTypeBuffer arg6, boolean arg7, int arg8, int arg9)
private static int
a(int arg0)
adjustColor(int arg0)
method_27515(int arg0)
tweakTransparency(int argb)
func_238403_a_(int arg0)
private int
b(String arg0, float arg1, float arg2, int arg3, boolean arg4, b arg5, ebz arg6, boolean arg7, int arg8, int arg9, boolean arg10)
drawInternal(String arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, MultiBufferSource arg6, boolean arg7, int arg8, int arg9, boolean arg10)
method_27529(String arg0, float arg1, float arg2, int arg3, boolean arg4, class_1159 arg5, class_4597 arg6, boolean arg7, int arg8, int arg9, boolean arg10)
drawInternal(String text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumers, boolean seeThrough, int backgroundColor, int light, boolean mirror)
func_238423_b_(String arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, IRenderTypeBuffer arg6, boolean arg7, int arg8, int arg9, boolean arg10)
private int
b(mu arg0, float arg1, float arg2, int arg3, boolean arg4, b arg5, ebz arg6, boolean arg7, int arg8, int arg9)
drawInternal(FormattedText arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, MultiBufferSource arg6, boolean arg7, int arg8, int arg9)
method_1723(class_5348 arg0, float arg1, float arg2, int arg3, boolean arg4, class_1159 arg5, class_4597 arg6, boolean arg7, int arg8, int arg9)
drawInternal(StringRenderable text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, boolean seeThrough, int backgroundColor, int light)
func_238424_b_(ITextProperties arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, IRenderTypeBuffer arg6, boolean arg7, int arg8, int arg9)
private float
b(String arg0, float arg1, float arg2, int arg3, boolean arg4, b arg5, ebz arg6, boolean arg7, int arg8, int arg9)
renderText(String arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, MultiBufferSource arg6, boolean arg7, int arg8, int arg9)
method_1724(String arg0, float arg1, float arg2, int arg3, boolean arg4, class_1159 arg5, class_4597 arg6, boolean arg7, int arg8, int arg9)
drawLayer(String text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, boolean seeThrough, int underlineColor, int light)
func_228081_c_(String arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, IRenderTypeBuffer arg6, boolean arg7, int arg8, int arg9)
private float
c(mu arg0, float arg1, float arg2, int arg3, boolean arg4, b arg5, ebz arg6, boolean arg7, int arg8, int arg9)
renderText(FormattedText arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, MultiBufferSource arg6, boolean arg7, int arg8, int arg9)
method_27530(class_5348 arg0, float arg1, float arg2, int arg3, boolean arg4, class_1159 arg5, class_4597 arg6, boolean arg7, int arg8, int arg9)
drawLayer(StringRenderable text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, boolean seeThrough, int underlineColor, int light)
func_238426_c_(ITextProperties arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, IRenderTypeBuffer arg6, boolean arg7, int arg8, int arg9)
private void
a(dow arg0, boolean arg1, boolean arg2, float arg3, float arg4, float arg5, b arg6, dhp arg7, float arg8, float arg9, float arg10, float arg11, int arg12)
renderChar(BakedGlyph arg0, boolean arg1, boolean arg2, float arg3, float arg4, float arg5, Matrix4f arg6, VertexConsumer arg7, float arg8, float arg9, float arg10, float arg11, int arg12)
method_1710(class_382 arg0, boolean arg1, boolean arg2, float arg3, float arg4, float arg5, class_1159 arg6, class_4588 arg7, float arg8, float arg9, float arg10, float arg11, int arg12)
drawGlyph(GlyphRenderer glyphRenderer, boolean bold, boolean italic, float weight, float x, float y, Matrix4f matrix, VertexConsumer vertexConsumer, float red, float green, float blue, float alpha, int light)
func_228077_a_(TexturedGlyph arg0, boolean arg1, boolean arg2, float arg3, float arg4, float arg5, Matrix4f arg6, IVertexBuilder arg7, float arg8, float arg9, float arg10, float arg11, int arg12)
public int
b(String arg0)
width(String arg0)
method_1727(String arg0)
getWidth(String text)
func_78256_a(String arg0)
public int
a(mu arg0)
width(FormattedText arg0)
method_27525(class_5348 arg0)
getWidth(StringRenderable arg0)
func_238414_a_(ITextProperties arg0)
public String
a(String arg0, int arg1, boolean arg2)
plainSubstrByWidth(String arg0, int arg1, boolean arg2)
method_27524(String arg0, int arg1, boolean arg2)
trimToWidth(String text, int maxWidth, boolean backwards)
func_238413_a_(String arg0, int arg1, boolean arg2)
public String
a(String arg0, int arg1)
plainSubstrByWidth(String arg0, int arg1)
method_27523(String arg0, int arg1)
trimToWidth(String text, int maxWidth)
func_238412_a_(String arg0, int arg1)
public FormattedText
a(mu arg0, int arg1)
substrByWidth(FormattedText arg0, int arg1)
method_1714(class_5348 arg0, int arg1)
trimToWidth(StringRenderable text, int width)
func_238417_a_(ITextProperties arg0, int arg1)
public void
a(mu arg0, int arg1, int arg2, int arg3, int arg4)
drawWordWrap(FormattedText arg0, int arg1, int arg2, int arg3, int arg4)
method_1712(class_5348 arg0, int arg1, int arg2, int arg3, int arg4)
drawTrimmed(StringRenderable text, int x, int y, int maxWidth, int color)
func_238418_a_(ITextProperties arg0, int arg1, int arg2, int arg3, int arg4)
public int
b(String arg0, int arg1)
wordWrapHeight(String arg0, int arg1)
method_1713(String arg0, int arg1)
getStringBoundedHeight(String text, int maxWidth)
func_78267_b(String arg0, int arg1)
public List<FormattedText>
b(mu arg0, int arg1)
split(FormattedText arg0, int arg1)
method_1728(class_5348 arg0, int arg1)
wrapLines(StringRenderable text, int width)
func_238425_b_(ITextProperties arg0, int arg1)
public boolean
a()
isBidirectional()
method_1726()
isRightToLeft()
func_78260_a()
public StringSplitter
b()
getSplitter()
method_27527()
getTextHandler()
func_238420_b_()