Class UnicodeTextureGlyphProvider
java.lang.Object
net.minecraft.client.gui.fonts.providers.UnicodeTextureGlyphProvider
- All Implemented Interfaces:
Closeable,AutoCloseable,IGlyphProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.apache.logging.log4j.Loggerprivate final IResourceManagerprivate final byte[]private final Stringprivate final Map<ResourceLocation,NativeImage> -
Constructor Summary
ConstructorsConstructorDescriptionUnicodeTextureGlyphProvider(IResourceManager p_i49737_1_, byte[] p_i49737_2_, String p_i49737_3_) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getGlyph(int p_212248_1_) private static intgetLeft(byte p_212453_0_) private static intgetRight(byte p_212454_0_) private ResourceLocationgetSheetLocation(int p_238591_1_) it.unimi.dsi.fastutil.ints.IntSetprivate NativeImageloadTexture(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:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceIGlyphProvider
-
getSheetLocation
-
getGlyph
- Specified by:
getGlyphin interfaceIGlyphProvider
-
getSupportedGlyphs
public it.unimi.dsi.fastutil.ints.IntSet getSupportedGlyphs()- Specified by:
getSupportedGlyphsin interfaceIGlyphProvider
-
loadTexture
-
getLeft
private static int getLeft(byte p_212453_0_) -
getRight
private static int getRight(byte p_212454_0_)
-