Package net.minecraft.client.font
Enum Class FontType
- All Implemented Interfaces:
Serializable,Comparable<FontType>,Constable,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/client/font/FontTypeintermediary net/minecraft/class_394official flp
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<FontType> private final Stringprivate final com.mojang.serialization.MapCodec<? extends FontLoader> Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFontType(String id, com.mojang.serialization.MapCodec<? extends FontLoader> loaderCodec) -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.com.mojang.serialization.MapCodec<? extends FontLoader> 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 named BITMAPLnet/minecraft/client/font/FontType;BITMAP:Lnet/minecraft/client/font/FontType;intermediary field_2312Lnet/minecraft/class_394;field_2312:Lnet/minecraft/class_394;official aLflp;a:Lflp;
-
TTF
- Mappings:
Namespace Name Mixin selector named TTFLnet/minecraft/client/font/FontType;TTF:Lnet/minecraft/client/font/FontType;intermediary field_2317Lnet/minecraft/class_394;field_2317:Lnet/minecraft/class_394;official bLflp;b:Lflp;
-
SPACE
- Mappings:
Namespace Name Mixin selector named SPACELnet/minecraft/client/font/FontType;SPACE:Lnet/minecraft/client/font/FontType;intermediary field_37904Lnet/minecraft/class_394;field_37904:Lnet/minecraft/class_394;official cLflp;c:Lflp;
-
UNIHEX
- Mappings:
Namespace Name Mixin selector named UNIHEXLnet/minecraft/client/font/FontType;UNIHEX:Lnet/minecraft/client/font/FontType;intermediary field_2313Lnet/minecraft/class_394;field_2313:Lnet/minecraft/class_394;official dLflp;d:Lflp;
-
REFERENCE
- Mappings:
Namespace Name Mixin selector named REFERENCELnet/minecraft/client/font/FontType;REFERENCE:Lnet/minecraft/client/font/FontType;intermediary field_44761Lnet/minecraft/class_394;field_44761:Lnet/minecraft/class_394;official eLflp;e:Lflp;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/font/FontType;CODEC:Lcom/mojang/serialization/Codec;intermediary field_44802Lnet/minecraft/class_394;field_44802:Lcom/mojang/serialization/Codec;official fLflp;f:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/client/font/FontType;id:Ljava/lang/String;intermediary field_2314Lnet/minecraft/class_394;field_2314:Ljava/lang/String;official gLflp;g:Ljava/lang/String;
-
loaderCodec
- Mappings:
Namespace Name Mixin selector named loaderCodecLnet/minecraft/client/font/FontType;loaderCodec:Lcom/mojang/serialization/MapCodec;intermediary field_44803Lnet/minecraft/class_394;field_44803:Lcom/mojang/serialization/MapCodec;official hLflp;h:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
FontType
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/font/FontType;<init>(Ljava/lang/String;ILjava/lang/String;Lcom/mojang/serialization/MapCodec;)Vintermediary <init>Lnet/minecraft/class_394;<init>(Ljava/lang/String;ILjava/lang/String;Lcom/mojang/serialization/MapCodec;)Vofficial <init>Lflp;<init>(Ljava/lang/String;ILjava/lang/String;Lcom/mojang/serialization/MapCodec;)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
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLazk;c()Ljava/lang/String;
-
getLoaderCodec
- Mappings:
Namespace Name Mixin selector named getLoaderCodecLnet/minecraft/client/font/FontType;getLoaderCodec()Lcom/mojang/serialization/MapCodec;intermediary method_51758Lnet/minecraft/class_394;method_51758()Lcom/mojang/serialization/MapCodec;official aLflp;a()Lcom/mojang/serialization/MapCodec;
-