Enum Class RegionSelectionMethod

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

@Environment(CLIENT) public enum RegionSelectionMethod extends Enum<RegionSelectionMethod>
Mappings:
Namespace Name
named net/minecraft/client/realms/dto/RegionSelectionMethod
intermediary net/minecraft/class_11311
official fqi
  • Enum Constant Details

    • AUTOMATIC_PLAYER

      public static final RegionSelectionMethod AUTOMATIC_PLAYER
      Mappings:
      Namespace Name Mixin selector
      named AUTOMATIC_PLAYER Lnet/minecraft/client/realms/dto/RegionSelectionMethod;AUTOMATIC_PLAYER:Lnet/minecraft/client/realms/dto/RegionSelectionMethod;
      intermediary field_60227 Lnet/minecraft/class_11311;field_60227:Lnet/minecraft/class_11311;
      official a Lfqi;a:Lfqi;
    • AUTOMATIC_OWNER

      public static final RegionSelectionMethod AUTOMATIC_OWNER
      Mappings:
      Namespace Name Mixin selector
      named AUTOMATIC_OWNER Lnet/minecraft/client/realms/dto/RegionSelectionMethod;AUTOMATIC_OWNER:Lnet/minecraft/client/realms/dto/RegionSelectionMethod;
      intermediary field_60226 Lnet/minecraft/class_11311;field_60226:Lnet/minecraft/class_11311;
      official b Lfqi;b:Lfqi;
    • MANUAL

      public static final RegionSelectionMethod MANUAL
      Mappings:
      Namespace Name Mixin selector
      named MANUAL Lnet/minecraft/client/realms/dto/RegionSelectionMethod;MANUAL:Lnet/minecraft/client/realms/dto/RegionSelectionMethod;
      intermediary field_60228 Lnet/minecraft/class_11311;field_60228:Lnet/minecraft/class_11311;
      official c Lfqi;c:Lfqi;
  • Field Details

    • DEFAULT

      public static final RegionSelectionMethod DEFAULT
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT Lnet/minecraft/client/realms/dto/RegionSelectionMethod;DEFAULT:Lnet/minecraft/client/realms/dto/RegionSelectionMethod;
      intermediary field_60229 Lnet/minecraft/class_11311;field_60229:Lnet/minecraft/class_11311;
      official d Lfqi;d:Lfqi;
    • index

      public final int index
      Mappings:
      Namespace Name Mixin selector
      named index Lnet/minecraft/client/realms/dto/RegionSelectionMethod;index:I
      intermediary field_60230 Lnet/minecraft/class_11311;field_60230:I
      official e Lfqi;e:I
    • translationKey

      public final String translationKey
      Mappings:
      Namespace Name Mixin selector
      named translationKey Lnet/minecraft/client/realms/dto/RegionSelectionMethod;translationKey:Ljava/lang/String;
      intermediary field_60231 Lnet/minecraft/class_11311;field_60231:Ljava/lang/String;
      official f Lfqi;f:Ljava/lang/String;
  • Constructor Details

    • RegionSelectionMethod

      private RegionSelectionMethod(int index, String translationKey)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/dto/RegionSelectionMethod;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_11311;<init>(Ljava/lang/String;IILjava/lang/String;)V
      official <init> Lfqi;<init>(Ljava/lang/String;IILjava/lang/String;)V
  • Method Details

    • values

      public static RegionSelectionMethod[] 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 RegionSelectionMethod 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