Package net.minecraft.client.font
Class FontManager
java.lang.Object
net.minecraft.client.font.FontManager
- All Implemented Interfaces:
AutoCloseable
@Environment(CLIENT) public class FontManager extends Object implements AutoCloseable
- Mappings:
Namespace Name official dtg
intermediary net/minecraft/class_378
named net/minecraft/client/font/FontManager
-
Field Summary
Fields Modifier and Type Field Description private Map<Identifier,FontStorage>
fontStorages
private Map<Identifier,Identifier>
idOverrides
private static Logger
LOGGER
static Identifier
MISSING_STORAGE_ID
private FontStorage
missingStorage
private ResourceReloadListener
resourceReloadListener
private TextureManager
textureManager
-
Constructor Summary
Constructors Constructor Description FontManager(TextureManager manager)
-
Method Summary
Modifier and Type Method Description void
close()
TextRenderer
createTextRenderer()
ResourceReloadListener
getResourceReloadListener()
void
setIdOverrides(Map<Identifier,Identifier> overrides)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official b
Ldtg;b:Lorg/apache/logging/log4j/Logger;
intermediary field_2261
Lnet/minecraft/class_378;field_2261:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/client/font/FontManager;LOGGER:Lorg/apache/logging/log4j/Logger;
-
MISSING_STORAGE_ID
- Mappings:
Namespace Name Mixin selector official a
Ldtg;a:Lwb;
intermediary field_24254
Lnet/minecraft/class_378;field_24254:Lnet/minecraft/class_2960;
named MISSING_STORAGE_ID
Lnet/minecraft/client/font/FontManager;MISSING_STORAGE_ID:Lnet/minecraft/util/Identifier;
-
missingStorage
- Mappings:
Namespace Name Mixin selector official c
Ldtg;c:Ldth;
intermediary field_24255
Lnet/minecraft/class_378;field_24255:Lnet/minecraft/class_377;
named missingStorage
Lnet/minecraft/client/font/FontManager;missingStorage:Lnet/minecraft/client/font/FontStorage;
-
fontStorages
- Mappings:
Namespace Name Mixin selector official d
Ldtg;d:Ljava/util/Map;
intermediary field_2259
Lnet/minecraft/class_378;field_2259:Ljava/util/Map;
named fontStorages
Lnet/minecraft/client/font/FontManager;fontStorages:Ljava/util/Map;
-
textureManager
- Mappings:
Namespace Name Mixin selector official e
Ldtg;e:Lerv;
intermediary field_2260
Lnet/minecraft/class_378;field_2260:Lnet/minecraft/class_1060;
named textureManager
Lnet/minecraft/client/font/FontManager;textureManager:Lnet/minecraft/client/texture/TextureManager;
-
idOverrides
- Mappings:
Namespace Name Mixin selector official f
Ldtg;f:Ljava/util/Map;
intermediary field_24256
Lnet/minecraft/class_378;field_24256:Ljava/util/Map;
named idOverrides
Lnet/minecraft/client/font/FontManager;idOverrides:Ljava/util/Map;
-
resourceReloadListener
- Mappings:
Namespace Name Mixin selector official g
Ldtg;g:Lacs;
intermediary field_18215
Lnet/minecraft/class_378;field_18215:Lnet/minecraft/class_3302;
named resourceReloadListener
Lnet/minecraft/client/font/FontManager;resourceReloadListener:Lnet/minecraft/resource/ResourceReloadListener;
-
-
Constructor Details
-
FontManager
- Mappings:
Namespace Name Mixin selector official <init>
Ldtg;<init>(Lerv;)V
intermediary <init>
Lnet/minecraft/class_378;<init>(Lnet/minecraft/class_1060;)V
named <init>
Lnet/minecraft/client/font/FontManager;<init>(Lnet/minecraft/client/texture/TextureManager;)V
-
-
Method Details
-
setIdOverrides
- Mappings:
Namespace Name Mixin selector official a
Ldtg;a(Ljava/util/Map;)V
intermediary method_27541
Lnet/minecraft/class_378;method_27541(Ljava/util/Map;)V
named setIdOverrides
Lnet/minecraft/client/font/FontManager;setIdOverrides(Ljava/util/Map;)V
-
createTextRenderer
- Mappings:
Namespace Name Mixin selector official a
Ldtg;a()Ldrf;
intermediary method_27539
Lnet/minecraft/class_378;method_27539()Lnet/minecraft/class_327;
named createTextRenderer
Lnet/minecraft/client/font/FontManager;createTextRenderer()Lnet/minecraft/client/font/TextRenderer;
-
getResourceReloadListener
- Mappings:
Namespace Name Mixin selector official b
Ldtg;b()Lacs;
intermediary method_18627
Lnet/minecraft/class_378;method_18627()Lnet/minecraft/class_3302;
named getResourceReloadListener
Lnet/minecraft/client/font/FontManager;getResourceReloadListener()Lnet/minecraft/resource/ResourceReloadListener;
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Mappings:
Namespace Name Mixin selector official close
Ldtg;close()V
intermediary close
Lnet/minecraft/class_378;close()V
named close
Lnet/minecraft/client/font/FontManager;close()V
-