Enum Class Session.AccountType

java.lang.Object
java.lang.Enum<Session.AccountType>
net.minecraft.client.util.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
official cga$a
intermediary net/minecraft/class_355$class_1798
named net/minecraft/client/util/Session$AccountType
  • Enum Constant Details

    • LEGACY

      public static final Session.AccountType LEGACY
      Mappings:
      Namespace Name Mixin selector
      official a Lcga$a;a:Lcga$a;
      intermediary field_7701 Lnet/minecraft/class_355$class_1798;field_7701:Lnet/minecraft/class_355$class_1798;
      named LEGACY Lnet/minecraft/client/util/Session$AccountType;LEGACY:Lnet/minecraft/client/util/Session$AccountType;
    • MOJANG

      public static final Session.AccountType MOJANG
      Mappings:
      Namespace Name Mixin selector
      official b Lcga$a;b:Lcga$a;
      intermediary field_7702 Lnet/minecraft/class_355$class_1798;field_7702:Lnet/minecraft/class_355$class_1798;
      named MOJANG Lnet/minecraft/client/util/Session$AccountType;MOJANG:Lnet/minecraft/client/util/Session$AccountType;
  • Field Details

    • field_20013

      private static final Map<String,Session.AccountType> field_20013
      Mappings:
      Namespace Name Mixin selector
      official c Lcga$a;c:Ljava/util/Map;
      intermediary field_20013 Lnet/minecraft/class_355$class_1798;field_20013:Ljava/util/Map;
      named field_20013 Lnet/minecraft/client/util/Session$AccountType;field_20013:Ljava/util/Map;
    • field_20014

      private final String field_20014
      Mappings:
      Namespace Name Mixin selector
      official d Lcga$a;d:Ljava/lang/String;
      intermediary field_20014 Lnet/minecraft/class_355$class_1798;field_20014:Ljava/lang/String;
      named field_20014 Lnet/minecraft/client/util/Session$AccountType;field_20014:Ljava/lang/String;
  • Constructor Details

    • AccountType

      private AccountType(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcga$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_355$class_1798;<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

      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 Session.AccountType byName(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lcga$a;a(Ljava/lang/String;)Lcga$a;
      intermediary method_6671 Lnet/minecraft/class_355$class_1798;method_6671(Ljava/lang/String;)Lnet/minecraft/class_355$class_1798;
      named byName Lnet/minecraft/client/util/Session$AccountType;byName(Ljava/lang/String;)Lnet/minecraft/client/util/Session$AccountType;