Enum Class PlayerActionC2SPacket.Action

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

public static enum PlayerActionC2SPacket.Action extends Enum<PlayerActionC2SPacket.Action>
Mappings:
Namespace Name
named net/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action
intermediary net/minecraft/class_2846$class_2847
official aia$a
  • Enum Constant Details

    • START_DESTROY_BLOCK

      public static final PlayerActionC2SPacket.Action START_DESTROY_BLOCK
      Mappings:
      Namespace Name Mixin selector
      named START_DESTROY_BLOCK Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;START_DESTROY_BLOCK:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
      intermediary field_12968 Lnet/minecraft/class_2846$class_2847;field_12968:Lnet/minecraft/class_2846$class_2847;
      official a Laia$a;a:Laia$a;
    • ABORT_DESTROY_BLOCK

      public static final PlayerActionC2SPacket.Action ABORT_DESTROY_BLOCK
      Mappings:
      Namespace Name Mixin selector
      named ABORT_DESTROY_BLOCK Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;ABORT_DESTROY_BLOCK:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
      intermediary field_12971 Lnet/minecraft/class_2846$class_2847;field_12971:Lnet/minecraft/class_2846$class_2847;
      official b Laia$a;b:Laia$a;
    • STOP_DESTROY_BLOCK

      public static final PlayerActionC2SPacket.Action STOP_DESTROY_BLOCK
      Mappings:
      Namespace Name Mixin selector
      named STOP_DESTROY_BLOCK Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;STOP_DESTROY_BLOCK:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
      intermediary field_12973 Lnet/minecraft/class_2846$class_2847;field_12973:Lnet/minecraft/class_2846$class_2847;
      official c Laia$a;c:Laia$a;
    • DROP_ALL_ITEMS

      public static final PlayerActionC2SPacket.Action DROP_ALL_ITEMS
      Mappings:
      Namespace Name Mixin selector
      named DROP_ALL_ITEMS Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;DROP_ALL_ITEMS:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
      intermediary field_12970 Lnet/minecraft/class_2846$class_2847;field_12970:Lnet/minecraft/class_2846$class_2847;
      official d Laia$a;d:Laia$a;
    • DROP_ITEM

      public static final PlayerActionC2SPacket.Action DROP_ITEM
      Mappings:
      Namespace Name Mixin selector
      named DROP_ITEM Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;DROP_ITEM:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
      intermediary field_12975 Lnet/minecraft/class_2846$class_2847;field_12975:Lnet/minecraft/class_2846$class_2847;
      official e Laia$a;e:Laia$a;
    • RELEASE_USE_ITEM

      public static final PlayerActionC2SPacket.Action RELEASE_USE_ITEM
      Mappings:
      Namespace Name Mixin selector
      named RELEASE_USE_ITEM Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;RELEASE_USE_ITEM:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
      intermediary field_12974 Lnet/minecraft/class_2846$class_2847;field_12974:Lnet/minecraft/class_2846$class_2847;
      official f Laia$a;f:Laia$a;
    • SWAP_ITEM_WITH_OFFHAND

      public static final PlayerActionC2SPacket.Action SWAP_ITEM_WITH_OFFHAND
      Mappings:
      Namespace Name Mixin selector
      named SWAP_ITEM_WITH_OFFHAND Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;SWAP_ITEM_WITH_OFFHAND:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
      intermediary field_12969 Lnet/minecraft/class_2846$class_2847;field_12969:Lnet/minecraft/class_2846$class_2847;
      official g Laia$a;g:Laia$a;
  • Constructor Details

    • Action

      private Action()
  • Method Details

    • values

      public static PlayerActionC2SPacket.Action[] 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 PlayerActionC2SPacket.Action 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