Package net.minecraft.client.network
Enum Class ServerInfo.class_8678
- All Implemented Interfaces:
Serializable,Comparable<ServerInfo.class_8678>,Constable
- Enclosing class:
ServerInfo
- Mappings:
Namespace Name official fin$bintermediary net/minecraft/class_642$class_8678named net/minecraft/client/network/ServerInfo$class_8678
-
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.class_8678Returns the enum constant of this class with the specified name.static ServerInfo.class_8678[]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 aLfin$b;a:Lfin$b;intermediary field_45609Lnet/minecraft/class_642$class_8678;field_45609:Lnet/minecraft/class_642$class_8678;named LANLnet/minecraft/client/network/ServerInfo$class_8678;LAN:Lnet/minecraft/client/network/ServerInfo$class_8678;
-
REALM
- Mappings:
Namespace Name Mixin selector official bLfin$b;b:Lfin$b;intermediary field_45610Lnet/minecraft/class_642$class_8678;field_45610:Lnet/minecraft/class_642$class_8678;named REALMLnet/minecraft/client/network/ServerInfo$class_8678;REALM:Lnet/minecraft/client/network/ServerInfo$class_8678;
-
OTHER
- Mappings:
Namespace Name Mixin selector official cLfin$b;c:Lfin$b;intermediary field_45611Lnet/minecraft/class_642$class_8678;field_45611:Lnet/minecraft/class_642$class_8678;named OTHERLnet/minecraft/client/network/ServerInfo$class_8678;OTHER:Lnet/minecraft/client/network/ServerInfo$class_8678;
-
-
Constructor Details
-
class_8678
private class_8678()
-
-
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
-