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>
fontSets
private static org.apache.logging.log4j.Logger
LOGGER
static ResourceLocation
MISSING_FONT
private Font
missingFontSet
private IFutureReloadListener
reloadListener
private java.util.Map<ResourceLocation,ResourceLocation>
renames
private TextureManager
textureManager
-
Constructor Summary
Constructors Constructor Description FontResourceManager(TextureManager p_i49772_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
FontRenderer
createFont()
IFutureReloadListener
getReloadListener()
void
setRenames(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:
close
in interfacejava.lang.AutoCloseable
-
-