Package net.minecraft.client.font
Class UnicodeTextureFont
java.lang.Object
net.minecraft.client.font.UnicodeTextureFont
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Font
- Mappings:
Namespace Name official dyx
intermediary net/minecraft/class_391
named net/minecraft/client/font/UnicodeTextureFont
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
private static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static int
private static int
private static int
private Map<Identifier,NativeImage>
(package private) static Logger
private ResourceManager
private byte[]
private String
-
Constructor Summary
ConstructorDescriptionUnicodeTextureFont(ResourceManager resourceManager, byte[] sizes, String template)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private static int
getEnd(byte size)
getGlyph(int codePoint)
private @Nullable NativeImage
getGlyphImage(Identifier glyphId)
private Identifier
getImageId(int codePoint)
Returns the set of code points for which this font can provide glyphs.private static int
getStart(byte size)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Ldyx;a:Lorg/apache/logging/log4j/Logger;
intermediary field_2303
Lnet/minecraft/class_391;field_2303:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/client/font/UnicodeTextureFont;LOGGER:Lorg/apache/logging/log4j/Logger;
-
field_32232
private static final int field_32232- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official b
Ldyx;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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official c
Ldyx;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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official d
Ldyx;d:I
intermediary field_32234
Lnet/minecraft/class_391;field_32234:I
named field_32234
Lnet/minecraft/client/font/UnicodeTextureFont;field_32234:I
-
resourceManager
- Mappings:
Namespace Name Mixin selector official e
Ldyx;e:Ladt;
intermediary field_2302
Lnet/minecraft/class_391;field_2302:Lnet/minecraft/class_3300;
named resourceManager
Lnet/minecraft/client/font/UnicodeTextureFont;resourceManager:Lnet/minecraft/resource/ResourceManager;
-
sizes
private final byte[] sizes- Mappings:
Namespace Name Mixin selector official f
Ldyx;f:[B
intermediary field_2301
Lnet/minecraft/class_391;field_2301:[B
named sizes
Lnet/minecraft/client/font/UnicodeTextureFont;sizes:[B
-
template
- Mappings:
Namespace Name Mixin selector official g
Ldyx;g:Ljava/lang/String;
intermediary field_2300
Lnet/minecraft/class_391;field_2300:Ljava/lang/String;
named template
Lnet/minecraft/client/font/UnicodeTextureFont;template:Ljava/lang/String;
-
images
- Mappings:
Namespace Name Mixin selector official h
Ldyx;h:Ljava/util/Map;
intermediary field_2299
Lnet/minecraft/class_391;field_2299:Ljava/util/Map;
named images
Lnet/minecraft/client/font/UnicodeTextureFont;images:Ljava/util/Map;
-
-
Constructor Details
-
UnicodeTextureFont
- Mappings:
Namespace Name Mixin selector official <init>
Ldyx;<init>(Ladt;[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
-
close
public void close() -
getImageId
- Mappings:
Namespace Name Mixin selector official b
Ldyx;b(I)Lww;
intermediary method_2041
Lnet/minecraft/class_391;method_2041(I)Lnet/minecraft/class_2960;
named getImageId
Lnet/minecraft/client/font/UnicodeTextureFont;getImageId(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:
- a set of integer code points.
- Mappings:
Namespace Name Mixin selector official a
Ldoq;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;
-
getGlyphImage
- Mappings:
Namespace Name Mixin selector official a
Ldyx;a(Lww;)Ldpl;
intermediary method_2042
Lnet/minecraft/class_391;method_2042(Lnet/minecraft/class_2960;)Lnet/minecraft/class_1011;
named getGlyphImage
Lnet/minecraft/client/font/UnicodeTextureFont;getGlyphImage(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/texture/NativeImage;
-
getStart
private static int getStart(byte size)- Mappings:
Namespace Name Mixin selector official a
Ldyx;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
private static int getEnd(byte size)- Mappings:
Namespace Name Mixin selector official b
Ldyx;b(B)I
intermediary method_2044
Lnet/minecraft/class_391;method_2044(B)I
named getEnd
Lnet/minecraft/client/font/UnicodeTextureFont;getEnd(B)I
-