Package net.minecraft.client.gui.fonts
Class FontResourceManager
- java.lang.Object
-
- net.minecraft.client.gui.fonts.FontResourceManager
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class FontResourceManager extends java.lang.Object implements java.lang.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<ResourceLocation,Font>fontSetsprivate static org.apache.logging.log4j.LoggerLOGGERstatic ResourceLocationMISSING_FONTprivate FontmissingFontSetprivate IFutureReloadListenerreloadListenerprivate java.util.Map<ResourceLocation,ResourceLocation>renamesprivate TextureManagertextureManager
-
Constructor Summary
Constructors Constructor Description FontResourceManager(TextureManager p_i49772_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()FontRenderercreateFont()IFutureReloadListenergetReloadListener()voidsetRenames(java.util.Map<ResourceLocation,ResourceLocation> p_238551_1_)
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
MISSING_FONT
public static final ResourceLocation MISSING_FONT
-
missingFontSet
private final Font missingFontSet
-
fontSets
private final java.util.Map<ResourceLocation,Font> fontSets
-
textureManager
private final TextureManager textureManager
-
renames
private java.util.Map<ResourceLocation,ResourceLocation> renames
-
reloadListener
private final IFutureReloadListener reloadListener
-
-
Constructor Detail
-
FontResourceManager
public FontResourceManager(TextureManager p_i49772_1_)
-
-
Method Detail
-
setRenames
public void setRenames(java.util.Map<ResourceLocation,ResourceLocation> p_238551_1_)
-
createFont
public FontRenderer createFont()
-
getReloadListener
public IFutureReloadListener getReloadListener()
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
-