Package net.minecraft.client.font
Class TrueTypeFontLoader
java.lang.Object
net.minecraft.client.font.TrueTypeFontLoader
- All Implemented Interfaces:
FontLoader
@Environment(CLIENT) public class TrueTypeFontLoader extends Object implements FontLoader
-
Field Summary
Fields Modifier and Type Field Description private String
excludedCharacters
private Identifier
filename
private static Logger
LOGGER
private float
oversample
private float
shiftX
private float
shiftY
private float
size
-
Constructor Summary
Constructors Constructor Description TrueTypeFontLoader(Identifier filename, float size, float oversample, float shiftX, float shiftY, String excludedCharacters)
-
Method Summary
Modifier and Type Method Description static FontLoader
fromJson(JsonObject json)
Font
load(ResourceManager manager)
-
Field Details
-
LOGGER
-
filename
-
size
private final float size -
oversample
private final float oversample -
shiftX
private final float shiftX -
shiftY
private final float shiftY -
excludedCharacters
-
-
Constructor Details
-
TrueTypeFontLoader
public TrueTypeFontLoader(Identifier filename, float size, float oversample, float shiftX, float shiftY, String excludedCharacters)
-
-
Method Details
-
fromJson
-
load
- Specified by:
load
in interfaceFontLoader
-