net.minecraft.client.gui

public class Font

dwl
net.minecraft.client.gui.Font
net.minecraft.class_327
net.minecraft.client.font.TextRenderer
net.minecraft.src.C_3429_

Field summary

Modifier and TypeField
private static final float
c
EFFECT_DEPTH
field_32166
field_32166
f_168643_
private static final Vector3f
d
SHADOW_OFFSET
field_24237
FORWARD_SHIFT
f_92712_
public final int
a
lineHeight
field_2000
fontHeight
f_92710_
public final Random
b
random
field_2001
random
f_92711_
private final Function<ResourceLocation, FontSet>
e
fonts
field_1997
fontStorageAccessor
f_92713_
private final StringSplitter
f
splitter
field_24238
handler
f_92714_

Constructor summary

ModifierConstructor
public (Function<ResourceLocation, FontSet> fontStorageAccessor)

Method summary

Modifier and TypeMethod
FontSet
a(ww arg0)
getFontSet(ResourceLocation arg0)
method_27526(class_2960 arg0)
getFontStorage(Identifier id)
m_92863_(C_5265_ arg0)
public int
a(dql 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)
m_92750_(C_3181_ p_92752_, String p_92753_, float p_92754_, float p_92755_, int arg4)
public int
a(dql 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)
m_92756_(C_3181_ p_92758_, String p_92759_, float p_92760_, float p_92761_, int p_92762_, boolean arg5)
public int
b(dql 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)
m_92883_(C_3181_ p_92885_, String p_92886_, float p_92887_, float p_92888_, int arg4)
public int
a(dql arg0, ags arg1, float arg2, float arg3, int arg4)
drawShadow(PoseStack arg0, FormattedCharSequence arg1, float arg2, float arg3, int arg4)
method_27517(class_4587 arg0, class_5481 arg1, float arg2, float arg3, int arg4)
drawWithShadow(MatrixStack matrices, OrderedText text, float x, float y, int color)
m_92744_(C_3181_ p_92746_, C_178_ p_92747_, float p_92748_, float p_92749_, int arg4)
public int
a(dql arg0, os arg1, float arg2, float arg3, int arg4)
drawShadow(PoseStack arg0, Component arg1, float arg2, float arg3, int arg4)
method_30881(class_4587 arg0, class_2561 arg1, float arg2, float arg3, int arg4)
drawWithShadow(MatrixStack matrices, Text text, float x, float y, int color)
m_92763_(C_3181_ p_92765_, C_4996_ p_92766_, float p_92767_, float p_92768_, int arg4)
public int
b(dql arg0, ags arg1, float arg2, float arg3, int arg4)
draw(PoseStack arg0, FormattedCharSequence arg1, float arg2, float arg3, int arg4)
method_27528(class_4587 arg0, class_5481 arg1, float arg2, float arg3, int arg4)
draw(MatrixStack matrices, OrderedText text, float x, float y, int color)
m_92877_(C_3181_ p_92879_, C_178_ p_92880_, float p_92881_, float p_92882_, int arg4)
public int
b(dql arg0, os arg1, float arg2, float arg3, int arg4)
draw(PoseStack arg0, Component arg1, float arg2, float arg3, int arg4)
method_30883(class_4587 arg0, class_2561 arg1, float arg2, float arg3, int arg4)
draw(MatrixStack matrices, Text text, float x, float y, int color)
m_92889_(C_3181_ p_92891_, C_4996_ p_92892_, float p_92893_, float p_92894_, int arg4)
public String
a(String arg0)
bidirectionalShaping(String arg0)
method_1721(String arg0)
mirror(String text)
m_92801_(String arg0)
private int
a(String arg0, float arg1, float arg2, int arg3, d 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)
m_92803_(String p_92805_, float p_92806_, float p_92807_, int p_92808_, C_802_ p_92809_, boolean p_92810_, boolean arg6)
private int
a(ags arg0, float arg1, float arg2, int arg3, d arg4, boolean arg5)
drawInternal(FormattedCharSequence arg0, float arg1, float arg2, int arg3, Matrix4f arg4, boolean arg5)
method_22941(class_5481 arg0, float arg1, float arg2, int arg3, class_1159 arg4, boolean arg5)
draw(OrderedText text, float x, float y, int color, Matrix4f matrix, boolean shadow)
m_92726_(C_178_ p_92728_, float p_92729_, float p_92730_, int p_92731_, C_802_ p_92732_, boolean arg5)
public int
a(String arg0, float arg1, float arg2, int arg3, boolean arg4, d arg5, eni 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)
m_92811_(String p_92813_, float p_92814_, float p_92815_, int p_92816_, boolean p_92817_, C_802_ p_92818_, C_4139_ p_92819_, boolean p_92820_, int p_92821_, int arg9)
public int
a(String arg0, float arg1, float arg2, int arg3, boolean arg4, d arg5, eni 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)
m_92822_(String p_92824_, float p_92825_, float p_92826_, int p_92827_, boolean p_92828_, C_802_ p_92829_, C_4139_ p_92830_, boolean p_92831_, int p_92832_, int p_92833_, boolean arg10)
public int
a(os arg0, float arg1, float arg2, int arg3, boolean arg4, d arg5, eni arg6, boolean arg7, int arg8, int arg9)
drawInBatch(Component arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, MultiBufferSource arg6, boolean arg7, int arg8, int arg9)
method_30882(class_2561 arg0, float arg1, float arg2, int arg3, boolean arg4, class_1159 arg5, class_4597 arg6, boolean arg7, int arg8, int arg9)
draw(Text text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumers, boolean seeThrough, int backgroundColor, int light)
m_92841_(C_4996_ p_92843_, float p_92844_, float p_92845_, int p_92846_, boolean p_92847_, C_802_ p_92848_, C_4139_ p_92849_, boolean p_92850_, int p_92851_, int arg9)
public int
a(ags arg0, float arg1, float arg2, int arg3, boolean arg4, d arg5, eni arg6, boolean arg7, int arg8, int arg9)
drawInBatch(FormattedCharSequence arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, MultiBufferSource arg6, boolean arg7, int arg8, int arg9)
method_22942(class_5481 arg0, float arg1, float arg2, int arg3, boolean arg4, class_1159 arg5, class_4597 arg6, boolean arg7, int arg8, int arg9)
draw(OrderedText text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumers, boolean seeThrough, int backgroundColor, int light)
m_92733_(C_178_ p_92735_, float p_92736_, float p_92737_, int p_92738_, boolean p_92739_, C_802_ p_92740_, C_4139_ p_92741_, boolean p_92742_, int p_92743_, int arg9)
public void
a(ags arg0, float arg1, float arg2, int arg3, int arg4, d arg5, eni arg6, int arg7)
drawInBatch8xOutline(FormattedCharSequence arg0, float arg1, float arg2, int arg3, int arg4, Matrix4f arg5, MultiBufferSource arg6, int arg7)
method_37296(class_5481 arg0, float arg1, float arg2, int arg3, int arg4, class_1159 arg5, class_4597 arg6, int arg7)
drawWithOutline(OrderedText text, float x, float y, int color, int outlineColor, Matrix4f matrix, VertexConsumerProvider vertexConsumers, int light)
m_168645_(C_178_ p_168647_, float p_168648_, float p_168649_, int p_168650_, int p_168651_, C_802_ p_168652_, C_4139_ p_168653_, int arg7)
private static int
a(int arg0)
adjustColor(int arg0)
method_27515(int arg0)
tweakTransparency(int argb)
m_92719_(int p_92720_)
private int
b(String arg0, float arg1, float arg2, int arg3, boolean arg4, d arg5, eni 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)
m_92908_(String p_92910_, float p_92911_, float p_92912_, int p_92913_, boolean p_92914_, C_802_ p_92915_, C_4139_ p_92916_, boolean p_92917_, int p_92918_, int p_92919_, boolean arg10)
private int
b(ags arg0, float arg1, float arg2, int arg3, boolean arg4, d arg5, eni arg6, boolean arg7, int arg8, int arg9)
drawInternal(FormattedCharSequence arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, MultiBufferSource arg6, boolean arg7, int arg8, int arg9)
method_1723(class_5481 arg0, float arg1, float arg2, int arg3, boolean arg4, class_1159 arg5, class_4597 arg6, boolean arg7, int arg8, int arg9)
drawInternal(OrderedText text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, boolean seeThrough, int backgroundColor, int light)
m_92866_(C_178_ p_92868_, float p_92869_, float p_92870_, int p_92871_, boolean p_92872_, C_802_ p_92873_, C_4139_ p_92874_, boolean p_92875_, int p_92876_, int arg9)
private float
b(String arg0, float arg1, float arg2, int arg3, boolean arg4, d arg5, eni 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)
m_92897_(String p_92899_, float p_92900_, float p_92901_, int p_92902_, boolean p_92903_, C_802_ p_92904_, C_4139_ p_92905_, boolean p_92906_, int p_92907_, int arg9)
private float
c(ags arg0, float arg1, float arg2, int arg3, boolean arg4, d arg5, eni arg6, boolean arg7, int arg8, int arg9)
renderText(FormattedCharSequence arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, MultiBufferSource arg6, boolean arg7, int arg8, int arg9)
method_27530(class_5481 arg0, float arg1, float arg2, int arg3, boolean arg4, class_1159 arg5, class_4597 arg6, boolean arg7, int arg8, int arg9)
drawLayer(OrderedText text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, boolean seeThrough, int underlineColor, int light)
m_92926_(C_178_ p_92928_, float p_92929_, float p_92930_, int p_92931_, boolean p_92932_, C_802_ p_92933_, C_4139_ p_92934_, boolean p_92935_, int p_92936_, int arg9)
void
a(dyp arg0, boolean arg1, boolean arg2, float arg3, float arg4, float arg5, d arg6, dqp 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)
m_92787_(C_3516_ p_92789_, boolean p_92790_, boolean p_92791_, float p_92792_, float p_92793_, float p_92794_, C_802_ p_92795_, C_3187_ p_92796_, float p_92797_, float p_92798_, float p_92799_, float p_92800_, int arg12)
public int
b(String arg0)
width(String arg0)
method_1727(String arg0)
getWidth(String text)
m_92895_(String arg0)
public int
a(ov arg0)
width(FormattedText arg0)
method_27525(class_5348 arg0)
getWidth(StringVisitable text)
m_92852_(C_5000_ arg0)
public int
a(ags arg0)
width(FormattedCharSequence arg0)
method_30880(class_5481 arg0)
getWidth(OrderedText text)
m_92724_(C_178_ 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)
m_92837_(String p_92839_, int p_92840_, 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)
m_92834_(String p_92836_, int arg1)
public FormattedText
a(ov arg0, int arg1)
substrByWidth(FormattedText arg0, int arg1)
method_1714(class_5348 arg0, int arg1)
trimToWidth(StringVisitable text, int width)
m_92854_(C_5000_ p_92856_, int arg1)
public void
a(ov 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(StringVisitable text, int x, int y, int maxWidth, int color)
m_92857_(C_5000_ p_92859_, int p_92860_, int p_92861_, int p_92862_, int arg4)
public int
b(String arg0, int arg1)
wordWrapHeight(String arg0, int arg1)
method_1713(String arg0, int arg1)
getWrappedLinesHeight(String text, int maxWidth)
m_92920_(String p_92922_, int arg1)
public List<FormattedCharSequence>
b(ov arg0, int arg1)
split(FormattedText arg0, int arg1)
method_1728(class_5348 arg0, int arg1)
wrapLines(StringVisitable text, int width)
m_92923_(C_5000_ p_92925_, int arg1)
public boolean
a()
isBidirectional()
method_1726()
isRightToLeft()
m_92718_()
public StringSplitter
b()
getSplitter()
method_27527()
getTextHandler()
m_92865_()