Package net.minecraft.util
Enum Class UseAction
- All Implemented Interfaces:
Serializable,Comparable<UseAction>,Constable
- Mappings:
Namespace Name official actintermediary net/minecraft/class_1099named net/minecraft/util/UseAction
-
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
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector official aLact;a:Lact;intermediary field_4404Lnet/minecraft/class_1099;field_4404:Lnet/minecraft/class_1099;named NONELnet/minecraft/util/UseAction;NONE:Lnet/minecraft/util/UseAction;
-
EAT
- Mappings:
Namespace Name Mixin selector official bLact;b:Lact;intermediary field_4405Lnet/minecraft/class_1099;field_4405:Lnet/minecraft/class_1099;named EATLnet/minecraft/util/UseAction;EAT:Lnet/minecraft/util/UseAction;
-
DRINK
- Mappings:
Namespace Name Mixin selector official cLact;c:Lact;intermediary field_4406Lnet/minecraft/class_1099;field_4406:Lnet/minecraft/class_1099;named DRINKLnet/minecraft/util/UseAction;DRINK:Lnet/minecraft/util/UseAction;
-
BLOCK
- Mappings:
Namespace Name Mixin selector official dLact;d:Lact;intermediary field_4407Lnet/minecraft/class_1099;field_4407:Lnet/minecraft/class_1099;named BLOCKLnet/minecraft/util/UseAction;BLOCK:Lnet/minecraft/util/UseAction;
-
BOW
- Mappings:
Namespace Name Mixin selector official eLact;e:Lact;intermediary field_4408Lnet/minecraft/class_1099;field_4408:Lnet/minecraft/class_1099;named BOWLnet/minecraft/util/UseAction;BOW:Lnet/minecraft/util/UseAction;
-
-
Constructor Details
-
UseAction
private UseAction()
-
-
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
-