Interface Font

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
BitmapFont, BlankFont, SpaceFont, TrueTypeFont, UnicodeTextureFont

@Environment(CLIENT) public interface Font extends AutoCloseable
Mappings:
Namespace Name
official ech
intermediary net/minecraft/class_390
named net/minecraft/client/font/Font
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
     
    getGlyph(int codePoint)
     
    Returns the set of code points for which this font can provide glyphs.
  • Method Details

    • close

      default void close()
      Specified by:
      close in interface AutoCloseable
    • getGlyph

      @Nullable default @Nullable Glyph getGlyph(int codePoint)
      Mappings:
      Namespace Name Mixin selector
      official a Lech;a(I)Lecg;
      intermediary method_2040 Lnet/minecraft/class_390;method_2040(I)Lnet/minecraft/class_379;
      named getGlyph Lnet/minecraft/client/font/Font;getGlyph(I)Lnet/minecraft/client/font/Glyph;
    • getProvidedGlyphs

      IntSet getProvidedGlyphs()
      Returns the set of code points for which this font can provide glyphs.
      Returns:
      the set of code points for which this font can provide glyphs
      Mappings:
      Namespace Name Mixin selector
      official a Lech;a()Lit/unimi/dsi/fastutil/ints/IntSet;
      intermediary method_27442 Lnet/minecraft/class_390;method_27442()Lit/unimi/dsi/fastutil/ints/IntSet;
      named getProvidedGlyphs Lnet/minecraft/client/font/Font;getProvidedGlyphs()Lit/unimi/dsi/fastutil/ints/IntSet;