Package net.minecraft.util
Enum UseAction
- All Implemented Interfaces:
Serializable,Comparable<UseAction>,java.lang.constant.Constable
public enum UseAction extends Enum<UseAction>
- Mappings:
Namespace Name official bplintermediary net/minecraft/class_1839named net/minecraft/util/UseAction
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector official aLbpl;a:Lbpl;intermediary field_8952Lnet/minecraft/class_1839;field_8952:Lnet/minecraft/class_1839;named NONELnet/minecraft/util/UseAction;NONE:Lnet/minecraft/util/UseAction;
-
EAT
- Mappings:
Namespace Name Mixin selector official bLbpl;b:Lbpl;intermediary field_8950Lnet/minecraft/class_1839;field_8950:Lnet/minecraft/class_1839;named EATLnet/minecraft/util/UseAction;EAT:Lnet/minecraft/util/UseAction;
-
DRINK
- Mappings:
Namespace Name Mixin selector official cLbpl;c:Lbpl;intermediary field_8946Lnet/minecraft/class_1839;field_8946:Lnet/minecraft/class_1839;named DRINKLnet/minecraft/util/UseAction;DRINK:Lnet/minecraft/util/UseAction;
-
BLOCK
- Mappings:
Namespace Name Mixin selector official dLbpl;d:Lbpl;intermediary field_8949Lnet/minecraft/class_1839;field_8949:Lnet/minecraft/class_1839;named BLOCKLnet/minecraft/util/UseAction;BLOCK:Lnet/minecraft/util/UseAction;
-
BOW
- Mappings:
Namespace Name Mixin selector official eLbpl;e:Lbpl;intermediary field_8953Lnet/minecraft/class_1839;field_8953:Lnet/minecraft/class_1839;named BOWLnet/minecraft/util/UseAction;BOW:Lnet/minecraft/util/UseAction;
-
SPEAR
- Mappings:
Namespace Name Mixin selector official fLbpl;f:Lbpl;intermediary field_8951Lnet/minecraft/class_1839;field_8951:Lnet/minecraft/class_1839;named SPEARLnet/minecraft/util/UseAction;SPEAR:Lnet/minecraft/util/UseAction;
-
CROSSBOW
- Mappings:
Namespace Name Mixin selector official gLbpl;g:Lbpl;intermediary field_8947Lnet/minecraft/class_1839;field_8947:Lnet/minecraft/class_1839;named CROSSBOWLnet/minecraft/util/UseAction;CROSSBOW:Lnet/minecraft/util/UseAction;
-
SPYGLASS
- Mappings:
Namespace Name Mixin selector official hLbpl;h:Lbpl;intermediary field_27079Lnet/minecraft/class_1839;field_27079:Lnet/minecraft/class_1839;named SPYGLASSLnet/minecraft/util/UseAction;SPYGLASS:Lnet/minecraft/util/UseAction;
-
-
Constructor Details
-
UseAction
private UseAction()
-
-
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
-