Package net.minecraft.client.gui.fonts
Class Font
java.lang.Object
net.minecraft.client.gui.fonts.Font
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.Int2ObjectMap<IGlyph>
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<TexturedGlyph>
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntList>
private TexturedGlyph
private final ResourceLocation
private final List<IGlyphProvider>
private static final Random
private static final EmptyGlyph
private static final IGlyph
private final TextureManager
private final List<FontTexture>
private TexturedGlyph
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private void
private void
getGlyph
(int p_238559_1_) getGlyphInfo
(int p_238557_1_) getRandomGlyph
(IGlyph p_211188_1_) private IGlyphInfo
getRaw
(int p_212455_1_) void
reload
(List<IGlyphProvider> p_211570_1_) private TexturedGlyph
stitch
(IGlyphInfo p_211185_1_)
-
Field Details
-
SPACE_GLYPH
-
SPACE_INFO
-
RANDOM
-
textureManager
-
name
-
missingGlyph
-
whiteGlyph
-
providers
-
glyphs
-
glyphInfos
-
glyphsByWidth
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntList> glyphsByWidth -
textures
-
-
Constructor Details
-
Font
-
-
Method Details
-
reload
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
closeProviders
private void closeProviders() -
closeTextures
private void closeTextures() -
getGlyphInfo
-
getRaw
-
getGlyph
-
stitch
-
getRandomGlyph
-
whiteGlyph
-