Enum Class NetworkSide

java.lang.Object
java.lang.Enum<NetworkSide>
net.minecraft.network.NetworkSide
All Implemented Interfaces:
Serializable, Comparable<NetworkSide>, Constable

public enum NetworkSide extends Enum<NetworkSide>
Mappings:
Namespace Name
named net/minecraft/network/NetworkSide
intermediary net/minecraft/class_2598
official aad
  • Enum Constant Details Link icon

    • SERVERBOUND Link icon

      public static final NetworkSide SERVERBOUND
      Mappings:
      Namespace Name Mixin selector
      named SERVERBOUND Lnet/minecraft/network/NetworkSide;SERVERBOUND:Lnet/minecraft/network/NetworkSide;
      intermediary field_11941 Lnet/minecraft/class_2598;field_11941:Lnet/minecraft/class_2598;
      official a Laad;a:Laad;
    • CLIENTBOUND Link icon

      public static final NetworkSide CLIENTBOUND
      Mappings:
      Namespace Name Mixin selector
      named CLIENTBOUND Lnet/minecraft/network/NetworkSide;CLIENTBOUND:Lnet/minecraft/network/NetworkSide;
      intermediary field_11942 Lnet/minecraft/class_2598;field_11942:Lnet/minecraft/class_2598;
      official b Laad;b:Laad;
  • Field Details Link icon

    • name Link icon

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/network/NetworkSide;name:Ljava/lang/String;
      intermediary field_48613 Lnet/minecraft/class_2598;field_48613:Ljava/lang/String;
      official c Laad;c:Ljava/lang/String;
  • Constructor Details Link icon

    • NetworkSide Link icon

      private NetworkSide(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/NetworkSide;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_2598;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Laad;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details Link icon

    • values Link icon

      public static NetworkSide[] 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 Link icon

      public static NetworkSide valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getOpposite Link icon

      public NetworkSide getOpposite()
      Mappings:
      Namespace Name Mixin selector
      named getOpposite Lnet/minecraft/network/NetworkSide;getOpposite()Lnet/minecraft/network/NetworkSide;
      intermediary method_36146 Lnet/minecraft/class_2598;method_36146()Lnet/minecraft/class_2598;
      official a Laad;a()Laad;
    • getName Link icon

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/network/NetworkSide;getName()Ljava/lang/String;
      intermediary method_56444 Lnet/minecraft/class_2598;method_56444()Ljava/lang/String;
      official b Laad;b()Ljava/lang/String;