Enum C02PacketUseEntity.Action
- java.lang.Object
-
- java.lang.Enum<C02PacketUseEntity.Action>
-
- net.minecraft.network.play.client.C02PacketUseEntity.Action
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<C02PacketUseEntity.Action>
- Enclosing class:
- C02PacketUseEntity
public static enum C02PacketUseEntity.Action extends java.lang.Enum<C02PacketUseEntity.Action>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTACK
INTERACT
INTERACT_AT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static C02PacketUseEntity.Action
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static C02PacketUseEntity.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERACT
public static final C02PacketUseEntity.Action INTERACT
-
ATTACK
public static final C02PacketUseEntity.Action ATTACK
-
INTERACT_AT
public static final C02PacketUseEntity.Action INTERACT_AT
-
-
Method Detail
-
values
public static C02PacketUseEntity.Action[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (C02PacketUseEntity.Action c : C02PacketUseEntity.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static C02PacketUseEntity.Action valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-