Enum 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>,java.lang.constant.Constable
- Enclosing class:
- PlayerActionC2SPacket
public static enum PlayerActionC2SPacket.Action extends Enum<PlayerActionC2SPacket.Action>
- Mappings:
Namespace Name official tr$aintermediary net/minecraft/class_2846$class_2847named net/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description ABORT_DESTROY_BLOCKDROP_ALL_ITEMSDROP_ITEMRELEASE_USE_ITEMSTART_DESTROY_BLOCKSTOP_DESTROY_BLOCKSWAP_ITEM_WITH_OFFHAND -
Constructor Summary
Constructors Modifier Constructor Description privateAction() -
Method Summary
Modifier and Type Method Description static PlayerActionC2SPacket.ActionvalueOf(String name)Returns the enum constant of this type with the specified name.static PlayerActionC2SPacket.Action[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
START_DESTROY_BLOCK
- Mappings:
Namespace Name Mixin selector official aLtr$a;a:Ltr$a;intermediary field_12968Lnet/minecraft/class_2846$class_2847;field_12968:Lnet/minecraft/class_2846$class_2847;named START_DESTROY_BLOCKLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;START_DESTROY_BLOCK:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
-
ABORT_DESTROY_BLOCK
- Mappings:
Namespace Name Mixin selector official bLtr$a;b:Ltr$a;intermediary field_12971Lnet/minecraft/class_2846$class_2847;field_12971:Lnet/minecraft/class_2846$class_2847;named ABORT_DESTROY_BLOCKLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;ABORT_DESTROY_BLOCK:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
-
STOP_DESTROY_BLOCK
- Mappings:
Namespace Name Mixin selector official cLtr$a;c:Ltr$a;intermediary field_12973Lnet/minecraft/class_2846$class_2847;field_12973:Lnet/minecraft/class_2846$class_2847;named STOP_DESTROY_BLOCKLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;STOP_DESTROY_BLOCK:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
-
DROP_ALL_ITEMS
- Mappings:
Namespace Name Mixin selector official dLtr$a;d:Ltr$a;intermediary field_12970Lnet/minecraft/class_2846$class_2847;field_12970:Lnet/minecraft/class_2846$class_2847;named DROP_ALL_ITEMSLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;DROP_ALL_ITEMS:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
-
DROP_ITEM
- Mappings:
Namespace Name Mixin selector official eLtr$a;e:Ltr$a;intermediary field_12975Lnet/minecraft/class_2846$class_2847;field_12975:Lnet/minecraft/class_2846$class_2847;named DROP_ITEMLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;DROP_ITEM:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
-
RELEASE_USE_ITEM
- Mappings:
Namespace Name Mixin selector official fLtr$a;f:Ltr$a;intermediary field_12974Lnet/minecraft/class_2846$class_2847;field_12974:Lnet/minecraft/class_2846$class_2847;named RELEASE_USE_ITEMLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;RELEASE_USE_ITEM:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
-
SWAP_ITEM_WITH_OFFHAND
- Mappings:
Namespace Name Mixin selector official gLtr$a;g:Ltr$a;intermediary field_12969Lnet/minecraft/class_2846$class_2847;field_12969:Lnet/minecraft/class_2846$class_2847;named SWAP_ITEM_WITH_OFFHANDLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;SWAP_ITEM_WITH_OFFHAND:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
-
-
Constructor Details
-
Action
private Action()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-