Class LegacyUnicodeBitmapsProvider
java.lang.Object
net.minecraft.client.gui.font.providers.LegacyUnicodeBitmapsProvider
- All Implemented Interfaces:
GlyphProvider
,Closeable
,AutoCloseable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static int
(package private) static org.apache.logging.log4j.Logger
private ResourceManager
private byte[]
private static int
private String
private Map<ResourceLocation,NativeImage>
private static int
-
Constructor Summary
ConstructorDescriptionLegacyUnicodeBitmapsProvider(ResourceManager p_95429_, byte[] p_95430_, String p_95431_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getGlyph(int p_95436_)
private static int
getLeft(byte p_95434_)
private static int
getRight(byte p_95441_)
private ResourceLocation
getSheetLocation(int p_95443_)
it.unimi.dsi.fastutil.ints.IntSet
private NativeImage
loadTexture(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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceGlyphProvider
-
getSheetLocation
-
getGlyph
- Specified by:
getGlyph
in interfaceGlyphProvider
-
getSupportedGlyphs
public it.unimi.dsi.fastutil.ints.IntSet getSupportedGlyphs()- Specified by:
getSupportedGlyphs
in interfaceGlyphProvider
-
loadTexture
-
getLeft
private static int getLeft(byte p_95434_) -
getRight
private static int getRight(byte p_95441_)
-