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
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
(package private) static final org.slf4j.Logger
private static final byte
private final LegacyUnicodeBitmapsProvider.Sheet[]
private final byte[]
private static final int
private static final int
private static final int
-
Constructor Summary
ConstructorDescriptionLegacyUnicodeBitmapsProvider
(ResourceManager p_95429_, byte[] p_95430_, String p_95431_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private static String
getCommonSearchPrefix
(Set<ResourceLocation> p_250091_) getGlyph
(int p_232668_) (package private) static int
getLeft
(byte p_95434_) (package private) static int
getRight
(byte p_95441_) private static ResourceLocation
getSheetLocation
(String p_250928_, int p_249330_) it.unimi.dsi.fastutil.ints.IntSet
-
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:
-
TOTAL_CODEPOINTS
private static final int TOTAL_CODEPOINTS- See Also:
-
sizes
private final byte[] sizes -
sheets
-
-
Constructor Details
-
LegacyUnicodeBitmapsProvider
-
-
Method Details
-
getCommonSearchPrefix
-
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
-
getLeft
static int getLeft(byte p_95434_) -
getRight
static int getRight(byte p_95441_)
-