Enum Class RegionSelectionPreference

java.lang.Object
java.lang.Enum<RegionSelectionPreference>
com.mojang.realmsclient.dto.RegionSelectionPreference
All Implemented Interfaces:
Serializable, Comparable<RegionSelectionPreference>, Constable

public enum RegionSelectionPreference extends Enum<RegionSelectionPreference>
  • Enum Constant Details

  • Field Details

    • DEFAULT_SELECTION

      public static final RegionSelectionPreference DEFAULT_SELECTION
    • id

      public final int id
    • translationKey

      public final String translationKey
  • Constructor Details

    • RegionSelectionPreference

      private RegionSelectionPreference(int pId, String pTranslationKey)
  • Method Details

    • values

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