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 List
<GlyphProvider> private List
<GlyphProvider.Conditional> private 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 static final RandomSource
private final TextureManager
private final List
<FontTexture> private BakedGlyph
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
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_) name()
void
reload
(List<GlyphProvider.Conditional> p_332248_, Set<FontOption> p_329677_) void
reload
(Set<FontOption> p_331404_) private void
private List
<GlyphProvider> selectProviders
(List<GlyphProvider.Conditional> p_328855_, Set<FontOption> p_331640_) 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
-
allProviders
-
activeProviders
-
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
-
reload
-
resetTextures
private void resetTextures() -
selectProviders
private List<GlyphProvider> selectProviders(List<GlyphProvider.Conditional> p_328855_, Set<FontOption> p_331640_) -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
closeTextures
private void closeTextures() -
hasFishyAdvance
-
computeGlyphInfo
-
getGlyphInfo
-
computeBakedGlyph
-
getGlyph
-
stitch
-
getRandomGlyph
-
name
-
whiteGlyph
-