Class BitmapProvider
java.lang.Object
net.minecraft.client.gui.font.providers.BitmapProvider
- All Implemented Interfaces:
GlyphProvider
,AutoCloseable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
(package private) static final record
Nested classes/interfaces inherited from interface com.mojang.blaze3d.font.GlyphProvider
GlyphProvider.Conditional
-
Field Summary
Modifier and TypeFieldDescriptionprivate final CodepointMap
<BitmapProvider.Glyph> private final NativeImage
(package private) static final org.slf4j.Logger
Fields inherited from interface com.mojang.blaze3d.font.GlyphProvider
BASELINE
-
Constructor Summary
ConstructorDescriptionBitmapProvider
(NativeImage p_285380_, CodepointMap<BitmapProvider.Glyph> p_285445_) -
Method Summary
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER -
image
-
glyphs
-
-
Constructor Details
-
BitmapProvider
BitmapProvider(NativeImage p_285380_, CodepointMap<BitmapProvider.Glyph> p_285445_)
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceGlyphProvider
-
getGlyph
- Specified by:
getGlyph
in interfaceGlyphProvider
-
getSupportedGlyphs
public it.unimi.dsi.fastutil.ints.IntSet getSupportedGlyphs()- Specified by:
getSupportedGlyphs
in interfaceGlyphProvider
-