Package net.minecraft.client
Enum Class QuickPlayLogger.WorldType
- All Implemented Interfaces:
Serializable,Comparable<QuickPlayLogger.WorldType>,Constable,StringIdentifiable
- Enclosing class:
QuickPlayLogger
@Environment(CLIENT)
public static enum QuickPlayLogger.WorldType
extends Enum<QuickPlayLogger.WorldType>
implements StringIdentifiable
- Mappings:
Namespace Name official fiv$cintermediary net/minecraft/class_8497$class_8500named net/minecraft/client/QuickPlayLogger$WorldType
-
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
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final StringIdentifiable.Codec<QuickPlayLogger.WorldType>private final StringFields inherited from interface net.minecraft.util.StringIdentifiable
field_38377 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.static QuickPlayLogger.WorldTypeReturns the enum constant of this class with the specified name.static QuickPlayLogger.WorldType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SINGLEPLAYER
- Mappings:
Namespace Name Mixin selector official aLfiv$c;a:Lfiv$c;intermediary field_44568Lnet/minecraft/class_8497$class_8500;field_44568:Lnet/minecraft/class_8497$class_8500;named SINGLEPLAYERLnet/minecraft/client/QuickPlayLogger$WorldType;SINGLEPLAYER:Lnet/minecraft/client/QuickPlayLogger$WorldType;
-
MULTIPLAYER
- Mappings:
Namespace Name Mixin selector official bLfiv$c;b:Lfiv$c;intermediary field_44569Lnet/minecraft/class_8497$class_8500;field_44569:Lnet/minecraft/class_8497$class_8500;named MULTIPLAYERLnet/minecraft/client/QuickPlayLogger$WorldType;MULTIPLAYER:Lnet/minecraft/client/QuickPlayLogger$WorldType;
-
REALMS
- Mappings:
Namespace Name Mixin selector official cLfiv$c;c:Lfiv$c;intermediary field_44570Lnet/minecraft/class_8497$class_8500;field_44570:Lnet/minecraft/class_8497$class_8500;named REALMSLnet/minecraft/client/QuickPlayLogger$WorldType;REALMS:Lnet/minecraft/client/QuickPlayLogger$WorldType;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official dLfiv$c;d:Lcom/mojang/serialization/Codec;intermediary field_44571Lnet/minecraft/class_8497$class_8500;field_44571:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/client/QuickPlayLogger$WorldType;CODEC:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector official eLfiv$c;e:Ljava/lang/String;intermediary field_44572Lnet/minecraft/class_8497$class_8500;field_44572:Ljava/lang/String;named idLnet/minecraft/client/QuickPlayLogger$WorldType;id:Ljava/lang/String;
-
-
Constructor Details
-
WorldType
- Mappings:
Namespace Name Mixin selector official <init>Lfiv$c;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_8497$class_8500;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/client/QuickPlayLogger$WorldType;<init>(Ljava/lang/String;ILjava/lang/String;)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 official cLapr;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-