Enum Class ClientCommandC2SPacket.Mode

java.lang.Object
java.lang.Enum<ClientCommandC2SPacket.Mode>
net.minecraft.network.packet.c2s.play.ClientCommandC2SPacket.Mode
All Implemented Interfaces:
Serializable, Comparable<ClientCommandC2SPacket.Mode>, Constable
Enclosing class:
ClientCommandC2SPacket

public static enum ClientCommandC2SPacket.Mode extends Enum<ClientCommandC2SPacket.Mode>
Mappings:
Namespace Name
official wi$a
intermediary net/minecraft/class_2848$class_2849
named net/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode
  • Enum Constant Details

    • PRESS_SHIFT_KEY

      public static final ClientCommandC2SPacket.Mode PRESS_SHIFT_KEY
      Mappings:
      Namespace Name Mixin selector
      official a Lwi$a;a:Lwi$a;
      intermediary field_12979 Lnet/minecraft/class_2848$class_2849;field_12979:Lnet/minecraft/class_2848$class_2849;
      named PRESS_SHIFT_KEY Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;PRESS_SHIFT_KEY:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
    • RELEASE_SHIFT_KEY

      public static final ClientCommandC2SPacket.Mode RELEASE_SHIFT_KEY
      Mappings:
      Namespace Name Mixin selector
      official b Lwi$a;b:Lwi$a;
      intermediary field_12984 Lnet/minecraft/class_2848$class_2849;field_12984:Lnet/minecraft/class_2848$class_2849;
      named RELEASE_SHIFT_KEY Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;RELEASE_SHIFT_KEY:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
    • STOP_SLEEPING

      public static final ClientCommandC2SPacket.Mode STOP_SLEEPING
      Mappings:
      Namespace Name Mixin selector
      official c Lwi$a;c:Lwi$a;
      intermediary field_12986 Lnet/minecraft/class_2848$class_2849;field_12986:Lnet/minecraft/class_2848$class_2849;
      named STOP_SLEEPING Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;STOP_SLEEPING:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
    • START_SPRINTING

      public static final ClientCommandC2SPacket.Mode START_SPRINTING
      Mappings:
      Namespace Name Mixin selector
      official d Lwi$a;d:Lwi$a;
      intermediary field_12981 Lnet/minecraft/class_2848$class_2849;field_12981:Lnet/minecraft/class_2848$class_2849;
      named START_SPRINTING Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;START_SPRINTING:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
    • STOP_SPRINTING

      public static final ClientCommandC2SPacket.Mode STOP_SPRINTING
      Mappings:
      Namespace Name Mixin selector
      official e Lwi$a;e:Lwi$a;
      intermediary field_12985 Lnet/minecraft/class_2848$class_2849;field_12985:Lnet/minecraft/class_2848$class_2849;
      named STOP_SPRINTING Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;STOP_SPRINTING:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
    • START_RIDING_JUMP

      public static final ClientCommandC2SPacket.Mode START_RIDING_JUMP
      Mappings:
      Namespace Name Mixin selector
      official f Lwi$a;f:Lwi$a;
      intermediary field_12987 Lnet/minecraft/class_2848$class_2849;field_12987:Lnet/minecraft/class_2848$class_2849;
      named START_RIDING_JUMP Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;START_RIDING_JUMP:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
    • STOP_RIDING_JUMP

      public static final ClientCommandC2SPacket.Mode STOP_RIDING_JUMP
      Mappings:
      Namespace Name Mixin selector
      official g Lwi$a;g:Lwi$a;
      intermediary field_12980 Lnet/minecraft/class_2848$class_2849;field_12980:Lnet/minecraft/class_2848$class_2849;
      named STOP_RIDING_JUMP Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;STOP_RIDING_JUMP:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
    • OPEN_INVENTORY

      public static final ClientCommandC2SPacket.Mode OPEN_INVENTORY
      Mappings:
      Namespace Name Mixin selector
      official h Lwi$a;h:Lwi$a;
      intermediary field_12988 Lnet/minecraft/class_2848$class_2849;field_12988:Lnet/minecraft/class_2848$class_2849;
      named OPEN_INVENTORY Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;OPEN_INVENTORY:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
    • START_FALL_FLYING

      public static final ClientCommandC2SPacket.Mode START_FALL_FLYING
      Mappings:
      Namespace Name Mixin selector
      official i Lwi$a;i:Lwi$a;
      intermediary field_12982 Lnet/minecraft/class_2848$class_2849;field_12982:Lnet/minecraft/class_2848$class_2849;
      named START_FALL_FLYING Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;START_FALL_FLYING:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
  • Constructor Details

    • Mode

      private Mode()
  • Method Details

    • values

      public static ClientCommandC2SPacket.Mode[] 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 ClientCommandC2SPacket.Mode 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