Enum Constant Summary
Enum Constants
Field Summary
Fields
com.github.steveice10.mc.protocol.data.game.inventory.ContainerAction
com.github.steveice10.mc.protocol.data.game.inventory.ContainerActionType
static int
Method Summary
All Methods Static Methods Concrete Methods
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
LEFT
public static final Click LEFT
RIGHT
public static final Click RIGHT
LEFT_SHIFT
public static final Click LEFT_SHIFT
DROP_ONE
public static final Click DROP_ONE
DROP_ALL
public static final Click DROP_ALL
LEFT_OUTSIDE
public static final Click LEFT_OUTSIDE
RIGHT_OUTSIDE
public static final Click RIGHT_OUTSIDE
Field Details
actionType
public final com.github.steveice10.mc.protocol.data.game.inventory.ContainerActionType actionType
action
public final com.github.steveice10.mc.protocol.data.game.inventory.ContainerAction action
Method Details
values
public static Click [] 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 name
NullPointerException
- if the argument is null