Package net.minecraft.client.gui.font
Class FontSet
java.lang.Object
net.minecraft.client.gui.font.FontSet
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.Int2ObjectMap<GlyphInfo>
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<BakedGlyph>
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntList>
private BakedGlyph
private final ResourceLocation
private final List<GlyphProvider>
private static final Random
private static final EmptyGlyph
private static final GlyphInfo
private final TextureManager
private final List<FontTexture>
private BakedGlyph
private static final int
private static final GlyphInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private void
private void
getGlyph
(int p_95079_) getGlyphInfo
(int p_95066_) private GlyphInfo
getGlyphInfoForSpace
(int p_202362_) getRandomGlyph
(GlyphInfo p_95068_) private RawGlyph
getRaw
(int p_95082_) void
reload
(List<GlyphProvider> p_95072_) private BakedGlyph
-
Field Details
-
SPACE_GLYPH
-
SPACE_INFO
-
ZERO_WIDTH_NO_JOIN_INFO
-
ZERO_WIDTH_NO_JOIN_CODEPOINT
private static final int ZERO_WIDTH_NO_JOIN_CODEPOINT- See Also:
-
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
-
FontSet
-
-
Method Details
-
reload
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
closeProviders
private void closeProviders() -
closeTextures
private void closeTextures() -
getGlyphInfoForSpace
-
getGlyphInfo
-
getRaw
-
getGlyph
-
stitch
-
getRandomGlyph
-
whiteGlyph
-