Package net.minecraft.client.font
Class UnicodeTextureFont
java.lang.Object
net.minecraft.client.font.UnicodeTextureFont
- All Implemented Interfaces:
AutoCloseable
,Font
- Mappings:
Namespace Name official enf
intermediary net/minecraft/class_391
named net/minecraft/client/font/UnicodeTextureFont
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
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 byte
private static final int
private final UnicodeTextureFont.FontImage[]
(package private) static final Logger
private final byte[]
-
Constructor Summary
ConstructorDescriptionUnicodeTextureFont
(ResourceManager resourceManager, byte[] sizes, String template) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private static String
getCommonPath
(Set<Identifier> ids) (package private) static int
getEnd
(byte size) getGlyph
(int codePoint) private static Identifier
getImageId
(String template, int codePoint) Returns the set of code points for which this font can provide glyphs.(package private) static int
getStart
(byte size)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lenf;a:Lorg/slf4j/Logger;
intermediary field_2303
Lnet/minecraft/class_391;field_2303:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/font/UnicodeTextureFont;LOGGER:Lorg/slf4j/Logger;
-
field_32232
private static final int field_32232- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lenf;b:I
intermediary field_32232
Lnet/minecraft/class_391;field_32232:I
named field_32232
Lnet/minecraft/client/font/UnicodeTextureFont;field_32232:I
-
field_32233
private static final int field_32233- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lenf;c:I
intermediary field_32233
Lnet/minecraft/class_391;field_32233:I
named field_32233
Lnet/minecraft/client/font/UnicodeTextureFont;field_32233:I
-
field_32234
private static final int field_32234- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lenf;d:I
intermediary field_32234
Lnet/minecraft/class_391;field_32234:I
named field_32234
Lnet/minecraft/client/font/UnicodeTextureFont;field_32234:I
-
field_37905
private static final byte field_37905- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lenf;e:B
intermediary field_37905
Lnet/minecraft/class_391;field_37905:B
named field_37905
Lnet/minecraft/client/font/UnicodeTextureFont;field_37905:B
-
field_40410
private static final int field_40410- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lenf;f:I
intermediary field_40410
Lnet/minecraft/class_391;field_40410:I
named field_40410
Lnet/minecraft/client/font/UnicodeTextureFont;field_40410:I
-
sizes
private final byte[] sizes- Mappings:
Namespace Name Mixin selector official g
Lenf;g:[B
intermediary field_2301
Lnet/minecraft/class_391;field_2301:[B
named sizes
Lnet/minecraft/client/font/UnicodeTextureFont;sizes:[B
-
fontImages
- Mappings:
Namespace Name Mixin selector official h
Lenf;h:[Lenf$c;
intermediary field_40411
Lnet/minecraft/class_391;field_40411:[Lnet/minecraft/class_391$class_7736;
named fontImages
Lnet/minecraft/client/font/UnicodeTextureFont;fontImages:[Lnet/minecraft/client/font/UnicodeTextureFont$FontImage;
-
-
Constructor Details
-
UnicodeTextureFont
- Mappings:
Namespace Name Mixin selector official <init>
Lenf;<init>(Lake;[BLjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_391;<init>(Lnet/minecraft/class_3300;[BLjava/lang/String;)V
named <init>
Lnet/minecraft/client/font/UnicodeTextureFont;<init>(Lnet/minecraft/resource/ResourceManager;[BLjava/lang/String;)V
-
-
Method Details
-
getCommonPath
- Mappings:
Namespace Name Mixin selector official a
Lenf;a(Ljava/util/Set;)Ljava/lang/String;
intermediary method_45621
Lnet/minecraft/class_391;method_45621(Ljava/util/Set;)Ljava/lang/String;
named getCommonPath
Lnet/minecraft/client/font/UnicodeTextureFont;getCommonPath(Ljava/util/Set;)Ljava/lang/String;
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceFont
-
getImageId
- Mappings:
Namespace Name Mixin selector official a
Lenf;a(Ljava/lang/String;I)Lacf;
intermediary method_2041
Lnet/minecraft/class_391;method_2041(Ljava/lang/String;I)Lnet/minecraft/class_2960;
named getImageId
Lnet/minecraft/client/font/UnicodeTextureFont;getImageId(Ljava/lang/String;I)Lnet/minecraft/util/Identifier;
-
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
Lech;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;
-
getStart
static int getStart(byte size) - Mappings:
Namespace Name Mixin selector official a
Lenf;a(B)I
intermediary method_2043
Lnet/minecraft/class_391;method_2043(B)I
named getStart
Lnet/minecraft/client/font/UnicodeTextureFont;getStart(B)I
-
getEnd
static int getEnd(byte size) - Mappings:
Namespace Name Mixin selector official b
Lenf;b(B)I
intermediary method_2044
Lnet/minecraft/class_391;method_2044(B)I
named getEnd
Lnet/minecraft/client/font/UnicodeTextureFont;getEnd(B)I
-