public abstract class SimpleModelFontRenderer extends FontRenderer
Modifier and Type | Field and Description |
---|---|
private float |
a |
private float |
b |
private com.google.common.collect.ImmutableList.Builder<BakedQuad> |
builder |
private boolean |
fillBlanks |
private float |
g |
private Vector3f |
normal |
private Direction |
orientation |
private float |
r |
private TextureAtlasSprite |
sprite |
private TransformationMatrix |
transform |
private Vector4f |
vec |
FONT_HEIGHT, random
Constructor and Description |
---|
SimpleModelFontRenderer(GameSettings settings,
ResourceLocation font,
TextureManager manager,
boolean isUnicode,
Matrix4f matrix) |
Modifier and Type | Method and Description |
---|---|
private void |
addVertex(BakedQuadBuilder quadBuilder,
float x,
float y,
float u,
float v) |
com.google.common.collect.ImmutableList<BakedQuad> |
build() |
void |
setFillBlanks(boolean fillBlanks) |
void |
setSprite(TextureAtlasSprite sprite) |
bidiReorder, close, drawSplitString, drawString, drawStringWithShadow, getBidiFlag, getCharWidth, getStringWidth, getWordPosition, getWordWrappedHeight, listFormattedStringToWidth, renderString, setBidiFlag, setGlyphProviders, sizeStringToWidth, trimStringToWidth, trimStringToWidth, wrapFormattedStringToWidth
private float r
private float g
private float b
private float a
private final TransformationMatrix transform
private com.google.common.collect.ImmutableList.Builder<BakedQuad> builder
private final Vector3f normal
private final Direction orientation
private boolean fillBlanks
private TextureAtlasSprite sprite
private final Vector4f vec
public SimpleModelFontRenderer(GameSettings settings, ResourceLocation font, TextureManager manager, boolean isUnicode, Matrix4f matrix)
public void setSprite(TextureAtlasSprite sprite)
public void setFillBlanks(boolean fillBlanks)
private void addVertex(BakedQuadBuilder quadBuilder, float x, float y, float u, float v)
public com.google.common.collect.ImmutableList<BakedQuad> build()