Package net.minecraft.client.util
Enum Session.AccountType
- All Implemented Interfaces:
Serializable
,Comparable<Session.AccountType>
,java.lang.constant.Constable
- Enclosing class:
- Session
@Environment(CLIENT) public static enum Session.AccountType extends Enum<Session.AccountType>
- Mappings:
Namespace Name official dqx$a
intermediary net/minecraft/class_320$class_321
named 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
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
AccountType(String name)
-
Method Summary
Modifier and Type Method Description static Session.AccountType
byName(String string)
static Session.AccountType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Session.AccountType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LEGACY
- Mappings:
Namespace Name Mixin selector official a
Ldqx$a;a:Ldqx$a;
intermediary field_1990
Lnet/minecraft/class_320$class_321;field_1990:Lnet/minecraft/class_320$class_321;
named LEGACY
Lnet/minecraft/client/util/Session$AccountType;LEGACY:Lnet/minecraft/client/util/Session$AccountType;
-
MOJANG
- Mappings:
Namespace Name Mixin selector official b
Ldqx$a;b:Ldqx$a;
intermediary field_1988
Lnet/minecraft/class_320$class_321;field_1988:Lnet/minecraft/class_320$class_321;
named MOJANG
Lnet/minecraft/client/util/Session$AccountType;MOJANG:Lnet/minecraft/client/util/Session$AccountType;
-
-
Field Details
-
BY_NAME
- Mappings:
Namespace Name Mixin selector official c
Ldqx$a;c:Ljava/util/Map;
intermediary field_1989
Lnet/minecraft/class_320$class_321;field_1989:Ljava/util/Map;
named BY_NAME
Lnet/minecraft/client/util/Session$AccountType;BY_NAME:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official d
Ldqx$a;d:Ljava/lang/String;
intermediary field_1986
Lnet/minecraft/class_320$class_321;field_1986:Ljava/lang/String;
named name
Lnet/minecraft/client/util/Session$AccountType;name:Ljava/lang/String;
-
-
Constructor Details
-
AccountType
- Mappings:
Namespace Name Mixin selector official <init>
Ldqx$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_320$class_321;<init>(Ljava/lang/String;ILjava/lang/String;)V
named <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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
byName
- Mappings:
Namespace Name Mixin selector official a
Ldqx$a;a(Ljava/lang/String;)Ldqx$a;
intermediary method_1679
Lnet/minecraft/class_320$class_321;method_1679(Ljava/lang/String;)Lnet/minecraft/class_320$class_321;
named byName
Lnet/minecraft/client/util/Session$AccountType;byName(Ljava/lang/String;)Lnet/minecraft/client/util/Session$AccountType;
-