Package net.minecraft.client.font
Enum Class FontType
- All Implemented Interfaces:
Serializable,Comparable<FontType>,Constable
- Mappings:
Namespace Name official eiointermediary net/minecraft/class_394named net/minecraft/client/font/FontType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final Function<JsonObject,FontLoader> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFontType(String id, Function<JsonObject, FontLoader> factory) -
Method Summary
Modifier and TypeMethodDescriptionstatic FontTypecreateLoader(JsonObject json) static FontTypeReturns the enum constant of this class with the specified name.static FontType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BITMAP
- Mappings:
Namespace Name Mixin selector official aLeio;a:Leio;intermediary field_2312Lnet/minecraft/class_394;field_2312:Lnet/minecraft/class_394;named BITMAPLnet/minecraft/client/font/FontType;BITMAP:Lnet/minecraft/client/font/FontType;
-
TTF
- Mappings:
Namespace Name Mixin selector official bLeio;b:Leio;intermediary field_2317Lnet/minecraft/class_394;field_2317:Lnet/minecraft/class_394;named TTFLnet/minecraft/client/font/FontType;TTF:Lnet/minecraft/client/font/FontType;
-
SPACE
- Mappings:
Namespace Name Mixin selector official cLeio;c:Leio;intermediary field_37904Lnet/minecraft/class_394;field_37904:Lnet/minecraft/class_394;named SPACELnet/minecraft/client/font/FontType;SPACE:Lnet/minecraft/client/font/FontType;
-
LEGACY_UNICODE
- Mappings:
Namespace Name Mixin selector official dLeio;d:Leio;intermediary field_2313Lnet/minecraft/class_394;field_2313:Lnet/minecraft/class_394;named LEGACY_UNICODELnet/minecraft/client/font/FontType;LEGACY_UNICODE:Lnet/minecraft/client/font/FontType;
-
-
Field Details
-
REGISTRY
- Mappings:
Namespace Name Mixin selector official eLeio;e:Ljava/util/Map;intermediary field_2311Lnet/minecraft/class_394;field_2311:Ljava/util/Map;named REGISTRYLnet/minecraft/client/font/FontType;REGISTRY:Ljava/util/Map;
-
id
- Mappings:
Namespace Name Mixin selector official fLeio;f:Ljava/lang/String;intermediary field_2314Lnet/minecraft/class_394;field_2314:Ljava/lang/String;named idLnet/minecraft/client/font/FontType;id:Ljava/lang/String;
-
loaderFactory
- Mappings:
Namespace Name Mixin selector official gLeio;g:Ljava/util/function/Function;intermediary field_2315Lnet/minecraft/class_394;field_2315:Ljava/util/function/Function;named loaderFactoryLnet/minecraft/client/font/FontType;loaderFactory:Ljava/util/function/Function;
-
-
Constructor Details
-
FontType
- Mappings:
Namespace Name Mixin selector official <init>Leio;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/Function;)Vintermediary <init>Lnet/minecraft/class_394;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/Function;)Vnamed <init>Lnet/minecraft/client/font/FontType;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/Function;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
byId
- Mappings:
Namespace Name Mixin selector official aLeio;a(Ljava/lang/String;)Leio;intermediary method_2048Lnet/minecraft/class_394;method_2048(Ljava/lang/String;)Lnet/minecraft/class_394;named byIdLnet/minecraft/client/font/FontType;byId(Ljava/lang/String;)Lnet/minecraft/client/font/FontType;
-
createLoader
- Mappings:
Namespace Name Mixin selector official aLeio;a(Lcom/google/gson/JsonObject;)Lein;intermediary method_2047Lnet/minecraft/class_394;method_2047(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_389;named createLoaderLnet/minecraft/client/font/FontType;createLoader(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/font/FontLoader;
-