Package net.minecraft.util
Enum Class UseAction
- All Implemented Interfaces:
Serializable,Comparable<UseAction>,Constable
- Mappings:
Namespace Name named net/minecraft/util/UseActionintermediary net/minecraft/class_1839official cwf
-
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 named NONELnet/minecraft/util/UseAction;NONE:Lnet/minecraft/util/UseAction;intermediary field_8952Lnet/minecraft/class_1839;field_8952:Lnet/minecraft/class_1839;official aLcwf;a:Lcwf;
-
EAT
- Mappings:
Namespace Name Mixin selector named EATLnet/minecraft/util/UseAction;EAT:Lnet/minecraft/util/UseAction;intermediary field_8950Lnet/minecraft/class_1839;field_8950:Lnet/minecraft/class_1839;official bLcwf;b:Lcwf;
-
DRINK
- Mappings:
Namespace Name Mixin selector named DRINKLnet/minecraft/util/UseAction;DRINK:Lnet/minecraft/util/UseAction;intermediary field_8946Lnet/minecraft/class_1839;field_8946:Lnet/minecraft/class_1839;official cLcwf;c:Lcwf;
-
BLOCK
- Mappings:
Namespace Name Mixin selector named BLOCKLnet/minecraft/util/UseAction;BLOCK:Lnet/minecraft/util/UseAction;intermediary field_8949Lnet/minecraft/class_1839;field_8949:Lnet/minecraft/class_1839;official dLcwf;d:Lcwf;
-
BOW
- Mappings:
Namespace Name Mixin selector named BOWLnet/minecraft/util/UseAction;BOW:Lnet/minecraft/util/UseAction;intermediary field_8953Lnet/minecraft/class_1839;field_8953:Lnet/minecraft/class_1839;official eLcwf;e:Lcwf;
-
SPEAR
- Mappings:
Namespace Name Mixin selector named SPEARLnet/minecraft/util/UseAction;SPEAR:Lnet/minecraft/util/UseAction;intermediary field_8951Lnet/minecraft/class_1839;field_8951:Lnet/minecraft/class_1839;official fLcwf;f:Lcwf;
-
CROSSBOW
- Mappings:
Namespace Name Mixin selector named CROSSBOWLnet/minecraft/util/UseAction;CROSSBOW:Lnet/minecraft/util/UseAction;intermediary field_8947Lnet/minecraft/class_1839;field_8947:Lnet/minecraft/class_1839;official gLcwf;g:Lcwf;
-
SPYGLASS
- Mappings:
Namespace Name Mixin selector named SPYGLASSLnet/minecraft/util/UseAction;SPYGLASS:Lnet/minecraft/util/UseAction;intermediary field_27079Lnet/minecraft/class_1839;field_27079:Lnet/minecraft/class_1839;official hLcwf;h:Lcwf;
-
TOOT_HORN
- Mappings:
Namespace Name Mixin selector named TOOT_HORNLnet/minecraft/util/UseAction;TOOT_HORN:Lnet/minecraft/util/UseAction;intermediary field_39058Lnet/minecraft/class_1839;field_39058:Lnet/minecraft/class_1839;official iLcwf;i:Lcwf;
-
BRUSH
- Mappings:
Namespace Name Mixin selector named BRUSHLnet/minecraft/util/UseAction;BRUSH:Lnet/minecraft/util/UseAction;intermediary field_42717Lnet/minecraft/class_1839;field_42717:Lnet/minecraft/class_1839;official jLcwf;j:Lcwf;
-
-
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
-