Package net.minecraft.client.gui.font
Class FontSet
java.lang.Object
net.minecraft.client.gui.font.FontSet
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.Int2ObjectMap<FontSet.GlyphInfoFilter>private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<BakedGlyph>private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntList>private static final floatprivate BakedGlyphprivate final ResourceLocationprivate final List<GlyphProvider>private static final RandomSourceprivate final TextureManagerprivate final List<FontTexture>private BakedGlyph -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private voidprivate voidprivate BakedGlyphcomputeBakedGlyph(int p_232565_) private FontSet.GlyphInfoFiltercomputeGlyphInfo(int p_243321_) getGlyph(int p_95079_) getGlyphInfo(int p_243235_, boolean p_243251_) getRandomGlyph(GlyphInfo p_95068_) private static booleanhasFishyAdvance(GlyphInfo p_243323_) voidreload(List<GlyphProvider> p_95072_) private BakedGlyphstitch(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:
closein interfaceAutoCloseable
-
closeProviders
private void closeProviders() -
closeTextures
private void closeTextures() -
hasFishyAdvance
-
computeGlyphInfo
-
getGlyphInfo
-
computeBakedGlyph
-
getGlyph
-
stitch
-
getRandomGlyph
-
whiteGlyph
-