Enum PlayerInteractionC2SPacket.Action
java.lang.Object
java.lang.Enum<PlayerInteractionC2SPacket.Action>
net.minecraft.network.packet.c2s.play.PlayerInteractionC2SPacket.Action
- All Implemented Interfaces:
Serializable,Comparable<PlayerInteractionC2SPacket.Action>,java.lang.constant.Constable
- Enclosing class:
- PlayerInteractionC2SPacket
public static enum PlayerInteractionC2SPacket.Action extends Enum<PlayerInteractionC2SPacket.Action>
- Mappings:
Namespace Name official ir$aintermediary net/minecraft/class_1569$class_1570named net/minecraft/network/packet/c2s/play/PlayerInteractionC2SPacket$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_BLOCK -
Constructor Summary
Constructors Modifier Constructor Description privateAction() -
Method Summary
Modifier and Type Method Description static PlayerInteractionC2SPacket.ActionvalueOf(String name)Returns the enum constant of this type with the specified name.static PlayerInteractionC2SPacket.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 aLir$a;a:Lir$a;intermediary field_6430Lnet/minecraft/class_1569$class_1570;field_6430:Lnet/minecraft/class_1569$class_1570;named START_DESTROY_BLOCKLnet/minecraft/network/packet/c2s/play/PlayerInteractionC2SPacket$Action;START_DESTROY_BLOCK:Lnet/minecraft/network/packet/c2s/play/PlayerInteractionC2SPacket$Action;
-
ABORT_DESTROY_BLOCK
- Mappings:
Namespace Name Mixin selector official bLir$a;b:Lir$a;intermediary field_6431Lnet/minecraft/class_1569$class_1570;field_6431:Lnet/minecraft/class_1569$class_1570;named ABORT_DESTROY_BLOCKLnet/minecraft/network/packet/c2s/play/PlayerInteractionC2SPacket$Action;ABORT_DESTROY_BLOCK:Lnet/minecraft/network/packet/c2s/play/PlayerInteractionC2SPacket$Action;
-
STOP_DESTROY_BLOCK
- Mappings:
Namespace Name Mixin selector official cLir$a;c:Lir$a;intermediary field_6432Lnet/minecraft/class_1569$class_1570;field_6432:Lnet/minecraft/class_1569$class_1570;named STOP_DESTROY_BLOCKLnet/minecraft/network/packet/c2s/play/PlayerInteractionC2SPacket$Action;STOP_DESTROY_BLOCK:Lnet/minecraft/network/packet/c2s/play/PlayerInteractionC2SPacket$Action;
-
DROP_ALL_ITEMS
- Mappings:
Namespace Name Mixin selector official dLir$a;d:Lir$a;intermediary field_6433Lnet/minecraft/class_1569$class_1570;field_6433:Lnet/minecraft/class_1569$class_1570;named DROP_ALL_ITEMSLnet/minecraft/network/packet/c2s/play/PlayerInteractionC2SPacket$Action;DROP_ALL_ITEMS:Lnet/minecraft/network/packet/c2s/play/PlayerInteractionC2SPacket$Action;
-
DROP_ITEM
- Mappings:
Namespace Name Mixin selector official eLir$a;e:Lir$a;intermediary field_6434Lnet/minecraft/class_1569$class_1570;field_6434:Lnet/minecraft/class_1569$class_1570;named DROP_ITEMLnet/minecraft/network/packet/c2s/play/PlayerInteractionC2SPacket$Action;DROP_ITEM:Lnet/minecraft/network/packet/c2s/play/PlayerInteractionC2SPacket$Action;
-
RELEASE_USE_ITEM
- Mappings:
Namespace Name Mixin selector official fLir$a;f:Lir$a;intermediary field_6435Lnet/minecraft/class_1569$class_1570;field_6435:Lnet/minecraft/class_1569$class_1570;named RELEASE_USE_ITEMLnet/minecraft/network/packet/c2s/play/PlayerInteractionC2SPacket$Action;RELEASE_USE_ITEM:Lnet/minecraft/network/packet/c2s/play/PlayerInteractionC2SPacket$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
-