Package net.minecraft.client.realms
Enum Ping.Region
- All Implemented Interfaces:
Serializable,Comparable<Ping.Region>,java.lang.constant.Constable
- Enclosing class:
- Ping
@Environment(CLIENT) static enum Ping.Region extends Enum<Ping.Region>
- Mappings:
Namespace Name official dmn$aintermediary net/minecraft/class_4339$class_4340named net/minecraft/client/realms/Ping$Region
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description AP_NORTHEAST_1AP_SOUTHEAST_1AP_SOUTHEAST_2EU_WEST_1SA_EAST_1US_EAST_1US_WEST_1US_WEST_2 -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description static Ping.RegionvalueOf(String name)Returns the enum constant of this type with the specified name.static Ping.Region[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
US_EAST_1
- Mappings:
Namespace Name Mixin selector official aLdmn$a;a:Ldmn$a;intermediary field_19565Lnet/minecraft/class_4339$class_4340;field_19565:Lnet/minecraft/class_4339$class_4340;named US_EAST_1Lnet/minecraft/client/realms/Ping$Region;US_EAST_1:Lnet/minecraft/client/realms/Ping$Region;
-
US_WEST_2
- Mappings:
Namespace Name Mixin selector official bLdmn$a;b:Ldmn$a;intermediary field_19566Lnet/minecraft/class_4339$class_4340;field_19566:Lnet/minecraft/class_4339$class_4340;named US_WEST_2Lnet/minecraft/client/realms/Ping$Region;US_WEST_2:Lnet/minecraft/client/realms/Ping$Region;
-
US_WEST_1
- Mappings:
Namespace Name Mixin selector official cLdmn$a;c:Ldmn$a;intermediary field_19567Lnet/minecraft/class_4339$class_4340;field_19567:Lnet/minecraft/class_4339$class_4340;named US_WEST_1Lnet/minecraft/client/realms/Ping$Region;US_WEST_1:Lnet/minecraft/client/realms/Ping$Region;
-
EU_WEST_1
- Mappings:
Namespace Name Mixin selector official dLdmn$a;d:Ldmn$a;intermediary field_19568Lnet/minecraft/class_4339$class_4340;field_19568:Lnet/minecraft/class_4339$class_4340;named EU_WEST_1Lnet/minecraft/client/realms/Ping$Region;EU_WEST_1:Lnet/minecraft/client/realms/Ping$Region;
-
AP_SOUTHEAST_1
- Mappings:
Namespace Name Mixin selector official eLdmn$a;e:Ldmn$a;intermediary field_19569Lnet/minecraft/class_4339$class_4340;field_19569:Lnet/minecraft/class_4339$class_4340;named AP_SOUTHEAST_1Lnet/minecraft/client/realms/Ping$Region;AP_SOUTHEAST_1:Lnet/minecraft/client/realms/Ping$Region;
-
AP_SOUTHEAST_2
- Mappings:
Namespace Name Mixin selector official fLdmn$a;f:Ldmn$a;intermediary field_19570Lnet/minecraft/class_4339$class_4340;field_19570:Lnet/minecraft/class_4339$class_4340;named AP_SOUTHEAST_2Lnet/minecraft/client/realms/Ping$Region;AP_SOUTHEAST_2:Lnet/minecraft/client/realms/Ping$Region;
-
AP_NORTHEAST_1
- Mappings:
Namespace Name Mixin selector official gLdmn$a;g:Ldmn$a;intermediary field_19571Lnet/minecraft/class_4339$class_4340;field_19571:Lnet/minecraft/class_4339$class_4340;named AP_NORTHEAST_1Lnet/minecraft/client/realms/Ping$Region;AP_NORTHEAST_1:Lnet/minecraft/client/realms/Ping$Region;
-
SA_EAST_1
- Mappings:
Namespace Name Mixin selector official hLdmn$a;h:Ldmn$a;intermediary field_19572Lnet/minecraft/class_4339$class_4340;field_19572:Lnet/minecraft/class_4339$class_4340;named SA_EAST_1Lnet/minecraft/client/realms/Ping$Region;SA_EAST_1:Lnet/minecraft/client/realms/Ping$Region;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official iLdmn$a;i:Ljava/lang/String;intermediary field_19573Lnet/minecraft/class_4339$class_4340;field_19573:Ljava/lang/String;named nameLnet/minecraft/client/realms/Ping$Region;name:Ljava/lang/String;
-
endpoint
- Mappings:
Namespace Name Mixin selector official jLdmn$a;j:Ljava/lang/String;intermediary field_19574Lnet/minecraft/class_4339$class_4340;field_19574:Ljava/lang/String;named endpointLnet/minecraft/client/realms/Ping$Region;endpoint:Ljava/lang/String;
-
-
Constructor Details
-
Region
- Mappings:
Namespace Name Mixin selector official <init>Ldmn$a;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_4339$class_4340;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/client/realms/Ping$Region;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-