Class SpaceFont

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

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

    • codePointsToGlyphs

      private final Int2ObjectMap<Glyph.EmptyGlyph> codePointsToGlyphs
      Mappings:
      Namespace Name Mixin selector
      official a Leju;a:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      intermediary field_37842 Lnet/minecraft/class_7166;field_37842:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      named codePointsToGlyphs Lnet/minecraft/client/font/SpaceFont;codePointsToGlyphs:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
  • Constructor Details

    • SpaceFont

      public SpaceFont(Map<Integer,Float> codePointsToAdvances)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leju;<init>(Ljava/util/Map;)V
      intermediary <init> Lnet/minecraft/class_7166;<init>(Ljava/util/Map;)V
      named <init> Lnet/minecraft/client/font/SpaceFont;<init>(Ljava/util/Map;)V
  • Method Details

    • getGlyph

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