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
- Mappings:
Namespace Name official jd$aintermediary net/minecraft/class_2066$class_2589named 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 ConstantsEnum ConstantDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PlayerActionC2SPacket.ActionReturns the enum constant of this class with the specified name.static PlayerActionC2SPacket.Action[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
START_DESTROY_BLOCK
- Mappings:
Namespace Name Mixin selector official aLjd$a;a:Ljd$a;intermediary field_11708Lnet/minecraft/class_2066$class_2589;field_11708:Lnet/minecraft/class_2066$class_2589;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 bLjd$a;b:Ljd$a;intermediary field_11709Lnet/minecraft/class_2066$class_2589;field_11709:Lnet/minecraft/class_2066$class_2589;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 cLjd$a;c:Ljd$a;intermediary field_11710Lnet/minecraft/class_2066$class_2589;field_11710:Lnet/minecraft/class_2066$class_2589;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 dLjd$a;d:Ljd$a;intermediary field_11711Lnet/minecraft/class_2066$class_2589;field_11711:Lnet/minecraft/class_2066$class_2589;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 eLjd$a;e:Ljd$a;intermediary field_11712Lnet/minecraft/class_2066$class_2589;field_11712:Lnet/minecraft/class_2066$class_2589;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 fLjd$a;f:Ljd$a;intermediary field_11713Lnet/minecraft/class_2066$class_2589;field_11713:Lnet/minecraft/class_2066$class_2589;named RELEASE_USE_ITEMLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;RELEASE_USE_ITEM:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
-
SWAP_HELD_ITEMS
- Mappings:
Namespace Name Mixin selector official gLjd$a;g:Ljd$a;intermediary field_13807Lnet/minecraft/class_2066$class_2589;field_13807:Lnet/minecraft/class_2066$class_2589;named SWAP_HELD_ITEMSLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;SWAP_HELD_ITEMS: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 class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-