Class LegacyUnicodeBitmapsProvider
java.lang.Object
net.minecraft.client.gui.font.providers.LegacyUnicodeBitmapsProvider
- All Implemented Interfaces:
GlyphProvider
,AutoCloseable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
(package private) static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
(package private) static final org.slf4j.Logger
private static final byte
private final ResourceManager
private final byte[]
private static final int
private final String
private final Map<ResourceLocation,
NativeImage> private static final int
-
Constructor Summary
ConstructorDescriptionLegacyUnicodeBitmapsProvider
(ResourceManager p_95429_, byte[] p_95430_, String p_95431_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getGlyph
(int p_232668_) 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.slf4j.Logger LOGGER -
UNICODE_SHEETS
private static final int UNICODE_SHEETS- See Also:
-
CODEPOINTS_PER_SHEET
private static final int CODEPOINTS_PER_SHEET- See Also:
-
TEXTURE_SIZE
private static final int TEXTURE_SIZE- See Also:
-
NO_GLYPH
private static final byte NO_GLYPH- See Also:
-
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 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_)
-