Class FontSet

java.lang.Object
net.minecraft.client.gui.font.FontSet
All Implemented Interfaces:
AutoCloseable

public class FontSet extends Object implements AutoCloseable
  • Field Details

    • SPACE_GLYPH

      private static final EmptyGlyph SPACE_GLYPH
    • SPACE_INFO

      private static final GlyphInfo SPACE_INFO
    • RANDOM

      private static final Random RANDOM
    • textureManager

      private final TextureManager textureManager
    • name

      private final ResourceLocation name
    • missingGlyph

      private BakedGlyph missingGlyph
    • whiteGlyph

      private BakedGlyph whiteGlyph
    • providers

      private final List<GlyphProvider> providers
    • glyphs

      private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<BakedGlyph> glyphs
    • glyphInfos

      private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<GlyphInfo> glyphInfos
    • glyphsByWidth

      private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntList> glyphsByWidth
    • textures

      private final List<FontTexture> textures
  • Constructor Details

  • Method Details

    • reload

      public void reload(List<GlyphProvider> p_95072_)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • closeProviders

      private void closeProviders()
    • closeTextures

      private void closeTextures()
    • getGlyphInfo

      public GlyphInfo getGlyphInfo(int p_95066_)
    • getRaw

      private RawGlyph getRaw(int p_95082_)
    • getGlyph

      public BakedGlyph getGlyph(int p_95079_)
    • stitch

      private BakedGlyph stitch(RawGlyph p_95070_)
    • getRandomGlyph

      public BakedGlyph getRandomGlyph(GlyphInfo p_95068_)
    • whiteGlyph

      public BakedGlyph whiteGlyph()