Enum Class NetworkPhase

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

public enum NetworkPhase extends Enum<NetworkPhase>
Mappings:
Namespace Name
named net/minecraft/network/NetworkPhase
intermediary net/minecraft/class_2539
official wl
  • Enum Constant Details

    • HANDSHAKING

      public static final NetworkPhase HANDSHAKING
      Mappings:
      Namespace Name Mixin selector
      named HANDSHAKING Lnet/minecraft/network/NetworkPhase;HANDSHAKING:Lnet/minecraft/network/NetworkPhase;
      intermediary field_20590 Lnet/minecraft/class_2539;field_20590:Lnet/minecraft/class_2539;
      official a Lwl;a:Lwl;
    • PLAY

      public static final NetworkPhase PLAY
      Mappings:
      Namespace Name Mixin selector
      named PLAY Lnet/minecraft/network/NetworkPhase;PLAY:Lnet/minecraft/network/NetworkPhase;
      intermediary field_20591 Lnet/minecraft/class_2539;field_20591:Lnet/minecraft/class_2539;
      official b Lwl;b:Lwl;
    • STATUS

      public static final NetworkPhase STATUS
      Mappings:
      Namespace Name Mixin selector
      named STATUS Lnet/minecraft/network/NetworkPhase;STATUS:Lnet/minecraft/network/NetworkPhase;
      intermediary field_20592 Lnet/minecraft/class_2539;field_20592:Lnet/minecraft/class_2539;
      official c Lwl;c:Lwl;
    • LOGIN

      public static final NetworkPhase LOGIN
      Mappings:
      Namespace Name Mixin selector
      named LOGIN Lnet/minecraft/network/NetworkPhase;LOGIN:Lnet/minecraft/network/NetworkPhase;
      intermediary field_20593 Lnet/minecraft/class_2539;field_20593:Lnet/minecraft/class_2539;
      official d Lwl;d:Lwl;
    • CONFIGURATION

      public static final NetworkPhase CONFIGURATION
      Mappings:
      Namespace Name Mixin selector
      named CONFIGURATION Lnet/minecraft/network/NetworkPhase;CONFIGURATION:Lnet/minecraft/network/NetworkPhase;
      intermediary field_45671 Lnet/minecraft/class_2539;field_45671:Lnet/minecraft/class_2539;
      official e Lwl;e:Lwl;
  • Field Details

    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/network/NetworkPhase;id:Ljava/lang/String;
      intermediary field_20594 Lnet/minecraft/class_2539;field_20594:Ljava/lang/String;
      official f Lwl;f:Ljava/lang/String;
  • Constructor Details

    • NetworkPhase

      private NetworkPhase(String id)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/NetworkPhase;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_2539;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lwl;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static NetworkPhase[] 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

      public static NetworkPhase 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
    • getId

      public String getId()
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/network/NetworkPhase;getId()Ljava/lang/String;
      intermediary method_10785 Lnet/minecraft/class_2539;method_10785()Ljava/lang/String;
      official a Lwl;a()Ljava/lang/String;