Package net.minecraft.network
Enum Class NetworkSide
- All Implemented Interfaces:
Serializable
,Comparable<NetworkSide>
,Constable
- Mappings:
Namespace Name official zc
intermediary net/minecraft/class_2598
named net/minecraft/network/NetworkSide
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
static NetworkSide
Returns the enum constant of this class with the specified name.static NetworkSide[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SERVERBOUND
- Mappings:
Namespace Name Mixin selector official a
Lzc;a:Lzc;
intermediary field_11941
Lnet/minecraft/class_2598;field_11941:Lnet/minecraft/class_2598;
named SERVERBOUND
Lnet/minecraft/network/NetworkSide;SERVERBOUND:Lnet/minecraft/network/NetworkSide;
-
CLIENTBOUND
- Mappings:
Namespace Name Mixin selector official b
Lzc;b:Lzc;
intermediary field_11942
Lnet/minecraft/class_2598;field_11942:Lnet/minecraft/class_2598;
named CLIENTBOUND
Lnet/minecraft/network/NetworkSide;CLIENTBOUND:Lnet/minecraft/network/NetworkSide;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official c
Lzc;c:Ljava/lang/String;
intermediary field_48613
Lnet/minecraft/class_2598;field_48613:Ljava/lang/String;
named name
Lnet/minecraft/network/NetworkSide;name:Ljava/lang/String;
-
-
Constructor Details
-
NetworkSide
- Mappings:
Namespace Name Mixin selector official <init>
Lzc;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_2598;<init>(Ljava/lang/String;ILjava/lang/String;)V
named <init>
Lnet/minecraft/network/NetworkSide;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
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
-
getOpposite
- Mappings:
Namespace Name Mixin selector official a
Lzc;a()Lzc;
intermediary method_36146
Lnet/minecraft/class_2598;method_36146()Lnet/minecraft/class_2598;
named getOpposite
Lnet/minecraft/network/NetworkSide;getOpposite()Lnet/minecraft/network/NetworkSide;
-
getName
- Mappings:
Namespace Name Mixin selector official b
Lzc;b()Ljava/lang/String;
intermediary method_56444
Lnet/minecraft/class_2598;method_56444()Ljava/lang/String;
named getName
Lnet/minecraft/network/NetworkSide;getName()Ljava/lang/String;
-