Class BitmapProvider
java.lang.Object
net.minecraft.client.gui.font.providers.BitmapProvider
- All Implemented Interfaces:
GlyphProvider, AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordprivate static final recordprivate static classNested classes/interfaces inherited from interface GlyphProvider
GlyphProvider.Conditional -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CodepointMap<BitmapProvider.Glyph> private final BitmapProvider.ImageDataHolderprivate static final org.slf4j.LoggerFields inherited from interface GlyphProvider
BASELINE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBitmapProvider(BitmapProvider.ImageDataHolder imageData, CodepointMap<BitmapProvider.Glyph> glyphs) -
Method Summary
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
imageData
-
glyphs
-
-
Constructor Details
-
BitmapProvider
private BitmapProvider(BitmapProvider.ImageDataHolder imageData, CodepointMap<BitmapProvider.Glyph> glyphs)
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceGlyphProvider
-
getGlyph
- Specified by:
getGlyphin interfaceGlyphProvider
-
getSupportedGlyphs
public it.unimi.dsi.fastutil.ints.IntSet getSupportedGlyphs()- Specified by:
getSupportedGlyphsin interfaceGlyphProvider
-