Package net.minecraft.client.network
Enum Class ServerInfo.ServerType
- All Implemented Interfaces:
Serializable,Comparable<ServerInfo.ServerType>,Constable
- Enclosing class:
ServerInfo
- Mappings:
Namespace Name named net/minecraft/client/network/ServerInfo$ServerTypeintermediary net/minecraft/class_642$class_8678official ggp$c
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerInfo.ServerTypeReturns the enum constant of this class with the specified name.static ServerInfo.ServerType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LAN
- Mappings:
Namespace Name Mixin selector named LANLnet/minecraft/client/network/ServerInfo$ServerType;LAN:Lnet/minecraft/client/network/ServerInfo$ServerType;intermediary field_45609Lnet/minecraft/class_642$class_8678;field_45609:Lnet/minecraft/class_642$class_8678;official aLggp$c;a:Lggp$c;
-
REALM
- Mappings:
Namespace Name Mixin selector named REALMLnet/minecraft/client/network/ServerInfo$ServerType;REALM:Lnet/minecraft/client/network/ServerInfo$ServerType;intermediary field_45610Lnet/minecraft/class_642$class_8678;field_45610:Lnet/minecraft/class_642$class_8678;official bLggp$c;b:Lggp$c;
-
OTHER
- Mappings:
Namespace Name Mixin selector named OTHERLnet/minecraft/client/network/ServerInfo$ServerType;OTHER:Lnet/minecraft/client/network/ServerInfo$ServerType;intermediary field_45611Lnet/minecraft/class_642$class_8678;field_45611:Lnet/minecraft/class_642$class_8678;official cLggp$c;c:Lggp$c;
-
-
Constructor Details
-
ServerType
private ServerType()
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-