Enum Class 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>,Constable
- Enclosing class:
- ClientCommandC2SPacket
- Mappings:
Namespace Name official is$aintermediary net/minecraft/class_704$class_2590named 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 ConstantsEnum ConstantDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClientCommandC2SPacket.ModeReturns the enum constant of this class with the specified name.static ClientCommandC2SPacket.Mode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
START_SNEAKING
- Mappings:
Namespace Name Mixin selector official aLis$a;a:Lis$a;intermediary field_11716Lnet/minecraft/class_704$class_2590;field_11716:Lnet/minecraft/class_704$class_2590;named START_SNEAKINGLnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;START_SNEAKING:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
-
STOP_SNEAKING
- Mappings:
Namespace Name Mixin selector official bLis$a;b:Lis$a;intermediary field_11717Lnet/minecraft/class_704$class_2590;field_11717:Lnet/minecraft/class_704$class_2590;named STOP_SNEAKINGLnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;STOP_SNEAKING:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
-
STOP_SLEEPING
- Mappings:
Namespace Name Mixin selector official cLis$a;c:Lis$a;intermediary field_11718Lnet/minecraft/class_704$class_2590;field_11718:Lnet/minecraft/class_704$class_2590;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 dLis$a;d:Lis$a;intermediary field_11719Lnet/minecraft/class_704$class_2590;field_11719:Lnet/minecraft/class_704$class_2590;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 eLis$a;e:Lis$a;intermediary field_11720Lnet/minecraft/class_704$class_2590;field_11720:Lnet/minecraft/class_704$class_2590;named STOP_SPRINTINGLnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;STOP_SPRINTING:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
-
RIDING_JUMP
- Mappings:
Namespace Name Mixin selector official fLis$a;f:Lis$a;intermediary field_11721Lnet/minecraft/class_704$class_2590;field_11721:Lnet/minecraft/class_704$class_2590;named RIDING_JUMPLnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;RIDING_JUMP:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
-
OPEN_INVENTORY
- Mappings:
Namespace Name Mixin selector official gLis$a;g:Lis$a;intermediary field_11722Lnet/minecraft/class_704$class_2590;field_11722:Lnet/minecraft/class_704$class_2590;named OPEN_INVENTORYLnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;OPEN_INVENTORY: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 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
-