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 ta$a
intermediary net/minecraft/class_2713$class_2714
named 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
-
Constructor Summary
-
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 a
Lta$a;a:Lta$a;
intermediary field_12416
Lnet/minecraft/class_2713$class_2714;field_12416:Lnet/minecraft/class_2713$class_2714;
named INIT
Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket$Action;INIT:Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket$Action;
-
ADD
- Mappings:
Namespace Name Mixin selector official b
Lta$a;b:Lta$a;
intermediary field_12415
Lnet/minecraft/class_2713$class_2714;field_12415:Lnet/minecraft/class_2713$class_2714;
named ADD
Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket$Action;ADD:Lnet/minecraft/network/packet/s2c/play/UnlockRecipesS2CPacket$Action;
-
REMOVE
- Mappings:
Namespace Name Mixin selector official c
Lta$a;c:Lta$a;
intermediary field_12417
Lnet/minecraft/class_2713$class_2714;field_12417:Lnet/minecraft/class_2713$class_2714;
named REMOVE
Lnet/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
-