Enum Class UnlockRecipesS2CPacket.Action
java.lang.Object
java.lang.Enum<UnlockRecipesS2CPacket.Action>
net.minecraft.network.packet.s2c.play.UnlockRecipesS2CPacket.Action
- All Implemented Interfaces:
Serializable,Comparable<UnlockRecipesS2CPacket.Action>,Constable
- Enclosing class:
UnlockRecipesS2CPacket
- Mappings:
Namespace Name official xd$aintermediary net/minecraft/class_2713$class_2714named net/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket$Action
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static UnlockRecipesS2CPacket.Action[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INIT
- Mappings:
Namespace Name Mixin selector official aLxd$a;a:Lxd$a;intermediary field_12416Lnet/minecraft/class_2713$class_2714;field_12416:Lnet/minecraft/class_2713$class_2714;named INITLnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket$Action;INIT:Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket$Action;
-
ADD
- Mappings:
Namespace Name Mixin selector official bLxd$a;b:Lxd$a;intermediary field_12415Lnet/minecraft/class_2713$class_2714;field_12415:Lnet/minecraft/class_2713$class_2714;named ADDLnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket$Action;ADD:Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket$Action;
-
REMOVE
- Mappings:
Namespace Name Mixin selector official cLxd$a;c:Lxd$a;intermediary field_12417Lnet/minecraft/class_2713$class_2714;field_12417:Lnet/minecraft/class_2713$class_2714;named REMOVELnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket$Action;REMOVE:Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket$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
-