Enum 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>
,java.lang.constant.Constable
- Enclosing class:
- UnlockRecipesS2CPacket
public static enum UnlockRecipesS2CPacket.Action extends Enum<UnlockRecipesS2CPacket.Action>
- Mappings:
Namespace Name official rd$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
Constructors Modifier Constructor Description private
Action()
-
Method Summary
Modifier and Type Method Description static UnlockRecipesS2CPacket.Action
valueOf(String name)
Returns the enum constant of this type with the specified name.static UnlockRecipesS2CPacket.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INIT
- Mappings:
Namespace Name Mixin selector official a
Lrd$a;a:Lrd$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
Lrd$a;b:Lrd$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
Lrd$a;c:Lrd$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 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
-