Interface Font

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

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

    • close

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

      @Nullable default @Nullable RenderableGlyph getGlyph(int codePoint)
      Mappings:
      Namespace Name Mixin selector
      official a Ldqp;a(I)Ldqq;
      intermediary method_2040 Lnet/minecraft/class_390;method_2040(I)Lnet/minecraft/class_383;
      named getGlyph Lnet/minecraft/client/font/Font;getGlyph(I)Lnet/minecraft/client/font/RenderableGlyph;
    • 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 Ldqp;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;