net.minecraft.client.gui

public class Font

ews
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
d
EFFECT_DEPTH
field_32166
Z_INDEX
f_168643_
private static final org.joml.Vector3f
e
SHADOW_OFFSET
field_24237
FORWARD_SHIFT
f_92712_
public static final int
a
ALPHA_CUTOFF
field_35427
ARABIC_SHAPING_LETTERS_SHAPE
f_193827_
public final int
b
lineHeight
field_2000
fontHeight
f_92710_
public final RandomSource
c
random
field_2001
random
f_92711_
private final Function<ResourceLocation, FontSet>
f
fonts
field_1997
fontStorageAccessor
f_92713_
final boolean
g
filterFishyGlyphs
field_39925
validateAdvance
f_242994_
private final StringSplitter
h
splitter
field_24238
handler
f_92714_

Constructor summary

ModifierConstructor
public (Function<ResourceLocation, FontSet> fontStorageAccessor, boolean validateAdvance)

Method summary

Modifier and TypeMethod
FontSet
a(ahg arg0)
getFontSet(ResourceLocation arg0)
method_27526(class_2960 arg0)
getFontStorage(Identifier id)
m_92863_(C_5265_ arg0)
public String
a(String arg0)
bidirectionalShaping(String arg0)
method_1721(String arg0)
mirror(String text)
m_92801_(String arg0)
public int
a(String arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, fth arg6, ews$a arg7, int arg8, int arg9)
drawInBatch(String arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, MultiBufferSource arg6, Font$DisplayMode arg7, int arg8, int arg9)
method_27521(String arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, class_4597 arg6, class_327$class_6415 arg7, int arg8, int arg9)
draw(String text, float x, float y, int color, boolean shadow, org.joml.Matrix4f matrix, VertexConsumerProvider vertexConsumers, TextRenderer$TextLayerType layerType, int backgroundColor, int light)
m_271703_(String p_272661_, float p_273129_, float p_273272_, int p_273209_, boolean p_272940_, org.joml.Matrix4f p_273017_, C_4139_ p_272608_, C_3429_$C_180532_ p_273365_, int p_272755_, int arg9)
public int
a(String arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, fth arg6, ews$a arg7, int arg8, int arg9, boolean arg10)
drawInBatch(String arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, MultiBufferSource arg6, Font$DisplayMode arg7, int arg8, int arg9, boolean arg10)
method_27522(String arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, class_4597 arg6, class_327$class_6415 arg7, int arg8, int arg9, boolean arg10)
draw(String text, float x, float y, int color, boolean shadow, org.joml.Matrix4f matrix, VertexConsumerProvider vertexConsumers, TextRenderer$TextLayerType layerType, int backgroundColor, int light, boolean rightToLeft)
m_272078_(String p_272811_, float p_272610_, float p_273422_, int p_273016_, boolean p_273443_, org.joml.Matrix4f p_273387_, C_4139_ p_273551_, C_3429_$C_180532_ p_272706_, int p_273114_, int p_273022_, boolean arg10)
public int
a(vf arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, fth arg6, ews$a arg7, int arg8, int arg9)
drawInBatch(Component arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, MultiBufferSource arg6, Font$DisplayMode arg7, int arg8, int arg9)
method_30882(class_2561 arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, class_4597 arg6, class_327$class_6415 arg7, int arg8, int arg9)
draw(Text text, float x, float y, int color, boolean shadow, org.joml.Matrix4f matrix, VertexConsumerProvider vertexConsumers, TextRenderer$TextLayerType layerType, int backgroundColor, int light)
m_272077_(C_4996_ p_273249_, float p_273594_, float p_273714_, int p_273050_, boolean p_272974_, org.joml.Matrix4f p_273695_, C_4139_ p_272782_, C_3429_$C_180532_ p_272603_, int p_273632_, int arg9)
public int
a(aua arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, fth arg6, ews$a arg7, int arg8, int arg9)
drawInBatch(FormattedCharSequence arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, MultiBufferSource arg6, Font$DisplayMode arg7, int arg8, int arg9)
method_22942(class_5481 arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, class_4597 arg6, class_327$class_6415 arg7, int arg8, int arg9)
draw(OrderedText text, float x, float y, int color, boolean shadow, org.joml.Matrix4f matrix, VertexConsumerProvider vertexConsumers, TextRenderer$TextLayerType layerType, int backgroundColor, int light)
m_272191_(C_178_ p_273006_, float p_273254_, float p_273375_, int p_273674_, boolean p_273525_, org.joml.Matrix4f p_272624_, C_4139_ p_273418_, C_3429_$C_180532_ p_273330_, int p_272981_, int arg9)
public void
a(aua arg0, float arg1, float arg2, int arg3, int arg4, org.joml.Matrix4f arg5, fth arg6, int arg7)
drawInBatch8xOutline(FormattedCharSequence arg0, float arg1, float arg2, int arg3, int arg4, org.joml.Matrix4f arg5, MultiBufferSource arg6, int arg7)
method_37296(class_5481 arg0, float arg1, float arg2, int arg3, int arg4, org.joml.Matrix4f arg5, class_4597 arg6, int arg7)
drawWithOutline(OrderedText text, float x, float y, int color, int outlineColor, org.joml.Matrix4f matrix, VertexConsumerProvider vertexConsumers, int light)
m_168645_(C_178_ p_168647_, float p_168648_, float p_168649_, int p_168650_, int p_254170_, org.joml.Matrix4f 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, org.joml.Matrix4f arg5, fth arg6, ews$a arg7, int arg8, int arg9, boolean arg10)
drawInternal(String arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, MultiBufferSource arg6, Font$DisplayMode arg7, int arg8, int arg9, boolean arg10)
method_27529(String arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, class_4597 arg6, class_327$class_6415 arg7, int arg8, int arg9, boolean arg10)
drawInternal(String text, float x, float y, int color, boolean shadow, org.joml.Matrix4f matrix, VertexConsumerProvider vertexConsumers, TextRenderer$TextLayerType layerType, int backgroundColor, int light, boolean mirror)
m_271880_(String p_273086_, float p_272883_, float p_273547_, int p_272778_, boolean p_272662_, org.joml.Matrix4f p_273012_, C_4139_ p_273381_, C_3429_$C_180532_ p_272855_, int p_272745_, int p_272785_, boolean arg10)
private int
b(aua arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, fth arg6, ews$a arg7, int arg8, int arg9)
drawInternal(FormattedCharSequence arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, MultiBufferSource arg6, Font$DisplayMode arg7, int arg8, int arg9)
method_1723(class_5481 arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, class_4597 arg6, class_327$class_6415 arg7, int arg8, int arg9)
drawInternal(OrderedText text, float x, float y, int color, boolean shadow, org.joml.Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, TextRenderer$TextLayerType layerType, int backgroundColor, int light)
m_272085_(C_178_ p_273121_, float p_272717_, float p_273653_, int p_273531_, boolean p_273265_, org.joml.Matrix4f p_273560_, C_4139_ p_273342_, C_3429_$C_180532_ p_273373_, int p_273266_, int arg9)
private float
b(String arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, fth arg6, ews$a arg7, int arg8, int arg9)
renderText(String arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, MultiBufferSource arg6, Font$DisplayMode arg7, int arg8, int arg9)
method_1724(String arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, class_4597 arg6, class_327$class_6415 arg7, int arg8, int arg9)
drawLayer(String text, float x, float y, int color, boolean shadow, org.joml.Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, TextRenderer$TextLayerType layerType, int underlineColor, int light)
m_271978_(String p_273532_, float p_272783_, float p_273217_, int p_273583_, boolean p_272734_, org.joml.Matrix4f p_272595_, C_4139_ p_273610_, C_3429_$C_180532_ p_273727_, int p_273199_, int arg9)
private float
c(aua arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, fth arg6, ews$a arg7, int arg8, int arg9)
renderText(FormattedCharSequence arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, MultiBufferSource arg6, Font$DisplayMode arg7, int arg8, int arg9)
method_27530(class_5481 arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, class_4597 arg6, class_327$class_6415 arg7, int arg8, int arg9)
drawLayer(OrderedText text, float x, float y, int color, boolean shadow, org.joml.Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, TextRenderer$TextLayerType layerType, int underlineColor, int light)
m_271992_(C_178_ p_272632_, float p_273541_, float p_273200_, int p_273312_, boolean p_273276_, org.joml.Matrix4f p_273392_, C_4139_ p_272625_, C_3429_$C_180532_ p_273774_, int p_273371_, int arg9)
void
a(ezz arg0, boolean arg1, boolean arg2, float arg3, float arg4, float arg5, org.joml.Matrix4f arg6, eqf arg7, float arg8, float arg9, float arg10, float arg11, int arg12)
renderChar(BakedGlyph arg0, boolean arg1, boolean arg2, float arg3, float arg4, float arg5, org.joml.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, org.joml.Matrix4f 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, org.joml.Matrix4f matrix, VertexConsumer vertexConsumer, float red, float green, float blue, float alpha, int light)
m_253238_(C_3516_ p_254001_, boolean p_254262_, boolean p_254256_, float p_253753_, float p_253629_, float p_254014_, org.joml.Matrix4f p_253852_, C_3187_ p_254317_, float p_253809_, float p_253870_, float p_254287_, float p_253905_, int arg12)
public int
b(String arg0)
width(String arg0)
method_1727(String arg0)
getWidth(String text)
m_92895_(String arg0)
public int
a(vk arg0)
width(FormattedText arg0)
method_27525(class_5348 arg0)
getWidth(StringVisitable text)
m_92852_(C_5000_ arg0)
public int
a(aua 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(vk 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 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 int
b(vk arg0, int arg1)
wordWrapHeight(FormattedText arg0, int arg1)
method_44378(class_5348 arg0, int arg1)
getWrappedLinesHeight(StringVisitable text, int maxWidth)
m_239133_(C_5000_ p_239135_, int arg1)
public List<FormattedCharSequence>
c(vk 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_()