net.minecraft.client.gui

public class Font

fnq
net.minecraft.client.gui.Font
net.minecraft.class_327
net.minecraft.client.font.TextRenderer

Field summary

Modifier and TypeField
private static final float
d
EFFECT_DEPTH
field_32166
Z_INDEX
private static final org.joml.Vector3f
e
SHADOW_OFFSET
field_24237
FORWARD_SHIFT
public static final int
a
ALPHA_CUTOFF
field_35427
ARABIC_SHAPING_LETTERS_SHAPE
public final int
b
lineHeight
field_2000
fontHeight
public final RandomSource
c
random
field_2001
random
private final Function<ResourceLocation, FontSet>
f
fonts
field_1997
fontStorageAccessor
final boolean
g
filterFishyGlyphs
field_39925
validateAdvance
private final StringSplitter
h
splitter
field_24238
handler

Constructor summary

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

Method summary

Modifier and TypeMethod
FontSet
a(alz arg0)
getFontSet(ResourceLocation arg0)
method_27526(class_2960 arg0)
getFontStorage(Identifier id)
public String
a(String arg0)
bidirectionalShaping(String arg0)
method_1721(String arg0)
mirror(String text)
public int
a(String arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, gll arg6, fnq$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)
public int
a(xv arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, gll arg6, fnq$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_27522(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)
public int
a(xv arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, gll arg6, fnq$a arg7, int arg8, int arg9, boolean arg10)
drawInBatch(Component 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_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, boolean arg10)
draw(Text text, float x, float y, int color, boolean shadow, org.joml.Matrix4f matrix, VertexConsumerProvider vertexConsumers, TextRenderer$TextLayerType layerType, int backgroundColor, int light, boolean swapZIndex)
public int
a(azq arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, gll arg6, fnq$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)
public void
a(azq arg0, float arg1, float arg2, int arg3, int arg4, org.joml.Matrix4f arg5, gll 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)
private static int
a(int arg0)
adjustColor(int arg0)
method_27515(int arg0)
tweakTransparency(int argb)
private int
a(String arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, gll arg6, fnq$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)
private int
a(azq arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, gll arg6, fnq$a arg7, int arg8, int arg9, boolean arg10)
drawInternal(FormattedCharSequence 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_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, boolean arg10)
drawInternal(OrderedText text, float x, float y, int color, boolean shadow, org.joml.Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, TextRenderer$TextLayerType layerType, int backgroundColor, int light, boolean swapZIndex)
private float
b(String arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, gll arg6, fnq$a arg7, int arg8, int arg9, boolean arg10)
renderText(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_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, boolean arg10)
drawLayer(String text, float x, float y, int color, boolean shadow, org.joml.Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, TextRenderer$TextLayerType layerType, int backgroundColor, int light, boolean swapZIndex)
private float
b(azq arg0, float arg1, float arg2, int arg3, boolean arg4, org.joml.Matrix4f arg5, gll arg6, fnq$a arg7, int arg8, int arg9, boolean arg10)
renderText(FormattedCharSequence 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_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, boolean arg10)
drawLayer(OrderedText text, float x, float y, int color, boolean shadow, org.joml.Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, TextRenderer$TextLayerType layerType, int backgroundColor, int light, boolean swapZIndex)
public int
b(String arg0)
width(String arg0)
method_1727(String arg0)
getWidth(String text)
public int
a(ya arg0)
width(FormattedText arg0)
method_27525(class_5348 arg0)
getWidth(StringVisitable text)
public int
a(azq arg0)
width(FormattedCharSequence arg0)
method_30880(class_5481 arg0)
getWidth(OrderedText text)
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)
public String
a(String arg0, int arg1)
plainSubstrByWidth(String arg0, int arg1)
method_27523(String arg0, int arg1)
trimToWidth(String text, int maxWidth)
public FormattedText
a(ya arg0, int arg1)
substrByWidth(FormattedText arg0, int arg1)
method_1714(class_5348 arg0, int arg1)
trimToWidth(StringVisitable text, int width)
public int
b(String arg0, int arg1)
wordWrapHeight(String arg0, int arg1)
method_1713(String arg0, int arg1)
getWrappedLinesHeight(String text, int maxWidth)
public int
b(ya arg0, int arg1)
wordWrapHeight(FormattedText arg0, int arg1)
method_44378(class_5348 arg0, int arg1)
getWrappedLinesHeight(StringVisitable text, int maxWidth)
public List<FormattedCharSequence>
c(ya arg0, int arg1)
split(FormattedText arg0, int arg1)
method_1728(class_5348 arg0, int arg1)
wrapLines(StringVisitable text, int width)
public boolean
a()
isBidirectional()
method_1726()
isRightToLeft()
public StringSplitter
b()
getSplitter()
method_27527()
getTextHandler()