Class LegacyUnicodeBitmapsProvider
java.lang.Object
net.minecraft.client.gui.font.providers.LegacyUnicodeBitmapsProvider
- All Implemented Interfaces:
GlyphProvider,Closeable,AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int(package private) static final org.slf4j.Loggerprivate final ResourceManagerprivate final byte[]private static final intprivate final Stringprivate final Map<ResourceLocation,NativeImage> private static final int -
Constructor Summary
ConstructorsConstructorDescriptionLegacyUnicodeBitmapsProvider(ResourceManager p_95429_, byte[] p_95430_, String p_95431_) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getGlyph(int p_95436_) private static intgetLeft(byte p_95434_) private static intgetRight(byte p_95441_) private ResourceLocationgetSheetLocation(int p_95443_) it.unimi.dsi.fastutil.ints.IntSetprivate NativeImageloadTexture(ResourceLocation p_95438_)
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER -
UNICODE_SHEETS
private static final int UNICODE_SHEETS- See Also:
-
CHARS_PER_SHEET
private static final int CHARS_PER_SHEET- See Also:
-
TEXTURE_SIZE
private static final int TEXTURE_SIZE- See Also:
-
resourceManager
-
sizes
private final byte[] sizes -
texturePattern
-
textures
-
-
Constructor Details
-
LegacyUnicodeBitmapsProvider
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceGlyphProvider
-
getSheetLocation
-
getGlyph
- Specified by:
getGlyphin interfaceGlyphProvider
-
getSupportedGlyphs
public it.unimi.dsi.fastutil.ints.IntSet getSupportedGlyphs()- Specified by:
getSupportedGlyphsin interfaceGlyphProvider
-
loadTexture
-
getLeft
private static int getLeft(byte p_95434_) -
getRight
private static int getRight(byte p_95441_)
-