Package net.minecraft.client.gui.font
Class FontSet
java.lang.Object
net.minecraft.client.gui.font.FontSet
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final CodepointMap<FontSet.GlyphInfoFilter>
private final CodepointMap<BakedGlyph>
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntList>
private static final float
private BakedGlyph
private final ResourceLocation
private final List<GlyphProvider>
private static final RandomSource
private final TextureManager
private final List<FontTexture>
private BakedGlyph
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private void
private void
private BakedGlyph
computeBakedGlyph
(int p_232565_) private FontSet.GlyphInfoFilter
computeGlyphInfo
(int p_243321_) getGlyph
(int p_95079_) getGlyphInfo
(int p_243235_, boolean p_243251_) getRandomGlyph
(GlyphInfo p_95068_) private static boolean
hasFishyAdvance
(GlyphInfo p_243323_) void
reload
(List<GlyphProvider> p_95072_) private BakedGlyph
stitch
(SheetGlyphInfo p_232557_)
-
Field Details
-
RANDOM
-
LARGE_FORWARD_ADVANCE
private static final float LARGE_FORWARD_ADVANCE- See Also:
-
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() -
hasFishyAdvance
-
computeGlyphInfo
-
getGlyphInfo
-
computeBakedGlyph
-
getGlyph
-
stitch
-
getRandomGlyph
-
whiteGlyph
-