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 abaintermediary net/minecraft/class_30named net/minecraft/util/UseAction
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector official aLaba;a:Laba;intermediary field_62Lnet/minecraft/class_30;field_62:Lnet/minecraft/class_30;named NONELnet/minecraft/util/UseAction;NONE:Lnet/minecraft/util/UseAction;
-
EAT
- Mappings:
Namespace Name Mixin selector official bLaba;b:Laba;intermediary field_63Lnet/minecraft/class_30;field_63:Lnet/minecraft/class_30;named EATLnet/minecraft/util/UseAction;EAT:Lnet/minecraft/util/UseAction;
-
DRINK
- Mappings:
Namespace Name Mixin selector official cLaba;c:Laba;intermediary field_64Lnet/minecraft/class_30;field_64:Lnet/minecraft/class_30;named DRINKLnet/minecraft/util/UseAction;DRINK:Lnet/minecraft/util/UseAction;
-
BLOCK
- Mappings:
Namespace Name Mixin selector official dLaba;d:Laba;intermediary field_65Lnet/minecraft/class_30;field_65:Lnet/minecraft/class_30;named BLOCKLnet/minecraft/util/UseAction;BLOCK:Lnet/minecraft/util/UseAction;
-
BOW
- Mappings:
Namespace Name Mixin selector official eLaba;e:Laba;intermediary field_66Lnet/minecraft/class_30;field_66:Lnet/minecraft/class_30;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 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
-