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
named net/minecraft/client/realms/Ping$Region
intermediary net/minecraft/class_4339$class_4340
official fap$a
  • Enum Constant Details

    • US_EAST_1

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

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

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

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

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

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

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

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

    • name

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

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

    • Region

      private Region(String name, String endpoint)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/Ping$Region;<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
      official <init> Lfap$a;<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