Package net.minecraft.client.font
Class UnicodeTextureFont
java.lang.Object
net.minecraft.client.font.UnicodeTextureFont
- All Implemented Interfaces:
Closeable,AutoCloseable,Font
@Environment(CLIENT) public class UnicodeTextureFont extends Object implements Font
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnicodeTextureFont.Loader(package private) static classUnicodeTextureFont.UnicodeTextureGlyph -
Field Summary
Fields Modifier and Type Field Description private Map<Identifier,NativeImage>imagesprivate static LoggerLOGGERprivate ResourceManagerresourceManagerprivate byte[]sizesprivate Stringtemplate -
Constructor Summary
Constructors Constructor Description UnicodeTextureFont(ResourceManager resourceManager, byte[] sizes, String template) -
Method Summary
Modifier and Type Method Description voidclose()private static intgetEnd(byte size)RenderableGlyphgetGlyph(int int2)private NativeImagegetGlyphImage(Identifier glyphId)private IdentifiergetImageId(int int2)private static intgetStart(byte size)IntSetmethod_27442()
-
Field Details
-
LOGGER
-
resourceManager
-
sizes
private final byte[] sizes -
template
-
images
-
-
Constructor Details
-
Method Details
-
close
public void close() -
getImageId
-
getGlyph
-
method_27442
- Specified by:
method_27442in interfaceFont
-
getGlyphImage
-
getStart
private static int getStart(byte size) -
getEnd
private static int getEnd(byte size)
-