Package net.minecraft.src
Class FontRenderer
- java.lang.Object
-
- net.minecraft.src.FontRenderer
-
- All Implemented Interfaces:
ResourceReloadListener
@Client public class FontRenderer extends java.lang.Object implements ResourceReloadListener
-
-
Field Summary
Fields Modifier and Type Field Description int
FONT_HEIGHT
java.util.Random
fontRandom
int
fontTextureName
int
maxWidth
-
Constructor Summary
Constructors Constructor Description FontRenderer(GameSettings var1, java.lang.String var2, RenderEngine var3, boolean supportsUnicode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
drawSplitString(java.lang.String var1, int var2, int var3, int var4, int var5)
void
drawString(java.lang.String var1, int var2, int var3, int var4)
int
drawStringWithShadow(java.lang.String var1, int var2, int var3, int var4)
int
func_50101_a(java.lang.String var1, int var2, int var3, int var4, boolean var5)
java.lang.String
func_50104_a(java.lang.String var1, int var2, boolean var3)
java.lang.String
func_50107_a(java.lang.String var1, int var2)
static java.lang.String
func_52014_d(java.lang.String var0)
int
getCharWidth(char var1)
java.util.Collection<ResourceLocation>
getDependencies()
ResourceLocation
getId()
int
getStringWidth(java.lang.String var1)
void
onReload(ResourceManager manager)
void
setBidiFlag(boolean var1)
void
setUnicodeFlag(boolean var1)
int
splitStringWidth(java.lang.String var1, int var2)
java.util.List<java.lang.String>
wrapLines(java.lang.String var1, int var2)
-
-
-
Constructor Detail
-
FontRenderer
public FontRenderer(GameSettings var1, java.lang.String var2, RenderEngine var3, boolean supportsUnicode)
-
-
Method Detail
-
getId
public ResourceLocation getId()
- Specified by:
getId
in interfaceResourceReloadListener
-
getDependencies
public java.util.Collection<ResourceLocation> getDependencies()
- Specified by:
getDependencies
in interfaceResourceReloadListener
-
onReload
public void onReload(ResourceManager manager) throws java.lang.Exception
- Specified by:
onReload
in interfaceResourceReloadListener
- Throws:
java.lang.Exception
-
drawStringWithShadow
public int drawStringWithShadow(java.lang.String var1, int var2, int var3, int var4)
-
drawString
public void drawString(java.lang.String var1, int var2, int var3, int var4)
-
func_50101_a
public int func_50101_a(java.lang.String var1, int var2, int var3, int var4, boolean var5)
-
getStringWidth
public int getStringWidth(java.lang.String var1)
-
getCharWidth
public int getCharWidth(char var1)
-
func_50107_a
public java.lang.String func_50107_a(java.lang.String var1, int var2)
-
func_50104_a
public java.lang.String func_50104_a(java.lang.String var1, int var2, boolean var3)
-
drawSplitString
public void drawSplitString(java.lang.String var1, int var2, int var3, int var4, int var5)
-
splitStringWidth
public int splitStringWidth(java.lang.String var1, int var2)
-
setUnicodeFlag
public void setUnicodeFlag(boolean var1)
-
setBidiFlag
public void setBidiFlag(boolean var1)
-
wrapLines
public java.util.List<java.lang.String> wrapLines(java.lang.String var1, int var2)
-
func_52014_d
public static java.lang.String func_52014_d(java.lang.String var0)
-
-