net.minecraft.client.gui

public class Font

implements AutoCloseable

cyu
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<ctw> 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, boolean arg4)
drawInternal(String arg0, float arg1, float arg2, int arg3, boolean arg4)
method_1723(String arg0, float arg1, float arg2, int arg3, boolean arg4)
draw(String str, float x, float y, int color, boolean withShadow)
func_180455_b(String arg0, float arg1, float arg2, int arg3, boolean arg4)
private float
b(String arg0, float arg1, float arg2, int arg3, boolean arg4)
renderText(String arg0, float arg1, float arg2, int arg3, boolean arg4)
method_1724(String arg0, float arg1, float arg2, int arg3, boolean arg4)
drawLayer(String str, float x, float y, int color, boolean isShadow)
func_211843_b(String arg0, float arg1, float arg2, int arg3, boolean arg4)
private void
a(dav arg0, boolean arg1, boolean arg2, float arg3, float arg4, float arg5, cuw arg6, float arg7, float arg8, float arg9, float arg10)
renderChar(BakedGlyph arg0, boolean arg1, boolean arg2, float arg3, float arg4, float arg5, BufferBuilder arg6, float arg7, float arg8, float arg9, float arg10)
method_1710(class_382 arg0, boolean arg1, boolean arg2, float arg3, float arg4, float arg5, class_287 arg6, float arg7, float arg8, float arg9, float arg10)
drawGlyph(GlyphRenderer glyphRenderer, boolean bold, boolean strikethrough, float boldOffset, float x, float y, BufferBuilder buffer, float red, float green, float blue, float alpha)
func_212452_a(TexturedGlyph arg0, boolean arg1, boolean arg2, float arg3, float arg4, float arg5, BufferBuilder arg6, float arg7, float arg8, float arg9, float arg10)
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()