Interface Font

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

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

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final float
     
  • 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.
  • Field Details

    • field_48382

      static final float field_48382
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_48382 Lnet/minecraft/client/font/Font;field_48382:F
      intermediary field_48382 Lnet/minecraft/class_390;field_48382:F
      official a Leyc;a:F
  • 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
      named getGlyph Lnet/minecraft/client/font/Font;getGlyph(I)Lnet/minecraft/client/font/Glyph;
      intermediary method_2040 Lnet/minecraft/class_390;method_2040(I)Lnet/minecraft/class_379;
      official a Leyc;a(I)Leyb;
    • 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
      named getProvidedGlyphs Lnet/minecraft/client/font/Font;getProvidedGlyphs()Lit/unimi/dsi/fastutil/ints/IntSet;
      intermediary method_27442 Lnet/minecraft/class_390;method_27442()Lit/unimi/dsi/fastutil/ints/IntSet;
      official a Leyc;a()Lit/unimi/dsi/fastutil/ints/IntSet;