Enum Class ConnectionIntent

java.lang.Object
java.lang.Enum<ConnectionIntent>
net.minecraft.network.packet.c2s.handshake.ConnectionIntent
All Implemented Interfaces:
Serializable, Comparable<ConnectionIntent>, Constable

public enum ConnectionIntent extends Enum<ConnectionIntent>
Mappings:
Namespace Name
official afi
intermediary net/minecraft/class_8592
named net/minecraft/network/packet/c2s/handshake/ConnectionIntent
  • Enum Constant Details

    • STATUS

      public static final ConnectionIntent STATUS
      Mappings:
      Namespace Name Mixin selector
      official a Lafi;a:Lafi;
      intermediary field_44974 Lnet/minecraft/class_8592;field_44974:Lnet/minecraft/class_8592;
      named STATUS Lnet/minecraft/network/packet/c2s/handshake/ConnectionIntent;STATUS:Lnet/minecraft/network/packet/c2s/handshake/ConnectionIntent;
    • LOGIN

      public static final ConnectionIntent LOGIN
      Mappings:
      Namespace Name Mixin selector
      official b Lafi;b:Lafi;
      intermediary field_44975 Lnet/minecraft/class_8592;field_44975:Lnet/minecraft/class_8592;
      named LOGIN Lnet/minecraft/network/packet/c2s/handshake/ConnectionIntent;LOGIN:Lnet/minecraft/network/packet/c2s/handshake/ConnectionIntent;
  • Field Details

    • STATUS_ID

      private static final int STATUS_ID
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lafi;c:I
      intermediary field_44976 Lnet/minecraft/class_8592;field_44976:I
      named STATUS_ID Lnet/minecraft/network/packet/c2s/handshake/ConnectionIntent;STATUS_ID:I
    • LOGIN_ID

      private static final int LOGIN_ID
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lafi;d:I
      intermediary field_44977 Lnet/minecraft/class_8592;field_44977:I
      named LOGIN_ID Lnet/minecraft/network/packet/c2s/handshake/ConnectionIntent;LOGIN_ID:I
  • Constructor Details

    • ConnectionIntent

      private ConnectionIntent()
  • Method Details

    • values

      public static ConnectionIntent[] 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 ConnectionIntent 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
    • byId

      public static ConnectionIntent byId(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Lafi;a(I)Lafi;
      intermediary method_52284 Lnet/minecraft/class_8592;method_52284(I)Lnet/minecraft/class_8592;
      named byId Lnet/minecraft/network/packet/c2s/handshake/ConnectionIntent;byId(I)Lnet/minecraft/network/packet/c2s/handshake/ConnectionIntent;
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lafi;a()I
      intermediary method_52283 Lnet/minecraft/class_8592;method_52283()I
      named getId Lnet/minecraft/network/packet/c2s/handshake/ConnectionIntent;getId()I
    • getState

      public NetworkState getState()
      Mappings:
      Namespace Name Mixin selector
      official b Lafi;b()Luh;
      intermediary method_52285 Lnet/minecraft/class_8592;method_52285()Lnet/minecraft/class_2539;
      named getState Lnet/minecraft/network/packet/c2s/handshake/ConnectionIntent;getState()Lnet/minecraft/network/NetworkState;