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 fno$c
intermediary net/minecraft/class_8497$class_8500
named 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.EnumCodec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescription(package private) static final com.mojang.serialization.Codec<QuickPlayLogger.WorldType>
private final String
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.static QuickPlayLogger.WorldType
Returns 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 a
Lfno$c;a:Lfno$c;
intermediary field_44568
Lnet/minecraft/class_8497$class_8500;field_44568:Lnet/minecraft/class_8497$class_8500;
named SINGLEPLAYER
Lnet/minecraft/client/QuickPlayLogger$WorldType;SINGLEPLAYER:Lnet/minecraft/client/QuickPlayLogger$WorldType;
-
MULTIPLAYER
- Mappings:
Namespace Name Mixin selector official b
Lfno$c;b:Lfno$c;
intermediary field_44569
Lnet/minecraft/class_8497$class_8500;field_44569:Lnet/minecraft/class_8497$class_8500;
named MULTIPLAYER
Lnet/minecraft/client/QuickPlayLogger$WorldType;MULTIPLAYER:Lnet/minecraft/client/QuickPlayLogger$WorldType;
-
REALMS
- Mappings:
Namespace Name Mixin selector official c
Lfno$c;c:Lfno$c;
intermediary field_44570
Lnet/minecraft/class_8497$class_8500;field_44570:Lnet/minecraft/class_8497$class_8500;
named REALMS
Lnet/minecraft/client/QuickPlayLogger$WorldType;REALMS:Lnet/minecraft/client/QuickPlayLogger$WorldType;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official d
Lfno$c;d:Lcom/mojang/serialization/Codec;
intermediary field_44571
Lnet/minecraft/class_8497$class_8500;field_44571:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/client/QuickPlayLogger$WorldType;CODEC:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector official e
Lfno$c;e:Ljava/lang/String;
intermediary field_44572
Lnet/minecraft/class_8497$class_8500;field_44572:Ljava/lang/String;
named id
Lnet/minecraft/client/QuickPlayLogger$WorldType;id:Ljava/lang/String;
-
-
Constructor Details
-
WorldType
- Mappings:
Namespace Name Mixin selector official <init>
Lfno$c;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_8497$class_8500;<init>(Ljava/lang/String;ILjava/lang/String;)V
named <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:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official c
Lasp;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;
-