Class UnicodeTextureGlyphProvider
java.lang.Object
net.minecraft.client.gui.fonts.providers.UnicodeTextureGlyphProvider
- All Implemented Interfaces:
Closeable
,AutoCloseable
,IGlyphProvider
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.apache.logging.log4j.Logger
private final IResourceManager
private final byte[]
private final String
private final Map<ResourceLocation,
NativeImage> -
Constructor Summary
ConstructorDescriptionUnicodeTextureGlyphProvider
(IResourceManager p_i49737_1_, byte[] p_i49737_2_, String p_i49737_3_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getGlyph
(int p_212248_1_) private static int
getLeft
(byte p_212453_0_) private static int
getRight
(byte p_212454_0_) private ResourceLocation
getSheetLocation
(int p_238591_1_) it.unimi.dsi.fastutil.ints.IntSet
private NativeImage
loadTexture
(ResourceLocation p_211255_1_)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
resourceManager
-
sizes
private final byte[] sizes -
texturePattern
-
textures
-
-
Constructor Details
-
UnicodeTextureGlyphProvider
public UnicodeTextureGlyphProvider(IResourceManager p_i49737_1_, byte[] p_i49737_2_, String p_i49737_3_)
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceIGlyphProvider
-
getSheetLocation
-
getGlyph
- Specified by:
getGlyph
in interfaceIGlyphProvider
-
getSupportedGlyphs
public it.unimi.dsi.fastutil.ints.IntSet getSupportedGlyphs()- Specified by:
getSupportedGlyphs
in interfaceIGlyphProvider
-
loadTexture
-
getLeft
private static int getLeft(byte p_212453_0_) -
getRight
private static int getRight(byte p_212454_0_)
-