Enum Class RealmsRegionSelectionPreference.SelectionMethod

java.lang.Object
java.lang.Enum<RealmsRegionSelectionPreference.SelectionMethod>
net.minecraft.client.realms.dto.RealmsRegionSelectionPreference.SelectionMethod
All Implemented Interfaces:
Serializable, Comparable<RealmsRegionSelectionPreference.SelectionMethod>, Constable
Enclosing class:
RealmsRegionSelectionPreference

@Environment(CLIENT) public static enum RealmsRegionSelectionPreference.SelectionMethod extends Enum<RealmsRegionSelectionPreference.SelectionMethod>
Mappings:
Namespace Name
named net/minecraft/client/realms/dto/RealmsRegionSelectionPreference$SelectionMethod
intermediary net/minecraft/class_11310$class_11311
official fol$a
  • Enum Constant Details

    • AUTOMATIC_PLAYER

      public static final RealmsRegionSelectionPreference.SelectionMethod AUTOMATIC_PLAYER
      Mappings:
      Namespace Name Mixin selector
      named AUTOMATIC_PLAYER Lnet/minecraft/client/realms/dto/RealmsRegionSelectionPreference$SelectionMethod;AUTOMATIC_PLAYER:Lnet/minecraft/client/realms/dto/RealmsRegionSelectionPreference$SelectionMethod;
      intermediary field_60227 Lnet/minecraft/class_11310$class_11311;field_60227:Lnet/minecraft/class_11310$class_11311;
      official a Lfol$a;a:Lfol$a;
    • AUTOMATIC_OWNER

      public static final RealmsRegionSelectionPreference.SelectionMethod AUTOMATIC_OWNER
      Mappings:
      Namespace Name Mixin selector
      named AUTOMATIC_OWNER Lnet/minecraft/client/realms/dto/RealmsRegionSelectionPreference$SelectionMethod;AUTOMATIC_OWNER:Lnet/minecraft/client/realms/dto/RealmsRegionSelectionPreference$SelectionMethod;
      intermediary field_60226 Lnet/minecraft/class_11310$class_11311;field_60226:Lnet/minecraft/class_11310$class_11311;
      official b Lfol$a;b:Lfol$a;
    • MANUAL

      Mappings:
      Namespace Name Mixin selector
      named MANUAL Lnet/minecraft/client/realms/dto/RealmsRegionSelectionPreference$SelectionMethod;MANUAL:Lnet/minecraft/client/realms/dto/RealmsRegionSelectionPreference$SelectionMethod;
      intermediary field_60228 Lnet/minecraft/class_11310$class_11311;field_60228:Lnet/minecraft/class_11310$class_11311;
      official c Lfol$a;c:Lfol$a;
  • Field Details

    • DEFAULT

      Mappings:
      Namespace Name Mixin selector
      named DEFAULT Lnet/minecraft/client/realms/dto/RealmsRegionSelectionPreference$SelectionMethod;DEFAULT:Lnet/minecraft/client/realms/dto/RealmsRegionSelectionPreference$SelectionMethod;
      intermediary field_60229 Lnet/minecraft/class_11310$class_11311;field_60229:Lnet/minecraft/class_11310$class_11311;
      official d Lfol$a;d:Lfol$a;
    • index

      public final int index
      Mappings:
      Namespace Name Mixin selector
      named index Lnet/minecraft/client/realms/dto/RealmsRegionSelectionPreference$SelectionMethod;index:I
      intermediary field_60230 Lnet/minecraft/class_11310$class_11311;field_60230:I
      official e Lfol$a;e:I
    • translationKey

      public final String translationKey
      Mappings:
      Namespace Name Mixin selector
      named translationKey Lnet/minecraft/client/realms/dto/RealmsRegionSelectionPreference$SelectionMethod;translationKey:Ljava/lang/String;
      intermediary field_60231 Lnet/minecraft/class_11310$class_11311;field_60231:Ljava/lang/String;
      official f Lfol$a;f:Ljava/lang/String;
  • Constructor Details

    • SelectionMethod

      private SelectionMethod(int index, String translationKey)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/dto/RealmsRegionSelectionPreference$SelectionMethod;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_11310$class_11311;<init>(Ljava/lang/String;IILjava/lang/String;)V
      official <init> Lfol$a;<init>(Ljava/lang/String;IILjava/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 name
      NullPointerException - if the argument is null