Package net.minecraft.client.util
Enum Class Session.AccountType
- All Implemented Interfaces:
Serializable,Comparable<Session.AccountType>,Constable
- Enclosing class:
Session
- Mappings:
Namespace Name official enu$aintermediary net/minecraft/class_320$class_321named net/minecraft/client/util/Session$AccountType
-
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable Session.AccountTypegetName()static Session.AccountTypeReturns the enum constant of this class with the specified name.static Session.AccountType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEGACY
- Mappings:
Namespace Name Mixin selector official aLenu$a;a:Lenu$a;intermediary field_1990Lnet/minecraft/class_320$class_321;field_1990:Lnet/minecraft/class_320$class_321;named LEGACYLnet/minecraft/client/util/Session$AccountType;LEGACY:Lnet/minecraft/client/util/Session$AccountType;
-
MOJANG
- Mappings:
Namespace Name Mixin selector official bLenu$a;b:Lenu$a;intermediary field_1988Lnet/minecraft/class_320$class_321;field_1988:Lnet/minecraft/class_320$class_321;named MOJANGLnet/minecraft/client/util/Session$AccountType;MOJANG:Lnet/minecraft/client/util/Session$AccountType;
-
MSA
- Mappings:
Namespace Name Mixin selector official cLenu$a;c:Lenu$a;intermediary field_34962Lnet/minecraft/class_320$class_321;field_34962:Lnet/minecraft/class_320$class_321;named MSALnet/minecraft/client/util/Session$AccountType;MSA:Lnet/minecraft/client/util/Session$AccountType;
-
-
Field Details
-
BY_NAME
- Mappings:
Namespace Name Mixin selector official dLenu$a;d:Ljava/util/Map;intermediary field_1989Lnet/minecraft/class_320$class_321;field_1989:Ljava/util/Map;named BY_NAMELnet/minecraft/client/util/Session$AccountType;BY_NAME:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official eLenu$a;e:Ljava/lang/String;intermediary field_1986Lnet/minecraft/class_320$class_321;field_1986:Ljava/lang/String;named nameLnet/minecraft/client/util/Session$AccountType;name:Ljava/lang/String;
-
-
Constructor Details
-
AccountType
- Mappings:
Namespace Name Mixin selector official <init>Lenu$a;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_320$class_321;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/client/util/Session$AccountType;<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
-
byName
- Mappings:
Namespace Name Mixin selector official aLenu$a;a(Ljava/lang/String;)Lenu$a;intermediary method_1679Lnet/minecraft/class_320$class_321;method_1679(Ljava/lang/String;)Lnet/minecraft/class_320$class_321;named byNameLnet/minecraft/client/util/Session$AccountType;byName(Ljava/lang/String;)Lnet/minecraft/client/util/Session$AccountType;
-
getName
- Mappings:
Namespace Name Mixin selector official aLenu$a;a()Ljava/lang/String;intermediary method_38742Lnet/minecraft/class_320$class_321;method_38742()Ljava/lang/String;named getNameLnet/minecraft/client/util/Session$AccountType;getName()Ljava/lang/String;
-