public class UnicodeTextureGlyphProvider extends java.lang.Object implements IGlyphProvider
Modifier and Type | Class and Description |
---|---|
static class |
UnicodeTextureGlyphProvider.Factory |
(package private) static class |
UnicodeTextureGlyphProvider.GlpyhInfo |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ResourceLocation,NativeImage> |
field_211845_e |
private static org.apache.logging.log4j.Logger |
LOGGER |
private IResourceManager |
resourceManager |
private byte[] |
sizes |
private java.lang.String |
template |
Constructor and Description |
---|
UnicodeTextureGlyphProvider(IResourceManager p_i49737_1_,
byte[] p_i49737_2_,
java.lang.String p_i49737_3_) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
private static int |
func_212453_a(byte p_212453_0_) |
private static int |
func_212454_b(byte p_212454_0_) |
IGlyphInfo |
getGlyphInfo(char character) |
private ResourceLocation |
getTextureFor(char p_211623_1_) |
private NativeImage |
loadTexture(ResourceLocation p_211255_1_) |
private static final org.apache.logging.log4j.Logger LOGGER
private final IResourceManager resourceManager
private final byte[] sizes
private final java.lang.String template
private final java.util.Map<ResourceLocation,NativeImage> field_211845_e
public UnicodeTextureGlyphProvider(IResourceManager p_i49737_1_, byte[] p_i49737_2_, java.lang.String p_i49737_3_)
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in interface IGlyphProvider
private ResourceLocation getTextureFor(char p_211623_1_)
@Nullable public IGlyphInfo getGlyphInfo(char character)
getGlyphInfo
in interface IGlyphProvider
@Nullable private NativeImage loadTexture(ResourceLocation p_211255_1_)
private static int func_212453_a(byte p_212453_0_)
private static int func_212454_b(byte p_212454_0_)