类 UnihexProvider

java.lang.Object
net.minecraft.client.gui.font.providers.UnihexProvider
所有已实现的接口:
GlyphProvider, AutoCloseable

public class UnihexProvider extends Object implements GlyphProvider
  • 字段详细资料

    • LOGGER

      static final org.slf4j.Logger LOGGER
    • GLYPH_HEIGHT

      private static final int GLYPH_HEIGHT
      另请参阅:
    • DIGITS_PER_BYTE

      private static final int DIGITS_PER_BYTE
      另请参阅:
    • DIGITS_FOR_WIDTH_8

      private static final int DIGITS_FOR_WIDTH_8
      另请参阅:
    • DIGITS_FOR_WIDTH_16

      private static final int DIGITS_FOR_WIDTH_16
      另请参阅:
    • DIGITS_FOR_WIDTH_24

      private static final int DIGITS_FOR_WIDTH_24
      另请参阅:
    • DIGITS_FOR_WIDTH_32

      private static final int DIGITS_FOR_WIDTH_32
      另请参阅:
    • glyphs

      private final CodepointMap<UnihexProvider.Glyph> glyphs
  • 构造器详细资料

  • 方法详细资料

    • getGlyph

      @Nullable public GlyphInfo getGlyph(int pCharacter)
      指定者:
      getGlyph 在接口中 GlyphProvider
    • getSupportedGlyphs

      public it.unimi.dsi.fastutil.ints.IntSet getSupportedGlyphs()
      指定者:
      getSupportedGlyphs 在接口中 GlyphProvider
    • unpackBitsToBytes

      static void unpackBitsToBytes(IntBuffer pBuffer, int pLineData, int pLeft, int pRight)
    • unpackBitsToBytes

      static void unpackBitsToBytes(IntBuffer pBuffer, UnihexProvider.LineData pLineData, int pLeft, int pRight)
    • readFromStream

      static void readFromStream(InputStream pStream, UnihexProvider.ReaderOutput pOutput) throws IOException
      抛出:
      IOException
    • decodeHex

      static int decodeHex(int pLineNumber, it.unimi.dsi.fastutil.bytes.ByteList pByteList, int pIndex)
    • decodeHex

      private static int decodeHex(int pLineNumber, byte pData)
    • copyUntil

      private static boolean copyUntil(InputStream pStream, it.unimi.dsi.fastutil.bytes.ByteList pByteList, int p_285177_) throws IOException
      抛出:
      IOException