Enum 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>,java.lang.constant.Constable
- Enclosing class:
- ClientCommandC2SPacket
public static enum ClientCommandC2SPacket.Mode extends Enum<ClientCommandC2SPacket.Mode>
- Mappings:
Namespace Name official uc$aintermediary net/minecraft/class_2848$class_2849named net/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode
-
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 OPEN_INVENTORYPRESS_SHIFT_KEYRELEASE_SHIFT_KEYSTART_FALL_FLYINGSTART_RIDING_JUMPSTART_SPRINTINGSTOP_RIDING_JUMPSTOP_SLEEPINGSTOP_SPRINTING -
Constructor Summary
Constructors Modifier Constructor Description privateMode() -
Method Summary
Modifier and Type Method Description static ClientCommandC2SPacket.ModevalueOf(String name)Returns the enum constant of this type with the specified name.static ClientCommandC2SPacket.Mode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PRESS_SHIFT_KEY
- Mappings:
Namespace Name Mixin selector official aLuc$a;a:Luc$a;intermediary field_12979Lnet/minecraft/class_2848$class_2849;field_12979:Lnet/minecraft/class_2848$class_2849;named PRESS_SHIFT_KEYLnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;PRESS_SHIFT_KEY:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
-
RELEASE_SHIFT_KEY
- Mappings:
Namespace Name Mixin selector official bLuc$a;b:Luc$a;intermediary field_12984Lnet/minecraft/class_2848$class_2849;field_12984:Lnet/minecraft/class_2848$class_2849;named RELEASE_SHIFT_KEYLnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;RELEASE_SHIFT_KEY:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
-
STOP_SLEEPING
- Mappings:
Namespace Name Mixin selector official cLuc$a;c:Luc$a;intermediary field_12986Lnet/minecraft/class_2848$class_2849;field_12986:Lnet/minecraft/class_2848$class_2849;named STOP_SLEEPINGLnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;STOP_SLEEPING:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
-
START_SPRINTING
- Mappings:
Namespace Name Mixin selector official dLuc$a;d:Luc$a;intermediary field_12981Lnet/minecraft/class_2848$class_2849;field_12981:Lnet/minecraft/class_2848$class_2849;named START_SPRINTINGLnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;START_SPRINTING:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
-
STOP_SPRINTING
- Mappings:
Namespace Name Mixin selector official eLuc$a;e:Luc$a;intermediary field_12985Lnet/minecraft/class_2848$class_2849;field_12985:Lnet/minecraft/class_2848$class_2849;named STOP_SPRINTINGLnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;STOP_SPRINTING:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
-
START_RIDING_JUMP
- Mappings:
Namespace Name Mixin selector official fLuc$a;f:Luc$a;intermediary field_12987Lnet/minecraft/class_2848$class_2849;field_12987:Lnet/minecraft/class_2848$class_2849;named START_RIDING_JUMPLnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;START_RIDING_JUMP:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
-
STOP_RIDING_JUMP
- Mappings:
Namespace Name Mixin selector official gLuc$a;g:Luc$a;intermediary field_12980Lnet/minecraft/class_2848$class_2849;field_12980:Lnet/minecraft/class_2848$class_2849;named STOP_RIDING_JUMPLnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;STOP_RIDING_JUMP:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
-
OPEN_INVENTORY
- Mappings:
Namespace Name Mixin selector official hLuc$a;h:Luc$a;intermediary field_12988Lnet/minecraft/class_2848$class_2849;field_12988:Lnet/minecraft/class_2848$class_2849;named OPEN_INVENTORYLnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;OPEN_INVENTORY:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
-
START_FALL_FLYING
- Mappings:
Namespace Name Mixin selector official iLuc$a;i:Luc$a;intermediary field_12982Lnet/minecraft/class_2848$class_2849;field_12982:Lnet/minecraft/class_2848$class_2849;named START_FALL_FLYINGLnet/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
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
-