Package net.minecraft.client.network
Enum Class ServerInfo.ServerType
- All Implemented Interfaces:
Serializable
,Comparable<ServerInfo.ServerType>
,Constable
- Enclosing class:
ServerInfo
- Mappings:
Namespace Name official fod$b
intermediary net/minecraft/class_642$class_8678
named net/minecraft/client/network/ServerInfo$ServerType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServerInfo.ServerType
Returns 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 official a
Lfod$b;a:Lfod$b;
intermediary field_45609
Lnet/minecraft/class_642$class_8678;field_45609:Lnet/minecraft/class_642$class_8678;
named LAN
Lnet/minecraft/client/network/ServerInfo$ServerType;LAN:Lnet/minecraft/client/network/ServerInfo$ServerType;
-
REALM
- Mappings:
Namespace Name Mixin selector official b
Lfod$b;b:Lfod$b;
intermediary field_45610
Lnet/minecraft/class_642$class_8678;field_45610:Lnet/minecraft/class_642$class_8678;
named REALM
Lnet/minecraft/client/network/ServerInfo$ServerType;REALM:Lnet/minecraft/client/network/ServerInfo$ServerType;
-
OTHER
- Mappings:
Namespace Name Mixin selector official c
Lfod$b;c:Lfod$b;
intermediary field_45611
Lnet/minecraft/class_642$class_8678;field_45611:Lnet/minecraft/class_642$class_8678;
named OTHER
Lnet/minecraft/client/network/ServerInfo$ServerType;OTHER:Lnet/minecraft/client/network/ServerInfo$ServerType;
-
-
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
-