public abstract class SimpleModelFontRenderer extends FontRenderer
charWidth, FONT_HEIGHT, fontRandom, glyphWidth, locationFontTexture, posX, posY
Constructor and Description |
---|
SimpleModelFontRenderer(GameSettings settings,
ResourceLocation font,
TextureManager manager,
boolean isUnicode,
javax.vecmath.Matrix4f matrix,
VertexFormat format) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<BakedQuad> |
build() |
protected void |
doDraw(float shift) |
void |
enableAlpha() |
void |
onResourceManagerReload(IResourceManager resourceManager) |
protected float |
renderDefaultChar(int pos,
boolean italic) |
protected abstract float |
renderUnicodeChar(char c,
boolean italic) |
protected void |
setColor(float r,
float g,
float b,
float a) |
void |
setFillBlanks(boolean fillBlanks) |
void |
setSprite(TextureAtlasSprite sprite) |
bindTexture, drawSplitString, drawString, drawString, drawStringWithShadow, getBidiFlag, getCharWidth, getColorCode, getFormatFromString, getResource, getStringWidth, getUnicodeFlag, getWordWrappedHeight, listFormattedStringToWidth, setBidiFlag, setUnicodeFlag, trimStringToWidth, trimStringToWidth
public SimpleModelFontRenderer(GameSettings settings, ResourceLocation font, TextureManager manager, boolean isUnicode, javax.vecmath.Matrix4f matrix, VertexFormat format)
public void setSprite(TextureAtlasSprite sprite)
public void setFillBlanks(boolean fillBlanks)
protected float renderDefaultChar(int pos, boolean italic)
renderDefaultChar
in class FontRenderer
public void onResourceManagerReload(IResourceManager resourceManager)
onResourceManagerReload
in interface IResourceManagerReloadListener
onResourceManagerReload
in class FontRenderer
protected abstract float renderUnicodeChar(char c, boolean italic)
renderUnicodeChar
in class FontRenderer
protected void doDraw(float shift)
doDraw
in class FontRenderer
protected void setColor(float r, float g, float b, float a)
setColor
in class FontRenderer
public void enableAlpha()
enableAlpha
in class FontRenderer
public com.google.common.collect.ImmutableList<BakedQuad> build()