Package net.minecraft.client.font
Class UnihexFont
java.lang.Object
net.minecraft.client.font.UnihexFont
- All Implemented Interfaces:
AutoCloseable
,Font
- Mappings:
Namespace Name official evs
intermediary net/minecraft/class_391
named net/minecraft/client/font/UnihexFont
-
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
-
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
-
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) @Nullable Glyph
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 official a
Levs;a:Lorg/slf4j/Logger;
intermediary field_2303
Lnet/minecraft/class_391;field_2303:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/font/UnihexFont;LOGGER:Lorg/slf4j/Logger;
-
field_44764
private static final int field_44764- See Also:
- Mappings:
Namespace Name Mixin selector official b
Levs;b:I
intermediary field_44764
Lnet/minecraft/class_391;field_44764:I
named field_44764
Lnet/minecraft/client/font/UnihexFont;field_44764:I
-
field_44765
private static final int field_44765- See Also:
- Mappings:
Namespace Name Mixin selector official c
Levs;c:I
intermediary field_44765
Lnet/minecraft/class_391;field_44765:I
named field_44765
Lnet/minecraft/client/font/UnihexFont;field_44765:I
-
field_44766
private static final int field_44766- See Also:
- Mappings:
Namespace Name Mixin selector official d
Levs;d:I
intermediary field_44766
Lnet/minecraft/class_391;field_44766:I
named field_44766
Lnet/minecraft/client/font/UnihexFont;field_44766:I
-
field_44767
private static final int field_44767- See Also:
- Mappings:
Namespace Name Mixin selector official e
Levs;e:I
intermediary field_44767
Lnet/minecraft/class_391;field_44767:I
named field_44767
Lnet/minecraft/client/font/UnihexFont;field_44767:I
-
field_44768
private static final int field_44768- See Also:
- Mappings:
Namespace Name Mixin selector official f
Levs;f:I
intermediary field_44768
Lnet/minecraft/class_391;field_44768:I
named field_44768
Lnet/minecraft/client/font/UnihexFont;field_44768:I
-
field_44769
private static final int field_44769- See Also:
- Mappings:
Namespace Name Mixin selector official g
Levs;g:I
intermediary field_44769
Lnet/minecraft/class_391;field_44769:I
named field_44769
Lnet/minecraft/client/font/UnihexFont;field_44769:I
-
glyphs
- Mappings:
Namespace Name Mixin selector official h
Levs;h:Levc;
intermediary field_44770
Lnet/minecraft/class_391;field_44770:Lnet/minecraft/class_8532;
named glyphs
Lnet/minecraft/client/font/UnihexFont;glyphs:Lnet/minecraft/client/font/GlyphContainer;
-
-
Constructor Details
-
UnihexFont
UnihexFont(GlyphContainer<UnihexFont.UnicodeTextureGlyph> glyphs) - Mappings:
Namespace Name Mixin selector official <init>
Levs;<init>(Levc;)V
intermediary <init>
Lnet/minecraft/class_391;<init>(Lnet/minecraft/class_8532;)V
named <init>
Lnet/minecraft/client/font/UnihexFont;<init>(Lnet/minecraft/client/font/GlyphContainer;)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 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;
-
addRowPixels
- Mappings:
Namespace Name Mixin selector official a
Levs;a(Ljava/nio/IntBuffer;III)V
intermediary method_51655
Lnet/minecraft/class_391;method_51655(Ljava/nio/IntBuffer;III)V
named addRowPixels
Lnet/minecraft/client/font/UnihexFont;addRowPixels(Ljava/nio/IntBuffer;III)V
-
addGlyphPixels
- Mappings:
Namespace Name Mixin selector official a
Levs;a(Ljava/nio/IntBuffer;Levs$f;II)V
intermediary method_51656
Lnet/minecraft/class_391;method_51656(Ljava/nio/IntBuffer;Lnet/minecraft/class_391$class_8544;II)V
named addGlyphPixels
Lnet/minecraft/client/font/UnihexFont;addGlyphPixels(Ljava/nio/IntBuffer;Lnet/minecraft/client/font/UnihexFont$BitmapGlyph;II)V
-
readLines
static void readLines(InputStream stream, UnihexFont.BitmapGlyphConsumer callback) throws IOException - Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Levs;a(Ljava/io/InputStream;Levs$h;)V
intermediary method_51653
Lnet/minecraft/class_391;method_51653(Ljava/io/InputStream;Lnet/minecraft/class_391$class_8546;)V
named readLines
Lnet/minecraft/client/font/UnihexFont;readLines(Ljava/io/InputStream;Lnet/minecraft/client/font/UnihexFont$BitmapGlyphConsumer;)V
-
getHexDigitValue
- Mappings:
Namespace Name Mixin selector official a
Levs;a(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
named getHexDigitValue
Lnet/minecraft/client/font/UnihexFont;getHexDigitValue(ILit/unimi/dsi/fastutil/bytes/ByteList;I)I
-
getHexDigitValue
private static int getHexDigitValue(int lineNum, byte digit) - Mappings:
Namespace Name Mixin selector official a
Levs;a(IB)I
intermediary method_51651
Lnet/minecraft/class_391;method_51651(IB)I
named getHexDigitValue
Lnet/minecraft/client/font/UnihexFont;getHexDigitValue(IB)I
-
readUntilDelimiter
private static boolean readUntilDelimiter(InputStream stream, ByteList data, int delimiter) throws IOException - Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Levs;a(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
named readUntilDelimiter
Lnet/minecraft/client/font/UnihexFont;readUntilDelimiter(Ljava/io/InputStream;Lit/unimi/dsi/fastutil/bytes/ByteList;I)Z
-