Class BitmapFont

java.lang.Object
net.minecraft.client.font.BitmapFont
All Implemented Interfaces:
AutoCloseable, Font

@Environment(CLIENT) public class BitmapFont extends Object implements Font
Mappings:
Namespace Name
official erw
intermediary net/minecraft/class_386
named net/minecraft/client/font/BitmapFont
  • Field Details

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lerw;a:Lorg/slf4j/Logger;
      intermediary field_2286 Lnet/minecraft/class_386;field_2286:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/font/BitmapFont;LOGGER:Lorg/slf4j/Logger;
    • image

      private final NativeImage image
      Mappings:
      Namespace Name Mixin selector
      official b Lerw;b:Lehk;
      intermediary field_2285 Lnet/minecraft/class_386;field_2285:Lnet/minecraft/class_1011;
      named image Lnet/minecraft/client/font/BitmapFont;image:Lnet/minecraft/client/texture/NativeImage;
    • glyphs

      Mappings:
      Namespace Name Mixin selector
      official c Lerw;c:Lerl;
      intermediary field_2284 Lnet/minecraft/class_386;field_2284:Lnet/minecraft/class_8532;
      named glyphs Lnet/minecraft/client/font/BitmapFont;glyphs:Lnet/minecraft/client/font/GlyphContainer;
  • Constructor Details

    • BitmapFont

      Mappings:
      Namespace Name Mixin selector
      official <init> Lerw;<init>(Lehk;Lerl;)V
      intermediary <init> Lnet/minecraft/class_386;<init>(Lnet/minecraft/class_1011;Lnet/minecraft/class_8532;)V
      named <init> Lnet/minecraft/client/font/BitmapFont;<init>(Lnet/minecraft/client/texture/NativeImage;Lnet/minecraft/client/font/GlyphContainer;)V
  • Method Details

    • close

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

      @Nullable public @Nullable Glyph getGlyph(int codePoint)
      Specified by:
      getGlyph in interface Font
      Mappings:
      Namespace Name Mixin selector
      official a Legm;a(I)Legl;
      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

      public IntSet getProvidedGlyphs()
      Returns the set of code points for which this font can provide glyphs.
      Specified by:
      getProvidedGlyphs in interface Font
      Returns:
      the set of code points for which this font can provide glyphs
      Mappings:
      Namespace Name Mixin selector
      official a Legm;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;