Package net.minecraft.client.font
Class UnihexFont
java.lang.Object
net.minecraft.client.font.UnihexFont
- All Implemented Interfaces:
AutoCloseable
,Font
- Mappings:
Namespace Name named net/minecraft/client/font/UnihexFont
intermediary net/minecraft/class_391
official fla
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
private static final record
static final record
private static final record
private static final record
private static final record
static class
private static final record
Nested classes/interfaces inherited from interface net.minecraft.client.font.Font
Font.FontFilterPair
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private final GlyphContainer
<UnihexFont.UnicodeTextureGlyph> (package private) static final Logger
Fields inherited from interface net.minecraft.client.font.Font
field_48382
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static void
addGlyphPixels
(IntBuffer pixelsOut, UnihexFont.BitmapGlyph glyph, int left, int right) (package private) static void
addRowPixels
(IntBuffer pixelsOut, int row, int left, int right) getGlyph
(int codePoint) private static int
getHexDigitValue
(int lineNum, byte digit) (package private) static int
getHexDigitValue
(int lineNum, ByteList bytes, int index) Returns the set of code points for which this font can provide glyphs.(package private) static void
readLines
(InputStream stream, UnihexFont.BitmapGlyphConsumer callback) private static boolean
readUntilDelimiter
(InputStream stream, ByteList data, int delimiter)
-
Field Details
-
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
Lfla;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
Lfla;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
Lfla;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
Lfla;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
Lfla;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
Lfla;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
Lfla;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
Lfla;i:Lfki;
-
-
Constructor Details
-
UnihexFont
UnihexFont(GlyphContainer<UnihexFont.UnicodeTextureGlyph> glyphs) - 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>
Lfla;<init>(Lfki;)V
-
-
Method Details
-
getGlyph
-
getProvidedGlyphs
Returns the set of code points for which this font can provide glyphs.- Specified by:
getProvidedGlyphs
in interfaceFont
- 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
Leyr;a()Lit/unimi/dsi/fastutil/ints/IntSet;
-
addRowPixels
- 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
Lfla;a(Ljava/nio/IntBuffer;III)V
-
addGlyphPixels
- 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
Lfla;a(Ljava/nio/IntBuffer;Lfla$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
Lfla;a(Ljava/io/InputStream;Lfla$h;)V
-
getHexDigitValue
- 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
Lfla;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
Lfla;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
Lfla;a(Ljava/io/InputStream;Lit/unimi/dsi/fastutil/bytes/ByteList;I)Z
-