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 int(package private) static org.apache.logging.log4j.Loggerprivate ResourceManagerprivate byte[]private static intprivate Stringprivate Map<ResourceLocation,NativeImage>private static 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.apache.logging.log4j.Logger LOGGER -
UNICODE_SHEETS
private static final int UNICODE_SHEETS- See Also:
- Constant Field Values
-
CHARS_PER_SHEET
private static final int CHARS_PER_SHEET- See Also:
- Constant Field Values
-
TEXTURE_SIZE
private static final int TEXTURE_SIZE- See Also:
- Constant Field Values
-
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_)
-