Enum Class AccountType

java.lang.Object
java.lang.Enum<AccountType>
net.minecraft.client.util.AccountType
All Implemented Interfaces:
Serializable, Comparable<AccountType>, Constable

@Environment(CLIENT) public enum AccountType extends Enum<AccountType>
Mappings:
Namespace Name
official btx
intermediary net/minecraft/class_1798
named net/minecraft/client/util/AccountType
  • Enum Constant Details

    • LEGACY

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

      public static final AccountType MOJANG
      Mappings:
      Namespace Name Mixin selector
      official b Lbtx;b:Lbtx;
      intermediary field_7702 Lnet/minecraft/class_1798;field_7702:Lnet/minecraft/class_1798;
      named MOJANG Lnet/minecraft/client/util/AccountType;MOJANG:Lnet/minecraft/client/util/AccountType;
  • Field Details

    • TYPES

      private static final Map TYPES
      Mappings:
      Namespace Name Mixin selector
      official c Lbtx;c:Ljava/util/Map;
      intermediary field_7703 Lnet/minecraft/class_1798;field_7703:Ljava/util/Map;
      named TYPES Lnet/minecraft/client/util/AccountType;TYPES:Ljava/util/Map;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official d Lbtx;d:Ljava/lang/String;
      intermediary field_7704 Lnet/minecraft/class_1798;field_7704:Ljava/lang/String;
      named id Lnet/minecraft/client/util/AccountType;id:Ljava/lang/String;
  • Constructor Details

    • AccountType

      private AccountType(String id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbtx;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1798;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/client/util/AccountType;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static 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 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
    • get

      public static AccountType get(String id)
      Mappings:
      Namespace Name Mixin selector
      official a Lbtx;a(Ljava/lang/String;)Lbtx;
      intermediary method_6671 Lnet/minecraft/class_1798;method_6671(Ljava/lang/String;)Lnet/minecraft/class_1798;
      named get Lnet/minecraft/client/util/AccountType;get(Ljava/lang/String;)Lnet/minecraft/client/util/AccountType;