Enum Class Session.AccountType

java.lang.Object
java.lang.Enum<Session.AccountType>
net.minecraft.client.session.Session.AccountType
All Implemented Interfaces:
Serializable, Comparable<Session.AccountType>, Constable
Enclosing class:
Session

@Environment(CLIENT) public static enum Session.AccountType extends Enum<Session.AccountType>
Mappings:
Namespace Name
named net/minecraft/client/session/Session$AccountType
intermediary net/minecraft/class_320$class_321
official fgj$a
  • Enum Constant Details

    • LEGACY

      public static final Session.AccountType LEGACY
      Mappings:
      Namespace Name Mixin selector
      named LEGACY Lnet/minecraft/client/session/Session$AccountType;LEGACY:Lnet/minecraft/client/session/Session$AccountType;
      intermediary field_1990 Lnet/minecraft/class_320$class_321;field_1990:Lnet/minecraft/class_320$class_321;
      official a Lfgj$a;a:Lfgj$a;
    • MOJANG

      public static final Session.AccountType MOJANG
      Mappings:
      Namespace Name Mixin selector
      named MOJANG Lnet/minecraft/client/session/Session$AccountType;MOJANG:Lnet/minecraft/client/session/Session$AccountType;
      intermediary field_1988 Lnet/minecraft/class_320$class_321;field_1988:Lnet/minecraft/class_320$class_321;
      official b Lfgj$a;b:Lfgj$a;
    • MSA

      public static final Session.AccountType MSA
      Mappings:
      Namespace Name Mixin selector
      named MSA Lnet/minecraft/client/session/Session$AccountType;MSA:Lnet/minecraft/client/session/Session$AccountType;
      intermediary field_34962 Lnet/minecraft/class_320$class_321;field_34962:Lnet/minecraft/class_320$class_321;
      official c Lfgj$a;c:Lfgj$a;
  • Field Details

    • BY_NAME

      private static final Map<String,Session.AccountType> BY_NAME
      Mappings:
      Namespace Name Mixin selector
      named BY_NAME Lnet/minecraft/client/session/Session$AccountType;BY_NAME:Ljava/util/Map;
      intermediary field_1989 Lnet/minecraft/class_320$class_321;field_1989:Ljava/util/Map;
      official d Lfgj$a;d:Ljava/util/Map;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/client/session/Session$AccountType;name:Ljava/lang/String;
      intermediary field_1986 Lnet/minecraft/class_320$class_321;field_1986:Ljava/lang/String;
      official e Lfgj$a;e:Ljava/lang/String;
  • Constructor Details

    • AccountType

      private AccountType(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/session/Session$AccountType;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_320$class_321;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lfgj$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static Session.AccountType[] 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

      public static Session.AccountType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • byName

      @Nullable public static @Nullable Session.AccountType byName(String name)
      Mappings:
      Namespace Name Mixin selector
      named byName Lnet/minecraft/client/session/Session$AccountType;byName(Ljava/lang/String;)Lnet/minecraft/client/session/Session$AccountType;
      intermediary method_1679 Lnet/minecraft/class_320$class_321;method_1679(Ljava/lang/String;)Lnet/minecraft/class_320$class_321;
      official a Lfgj$a;a(Ljava/lang/String;)Lfgj$a;
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/client/session/Session$AccountType;getName()Ljava/lang/String;
      intermediary method_38742 Lnet/minecraft/class_320$class_321;method_38742()Ljava/lang/String;
      official a Lfgj$a;a()Ljava/lang/String;