Class TextureGlyphProvider
- java.lang.Object
-
- net.minecraft.client.gui.fonts.providers.TextureGlyphProvider
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,IGlyphProvider
public class TextureGlyphProvider extends java.lang.Object implements IGlyphProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TextureGlyphProvider.Factory
(package private) static class
TextureGlyphProvider.GlyphInfo
-
Field Summary
Fields Modifier and Type Field Description private it.unimi.dsi.fastutil.ints.Int2ObjectMap<TextureGlyphProvider.GlyphInfo>
glyphs
private NativeImage
image
private static org.apache.logging.log4j.Logger
LOGGER
-
Constructor Summary
Constructors Modifier Constructor Description private
TextureGlyphProvider(NativeImage p_i232266_1_, it.unimi.dsi.fastutil.ints.Int2ObjectMap<TextureGlyphProvider.GlyphInfo> p_i232266_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
IGlyphInfo
getGlyph(int p_212248_1_)
it.unimi.dsi.fastutil.ints.IntSet
getSupportedGlyphs()
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
image
private final NativeImage image
-
glyphs
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<TextureGlyphProvider.GlyphInfo> glyphs
-
-
Constructor Detail
-
TextureGlyphProvider
private TextureGlyphProvider(NativeImage p_i232266_1_, it.unimi.dsi.fastutil.ints.Int2ObjectMap<TextureGlyphProvider.GlyphInfo> p_i232266_2_)
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in interfaceIGlyphProvider
-
getGlyph
@Nullable public IGlyphInfo getGlyph(int p_212248_1_)
- Specified by:
getGlyph
in interfaceIGlyphProvider
-
getSupportedGlyphs
public it.unimi.dsi.fastutil.ints.IntSet getSupportedGlyphs()
- Specified by:
getSupportedGlyphs
in interfaceIGlyphProvider
-
-