net.minecraft.client.font

public class FontStorage

implements AutoCloseable

net.minecraft.client.gui.font.FontSet
net.minecraft.client.gui.font.FontSet
net.minecraft.class_377
net.minecraft.client.font.FontStorage

Field summary

Modifier and TypeField
private static final float
LARGE_FORWARD_ADVANCE
LARGE_FORWARD_ADVANCE
field_39934
MAX_ADVANCE
private static final BakedGlyph
INVISIBLE_MISSING_GLYPH
INVISIBLE_MISSING_GLYPH
field_62135
MISSING_GLYPH
private final GlyphBaker
stitcher
stitcher
field_61611
glyphBaker
private final Glyph$AbstractGlyphBaker
wrappedStitcher
wrappedStitcher
field_62136
abstractBaker
private List<Font$FontFilterPair>
allProviders
allProviders
field_49120
allFonts
private List<Font>
activeProviders
activeProviders
field_49121
availableFonts
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntList>
glyphsByWidth
glyphsByWidth
field_2249
charactersByWidth
private final GlyphContainer<FontStorage$GlyphPair>
glyphCache
glyphCache
field_61612
bakedGlyphCache
private final IntFunction<FontStorage$GlyphPair>
glyphGetter
glyphGetter
field_54820
findGlyph
private BakedGlyph
missingGlyph
missingGlyph
field_2256
blankBakedGlyph
private final Supplier<BakedGlyph>
missingGlyphGetter
missingGlyphGetter
field_62137
blankGlyphSupplier
private final FontStorage$GlyphPair
missingSelectedGlyphs
missingSelectedGlyphs
field_61613
blankBakedGlyphPair
private EffectGlyph
whiteGlyph
whiteGlyph
field_20910
whiteRectangleBakedGlyph
private final GlyphProvider
anyGlyphs
anyGlyphs
field_61614
anyGlyphs
private final GlyphProvider
nonFishyGlyphs
nonFishyGlyphs
field_61615
advanceValidatingGlyphs

Constructor summary

ModifierConstructor
public (GlyphBaker baker)

Method summary

Modifier and TypeMethod
public void
reload(List<GlyphProvider$Conditional> providers, Set<FontOption> options)
reload(List<GlyphProvider$Conditional> providers, Set<FontOption> options)
method_2004(List<class_390$class_9241> arg0, Set<class_9243> arg1)
setFonts(List<Font$FontFilterPair> allFonts, Set<FontFilterType> activeFilters)
public void
reload(Set<FontOption> options)
reload(Set<FontOption> options)
method_57036(Set<class_9243> arg0)
setActiveFilters(Set<FontFilterType> activeFilters)
private void
resetTextures()
resetTextures()
method_57038()
clear()
private List<Font>
selectProviders(List<GlyphProvider$Conditional> providers, Set<FontOption> options)
selectProviders(List<GlyphProvider$Conditional> providers, Set<FontOption> options)
method_57037(List<class_390$class_9241> arg0, Set<class_9243> arg1)
applyFilters(List<Font$FontFilterPair> allFonts, Set<FontFilterType> activeFilters)
public void
close()
close()
private static boolean
hasFishyAdvance(GlyphInfo glyph)
hasFishyAdvance(GlyphInfo glyph)
method_45079(class_379 arg0)
isAdvanceInvalid(GlyphMetrics glyph)
private FontStorage$GlyphPair
computeGlyphInfo(int codepoint)
computeGlyphInfo(int codepoint)
method_40038(int arg0)
findGlyph(int codePoint)
private FontStorage$GlyphPair
getGlyph(int codepoint)
getGlyph(int codepoint)
method_2014(int arg0)
getBaked(int codePoint)
public BakedGlyph
getRandomGlyph(RandomSource random, int width)
getRandomGlyph(RandomSource random, int width)
method_2013(class_5819 arg0, int arg1)
getObfuscatedBakedGlyph(Random random, int width)
public EffectGlyph
whiteGlyph()
whiteGlyph()
method_22943()
getRectangleBakedGlyph()
public GlyphProvider
source(boolean nonFishyOnly)
source(boolean nonFishyOnly)
method_72788(boolean arg0)
getGlyphs(boolean advanceValidating)