net.minecraft.client.gui

public class Font

implements AutoCloseable

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

Field summary

Modifier and TypeField
public final int
a
lineHeight
field_2000
fontHeight
field_78288_b
public final Random
b
random
field_2001
random
field_78289_c
private final TextureManager
c
textureManager
field_1998
textureManager
field_78298_i
private final FontSet
d
fonts
field_1997
fontStorage
field_211127_e
private boolean
e
bidirectional
field_1999
rightToLeft
field_78294_m

Constructor summary

ModifierConstructor
public (TextureManager textureManager, FontSet fontStorage)

Method summary

Modifier and TypeMethod
public void
a(List<cwz> arg0)
reload(List<GlyphProvider> arg0)
method_1715(List<class_390> arg0)
setFonts(List<Font> fonts)
func_211568_a(List<IGlyphProvider> arg0)
public void
close()
close()
close()
close()
public int
a(String arg0, float arg1, float arg2, int arg3)
drawShadow(String arg0, float arg1, float arg2, int arg3)
method_1720(String arg0, float arg1, float arg2, int arg3)
drawWithShadow(String text, float x, float y, int color)
func_175063_a(String arg0, float arg1, float arg2, int arg3)
public int
b(String arg0, float arg1, float arg2, int arg3)
draw(String arg0, float arg1, float arg2, int arg3)
method_1729(String arg0, float arg1, float arg2, int arg3)
draw(String text, float x, float y, int color)
func_211126_b(String arg0, float arg1, float arg2, int arg3)
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)
drawInternal(String arg0, float arg1, float arg2, int arg3, Matrix4f arg4, boolean arg5)
method_22941(String arg0, float arg1, float arg2, int arg3, class_1159 arg4, boolean arg5)
draw(String text, float x, float y, int color, Matrix4f matrix, boolean shadow)
func_228078_a_(String 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, dqt 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_22942(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 vertexConsumerProvider, 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)
private int
b(String arg0, float arg1, float arg2, int arg3, boolean arg4, b arg5, dqt arg6, boolean arg7, int arg8, int arg9)
drawInternal(String arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, MultiBufferSource arg6, boolean arg7, int arg8, int arg9)
method_1723(String arg0, float arg1, float arg2, int arg3, boolean arg4, class_1159 arg5, class_4597 arg6, boolean arg7, int arg8, int arg9)
drawInternal(String text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, boolean seeThrough, int backgroundColor, int light)
func_228080_b_(String arg0, float arg1, float arg2, int arg3, boolean arg4, Matrix4f arg5, IRenderTypeBuffer arg6, boolean arg7, int arg8, int arg9)
private float
c(String arg0, float arg1, float arg2, int arg3, boolean arg4, b arg5, dqt 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 void
a(dej arg0, boolean arg1, boolean arg2, float arg3, float arg4, float arg5, b arg6, cyo 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)
getStringWidth(String text)
func_78256_a(String arg0)
public float
a(char arg0)
charWidth(char arg0)
method_1725(char arg0)
getCharWidth(char character)
func_211125_a(char arg0)
public String
a(String arg0, int arg1)
substrByWidth(String arg0, int arg1)
method_1714(String arg0, int arg1)
trimToWidth(String text, int width)
func_78269_a(String arg0, int arg1)
public String
a(String arg0, int arg1, boolean arg2)
substrByWidth(String arg0, int arg1, boolean arg2)
method_1711(String arg0, int arg1, boolean arg2)
trimToWidth(String text, int width, boolean rightToLeft)
func_78262_a(String arg0, int arg1, boolean arg2)
private String
c(String arg0)
eraseTrailingNewLines(String arg0)
method_1718(String arg0)
trimEndNewlines(String text)
func_78273_d(String arg0)
public void
a(String arg0, int arg1, int arg2, int arg3, int arg4)
drawWordWrap(String arg0, int arg1, int arg2, int arg3, int arg4)
method_1712(String arg0, int arg1, int arg2, int arg3, int arg4)
drawTrimmed(String text, int x, int y, int maxWidth, int color)
func_78279_b(String arg0, int arg1, int arg2, int arg3, int arg4)
private void
b(String arg0, int arg1, int arg2, int arg3, int arg4)
drawWordWrapInternal(String arg0, int arg1, int arg2, int arg3, int arg4)
method_1717(String arg0, int arg1, int arg2, int arg3, int arg4)
drawWrapped(String text, int x, int y, int maxWidth, int color)
func_211124_b(String 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 void
a(boolean arg0)
setBidirectional(boolean arg0)
method_1719(boolean arg0)
setRightToLeft(boolean rightToLeft)
func_78275_b(boolean arg0)
public List<String>
c(String arg0, int arg1)
split(String arg0, int arg1)
method_1728(String arg0, int arg1)
wrapStringToWidthAsList(String text, int width)
func_78271_c(String arg0, int arg1)
public String
d(String arg0, int arg1)
insertLineBreaks(String arg0, int arg1)
method_1722(String arg0, int arg1)
wrapStringToWidth(String text, int width)
func_78280_d(String arg0, int arg1)
public int
e(String arg0, int arg1)
indexAtWidth(String arg0, int arg1)
method_1716(String arg0, int arg1)
getCharacterCountForWidth(String text, int offset)
func_78259_e(String arg0, int arg1)
public int
a(String arg0, int arg1, int arg2, boolean arg3)
getWordPosition(String arg0, int arg1, int arg2, boolean arg3)
method_16196(String arg0, int arg1, int arg2, boolean arg3)
findWordEdge(String text, int direction, int position, boolean skipWhitespaceToRightOfWord)
func_216863_a(String arg0, int arg1, int arg2, boolean arg3)
public boolean
a()
isBidirectional()
method_1726()
isRightToLeft()
func_78260_a()