Class UnihexFont

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

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

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/font/UnihexFont;LOGGER:Lorg/slf4j/Logger;
      intermediary field_2303 Lnet/minecraft/class_391;field_2303:Lorg/slf4j/Logger;
      official b Lfls;b:Lorg/slf4j/Logger;
    • field_44764

      private static final int field_44764
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_44764 Lnet/minecraft/client/font/UnihexFont;field_44764:I
      intermediary field_44764 Lnet/minecraft/class_391;field_44764:I
      official c Lfls;c:I
    • field_44765

      private static final int field_44765
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_44765 Lnet/minecraft/client/font/UnihexFont;field_44765:I
      intermediary field_44765 Lnet/minecraft/class_391;field_44765:I
      official d Lfls;d:I
    • field_44766

      private static final int field_44766
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_44766 Lnet/minecraft/client/font/UnihexFont;field_44766:I
      intermediary field_44766 Lnet/minecraft/class_391;field_44766:I
      official e Lfls;e:I
    • field_44767

      private static final int field_44767
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_44767 Lnet/minecraft/client/font/UnihexFont;field_44767:I
      intermediary field_44767 Lnet/minecraft/class_391;field_44767:I
      official f Lfls;f:I
    • field_44768

      private static final int field_44768
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_44768 Lnet/minecraft/client/font/UnihexFont;field_44768:I
      intermediary field_44768 Lnet/minecraft/class_391;field_44768:I
      official g Lfls;g:I
    • field_44769

      private static final int field_44769
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_44769 Lnet/minecraft/client/font/UnihexFont;field_44769:I
      intermediary field_44769 Lnet/minecraft/class_391;field_44769:I
      official h Lfls;h:I
    • glyphs

      Mappings:
      Namespace Name Mixin selector
      named glyphs Lnet/minecraft/client/font/UnihexFont;glyphs:Lnet/minecraft/client/font/GlyphContainer;
      intermediary field_44770 Lnet/minecraft/class_391;field_44770:Lnet/minecraft/class_8532;
      official i Lfls;i:Lfla;
  • Constructor Details

    • UnihexFont

      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/font/UnihexFont;<init>(Lnet/minecraft/client/font/GlyphContainer;)V
      intermediary <init> Lnet/minecraft/class_391;<init>(Lnet/minecraft/class_8532;)V
      official <init> Lfls;<init>(Lfla;)V
  • Method Details

    • getGlyph

      @Nullable public @Nullable Glyph getGlyph(int codePoint)
      Specified by:
      getGlyph in interface Font
      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 Lezm;a(I)Lezl;
    • 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
      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 Lezm;a()Lit/unimi/dsi/fastutil/ints/IntSet;
    • addRowPixels

      static void addRowPixels(IntBuffer pixelsOut, int row, int left, int right)
      Mappings:
      Namespace Name Mixin selector
      named addRowPixels Lnet/minecraft/client/font/UnihexFont;addRowPixels(Ljava/nio/IntBuffer;III)V
      intermediary method_51655 Lnet/minecraft/class_391;method_51655(Ljava/nio/IntBuffer;III)V
      official a Lfls;a(Ljava/nio/IntBuffer;III)V
    • addGlyphPixels

      static void addGlyphPixels(IntBuffer pixelsOut, UnihexFont.BitmapGlyph glyph, int left, int right)
      Mappings:
      Namespace Name Mixin selector
      named addGlyphPixels Lnet/minecraft/client/font/UnihexFont;addGlyphPixels(Ljava/nio/IntBuffer;Lnet/minecraft/client/font/UnihexFont$BitmapGlyph;II)V
      intermediary method_51656 Lnet/minecraft/class_391;method_51656(Ljava/nio/IntBuffer;Lnet/minecraft/class_391$class_8544;II)V
      official a Lfls;a(Ljava/nio/IntBuffer;Lfls$f;II)V
    • readLines

      static void readLines(InputStream stream, UnihexFont.BitmapGlyphConsumer callback) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named readLines Lnet/minecraft/client/font/UnihexFont;readLines(Ljava/io/InputStream;Lnet/minecraft/client/font/UnihexFont$BitmapGlyphConsumer;)V
      intermediary method_51653 Lnet/minecraft/class_391;method_51653(Ljava/io/InputStream;Lnet/minecraft/class_391$class_8546;)V
      official a Lfls;a(Ljava/io/InputStream;Lfls$h;)V
    • getHexDigitValue

      static int getHexDigitValue(int lineNum, ByteList bytes, int index)
      Mappings:
      Namespace Name Mixin selector
      named getHexDigitValue Lnet/minecraft/client/font/UnihexFont;getHexDigitValue(ILit/unimi/dsi/fastutil/bytes/ByteList;I)I
      intermediary method_51652 Lnet/minecraft/class_391;method_51652(ILit/unimi/dsi/fastutil/bytes/ByteList;I)I
      official a Lfls;a(ILit/unimi/dsi/fastutil/bytes/ByteList;I)I
    • getHexDigitValue

      private static int getHexDigitValue(int lineNum, byte digit)
      Mappings:
      Namespace Name Mixin selector
      named getHexDigitValue Lnet/minecraft/client/font/UnihexFont;getHexDigitValue(IB)I
      intermediary method_51651 Lnet/minecraft/class_391;method_51651(IB)I
      official a Lfls;a(IB)I
    • readUntilDelimiter

      private static boolean readUntilDelimiter(InputStream stream, ByteList data, int delimiter) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named readUntilDelimiter Lnet/minecraft/client/font/UnihexFont;readUntilDelimiter(Ljava/io/InputStream;Lit/unimi/dsi/fastutil/bytes/ByteList;I)Z
      intermediary method_51654 Lnet/minecraft/class_391;method_51654(Ljava/io/InputStream;Lit/unimi/dsi/fastutil/bytes/ByteList;I)Z
      official a Lfls;a(Ljava/io/InputStream;Lit/unimi/dsi/fastutil/bytes/ByteList;I)Z