public class FontResourceManager
extends java.lang.Object
implements java.lang.AutoCloseable
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ResourceLocation,FontRenderer> |
fontRenderers |
private boolean |
forceUnicodeFont |
private static org.apache.logging.log4j.Logger |
LOGGER |
private IFutureReloadListener |
reloadListener |
private TextureManager |
textureManager |
Constructor and Description |
---|
FontResourceManager(TextureManager textureManagerIn,
boolean forceUnicodeFontIn) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
FontRenderer |
getFontRenderer(ResourceLocation id) |
IFutureReloadListener |
getReloadListener() |
void |
setForceUnicodeFont(boolean p_216883_1_,
java.util.concurrent.Executor p_216883_2_,
java.util.concurrent.Executor p_216883_3_) |
private static final org.apache.logging.log4j.Logger LOGGER
private final java.util.Map<ResourceLocation,FontRenderer> fontRenderers
private final TextureManager textureManager
private boolean forceUnicodeFont
private final IFutureReloadListener reloadListener
public FontResourceManager(TextureManager textureManagerIn, boolean forceUnicodeFontIn)
@Nullable public FontRenderer getFontRenderer(ResourceLocation id)
public void setForceUnicodeFont(boolean p_216883_1_, java.util.concurrent.Executor p_216883_2_, java.util.concurrent.Executor p_216883_3_)
public IFutureReloadListener getReloadListener()
public void close()
close
in interface java.lang.AutoCloseable