Package net.minecraft.util
Enum Class UseAction
- All Implemented Interfaces:
Serializable
,Comparable<UseAction>
,Constable
- Mappings:
Namespace Name official chn
intermediary net/minecraft/class_1839
named 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
-
Constructor Summary
-
Method Summary
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector official a
Lchn;a:Lchn;
intermediary field_8952
Lnet/minecraft/class_1839;field_8952:Lnet/minecraft/class_1839;
named NONE
Lnet/minecraft/util/UseAction;NONE:Lnet/minecraft/util/UseAction;
-
EAT
- Mappings:
Namespace Name Mixin selector official b
Lchn;b:Lchn;
intermediary field_8950
Lnet/minecraft/class_1839;field_8950:Lnet/minecraft/class_1839;
named EAT
Lnet/minecraft/util/UseAction;EAT:Lnet/minecraft/util/UseAction;
-
DRINK
- Mappings:
Namespace Name Mixin selector official c
Lchn;c:Lchn;
intermediary field_8946
Lnet/minecraft/class_1839;field_8946:Lnet/minecraft/class_1839;
named DRINK
Lnet/minecraft/util/UseAction;DRINK:Lnet/minecraft/util/UseAction;
-
BLOCK
- Mappings:
Namespace Name Mixin selector official d
Lchn;d:Lchn;
intermediary field_8949
Lnet/minecraft/class_1839;field_8949:Lnet/minecraft/class_1839;
named BLOCK
Lnet/minecraft/util/UseAction;BLOCK:Lnet/minecraft/util/UseAction;
-
BOW
- Mappings:
Namespace Name Mixin selector official e
Lchn;e:Lchn;
intermediary field_8953
Lnet/minecraft/class_1839;field_8953:Lnet/minecraft/class_1839;
named BOW
Lnet/minecraft/util/UseAction;BOW:Lnet/minecraft/util/UseAction;
-
SPEAR
- Mappings:
Namespace Name Mixin selector official f
Lchn;f:Lchn;
intermediary field_8951
Lnet/minecraft/class_1839;field_8951:Lnet/minecraft/class_1839;
named SPEAR
Lnet/minecraft/util/UseAction;SPEAR:Lnet/minecraft/util/UseAction;
-
CROSSBOW
- Mappings:
Namespace Name Mixin selector official g
Lchn;g:Lchn;
intermediary field_8947
Lnet/minecraft/class_1839;field_8947:Lnet/minecraft/class_1839;
named CROSSBOW
Lnet/minecraft/util/UseAction;CROSSBOW:Lnet/minecraft/util/UseAction;
-
SPYGLASS
- Mappings:
Namespace Name Mixin selector official h
Lchn;h:Lchn;
intermediary field_27079
Lnet/minecraft/class_1839;field_27079:Lnet/minecraft/class_1839;
named SPYGLASS
Lnet/minecraft/util/UseAction;SPYGLASS:Lnet/minecraft/util/UseAction;
-
TOOT_HORN
- Mappings:
Namespace Name Mixin selector official i
Lchn;i:Lchn;
intermediary field_39058
Lnet/minecraft/class_1839;field_39058:Lnet/minecraft/class_1839;
named TOOT_HORN
Lnet/minecraft/util/UseAction;TOOT_HORN:Lnet/minecraft/util/UseAction;
-
BRUSH
- Mappings:
Namespace Name Mixin selector official j
Lchn;j:Lchn;
intermediary field_42717
Lnet/minecraft/class_1839;field_42717:Lnet/minecraft/class_1839;
named BRUSH
Lnet/minecraft/util/UseAction;BRUSH: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
-