Enum Class Ping.Region

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

@Environment(CLIENT) static enum Ping.Region extends Enum<Ping.Region>
Mappings:
Namespace Name
official dsk$a
intermediary net/minecraft/class_4339$class_4340
named net/minecraft/client/realms/Ping$Region
  • Enum Constant Details

    • US_EAST_1

      public static final Ping.Region US_EAST_1
      Mappings:
      Namespace Name Mixin selector
      official a Ldsk$a;a:Ldsk$a;
      intermediary field_19565 Lnet/minecraft/class_4339$class_4340;field_19565:Lnet/minecraft/class_4339$class_4340;
      named US_EAST_1 Lnet/minecraft/client/realms/Ping$Region;US_EAST_1:Lnet/minecraft/client/realms/Ping$Region;
    • US_WEST_2

      public static final Ping.Region US_WEST_2
      Mappings:
      Namespace Name Mixin selector
      official b Ldsk$a;b:Ldsk$a;
      intermediary field_19566 Lnet/minecraft/class_4339$class_4340;field_19566:Lnet/minecraft/class_4339$class_4340;
      named US_WEST_2 Lnet/minecraft/client/realms/Ping$Region;US_WEST_2:Lnet/minecraft/client/realms/Ping$Region;
    • US_WEST_1

      public static final Ping.Region US_WEST_1
      Mappings:
      Namespace Name Mixin selector
      official c Ldsk$a;c:Ldsk$a;
      intermediary field_19567 Lnet/minecraft/class_4339$class_4340;field_19567:Lnet/minecraft/class_4339$class_4340;
      named US_WEST_1 Lnet/minecraft/client/realms/Ping$Region;US_WEST_1:Lnet/minecraft/client/realms/Ping$Region;
    • EU_WEST_1

      public static final Ping.Region EU_WEST_1
      Mappings:
      Namespace Name Mixin selector
      official d Ldsk$a;d:Ldsk$a;
      intermediary field_19568 Lnet/minecraft/class_4339$class_4340;field_19568:Lnet/minecraft/class_4339$class_4340;
      named EU_WEST_1 Lnet/minecraft/client/realms/Ping$Region;EU_WEST_1:Lnet/minecraft/client/realms/Ping$Region;
    • AP_SOUTHEAST_1

      public static final Ping.Region AP_SOUTHEAST_1
      Mappings:
      Namespace Name Mixin selector
      official e Ldsk$a;e:Ldsk$a;
      intermediary field_19569 Lnet/minecraft/class_4339$class_4340;field_19569:Lnet/minecraft/class_4339$class_4340;
      named AP_SOUTHEAST_1 Lnet/minecraft/client/realms/Ping$Region;AP_SOUTHEAST_1:Lnet/minecraft/client/realms/Ping$Region;
    • AP_SOUTHEAST_2

      public static final Ping.Region AP_SOUTHEAST_2
      Mappings:
      Namespace Name Mixin selector
      official f Ldsk$a;f:Ldsk$a;
      intermediary field_19570 Lnet/minecraft/class_4339$class_4340;field_19570:Lnet/minecraft/class_4339$class_4340;
      named AP_SOUTHEAST_2 Lnet/minecraft/client/realms/Ping$Region;AP_SOUTHEAST_2:Lnet/minecraft/client/realms/Ping$Region;
    • AP_NORTHEAST_1

      public static final Ping.Region AP_NORTHEAST_1
      Mappings:
      Namespace Name Mixin selector
      official g Ldsk$a;g:Ldsk$a;
      intermediary field_19571 Lnet/minecraft/class_4339$class_4340;field_19571:Lnet/minecraft/class_4339$class_4340;
      named AP_NORTHEAST_1 Lnet/minecraft/client/realms/Ping$Region;AP_NORTHEAST_1:Lnet/minecraft/client/realms/Ping$Region;
    • SA_EAST_1

      public static final Ping.Region SA_EAST_1
      Mappings:
      Namespace Name Mixin selector
      official h Ldsk$a;h:Ldsk$a;
      intermediary field_19572 Lnet/minecraft/class_4339$class_4340;field_19572:Lnet/minecraft/class_4339$class_4340;
      named SA_EAST_1 Lnet/minecraft/client/realms/Ping$Region;SA_EAST_1:Lnet/minecraft/client/realms/Ping$Region;
  • Field Details

    • name

      final String name
      Mappings:
      Namespace Name Mixin selector
      official i Ldsk$a;i:Ljava/lang/String;
      intermediary field_19573 Lnet/minecraft/class_4339$class_4340;field_19573:Ljava/lang/String;
      named name Lnet/minecraft/client/realms/Ping$Region;name:Ljava/lang/String;
    • endpoint

      final String endpoint
      Mappings:
      Namespace Name Mixin selector
      official j Ldsk$a;j:Ljava/lang/String;
      intermediary field_19574 Lnet/minecraft/class_4339$class_4340;field_19574:Ljava/lang/String;
      named endpoint Lnet/minecraft/client/realms/Ping$Region;endpoint:Ljava/lang/String;
  • Constructor Details

    • Region

      private Region(String name, String endpoint)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldsk$a;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_4339$class_4340;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
      named <init> Lnet/minecraft/client/realms/Ping$Region;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
  • Method Details

    • values

      public static Ping.Region[] 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 Ping.Region 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