Package net.minecraft.client.font
Enum Class FontType
- All Implemented Interfaces:
Serializable
,Comparable<FontType>
,Constable
,StringIdentifiable
- Mappings:
Namespace Name official ery
intermediary net/minecraft/class_394
named net/minecraft/client/font/FontType
-
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.Codec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final StringIdentifiable.Codec<FontType>
private final String
private final com.mojang.serialization.MapCodec<? extends FontLoader>
Fields inherited from interface net.minecraft.util.StringIdentifiable
field_38377
-
Constructor Summary
ModifierConstructorDescriptionprivate
FontType
(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 FontType
Returns 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 a
Lery;a:Lery;
intermediary field_2312
Lnet/minecraft/class_394;field_2312:Lnet/minecraft/class_394;
named BITMAP
Lnet/minecraft/client/font/FontType;BITMAP:Lnet/minecraft/client/font/FontType;
-
TTF
- Mappings:
Namespace Name Mixin selector official b
Lery;b:Lery;
intermediary field_2317
Lnet/minecraft/class_394;field_2317:Lnet/minecraft/class_394;
named TTF
Lnet/minecraft/client/font/FontType;TTF:Lnet/minecraft/client/font/FontType;
-
SPACE
- Mappings:
Namespace Name Mixin selector official c
Lery;c:Lery;
intermediary field_37904
Lnet/minecraft/class_394;field_37904:Lnet/minecraft/class_394;
named SPACE
Lnet/minecraft/client/font/FontType;SPACE:Lnet/minecraft/client/font/FontType;
-
UNIHEX
- Mappings:
Namespace Name Mixin selector official d
Lery;d:Lery;
intermediary field_2313
Lnet/minecraft/class_394;field_2313:Lnet/minecraft/class_394;
named UNIHEX
Lnet/minecraft/client/font/FontType;UNIHEX:Lnet/minecraft/client/font/FontType;
-
REFERENCE
- Mappings:
Namespace Name Mixin selector official e
Lery;e:Lery;
intermediary field_44761
Lnet/minecraft/class_394;field_44761:Lnet/minecraft/class_394;
named REFERENCE
Lnet/minecraft/client/font/FontType;REFERENCE:Lnet/minecraft/client/font/FontType;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official f
Lery;f:Lcom/mojang/serialization/Codec;
intermediary field_44802
Lnet/minecraft/class_394;field_44802:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/client/font/FontType;CODEC:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector official g
Lery;g:Ljava/lang/String;
intermediary field_2314
Lnet/minecraft/class_394;field_2314:Ljava/lang/String;
named id
Lnet/minecraft/client/font/FontType;id:Ljava/lang/String;
-
loaderCodec
- Mappings:
Namespace Name Mixin selector official h
Lery;h:Lcom/mojang/serialization/MapCodec;
intermediary field_44803
Lnet/minecraft/class_394;field_44803:Lcom/mojang/serialization/MapCodec;
named loaderCodec
Lnet/minecraft/client/font/FontType;loaderCodec:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
FontType
- Mappings:
Namespace Name Mixin selector official <init>
Lery;<init>(Ljava/lang/String;ILjava/lang/String;Lcom/mojang/serialization/MapCodec;)V
intermediary <init>
Lnet/minecraft/class_394;<init>(Ljava/lang/String;ILjava/lang/String;Lcom/mojang/serialization/MapCodec;)V
named <init>
Lnet/minecraft/client/font/FontType;<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:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official c
Lapr;c()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
getLoaderCodec
- Mappings:
Namespace Name Mixin selector official a
Lery;a()Lcom/mojang/serialization/MapCodec;
intermediary method_51758
Lnet/minecraft/class_394;method_51758()Lcom/mojang/serialization/MapCodec;
named getLoaderCodec
Lnet/minecraft/client/font/FontType;getLoaderCodec()Lcom/mojang/serialization/MapCodec;
-