Enum Class UseAction

java.lang.Object
java.lang.Enum<UseAction>
net.minecraft.util.UseAction
All Implemented Interfaces:
Serializable, Comparable<UseAction>, Constable

public enum UseAction extends Enum<UseAction>
Mappings:
Namespace Name
named net/minecraft/util/UseAction
intermediary net/minecraft/class_1839
official cwl
  • Enum Constant Details

    • NONE

      public static final UseAction NONE
      Mappings:
      Namespace Name Mixin selector
      named NONE Lnet/minecraft/util/UseAction;NONE:Lnet/minecraft/util/UseAction;
      intermediary field_8952 Lnet/minecraft/class_1839;field_8952:Lnet/minecraft/class_1839;
      official a Lcwl;a:Lcwl;
    • EAT

      public static final UseAction EAT
      Mappings:
      Namespace Name Mixin selector
      named EAT Lnet/minecraft/util/UseAction;EAT:Lnet/minecraft/util/UseAction;
      intermediary field_8950 Lnet/minecraft/class_1839;field_8950:Lnet/minecraft/class_1839;
      official b Lcwl;b:Lcwl;
    • DRINK

      public static final UseAction DRINK
      Mappings:
      Namespace Name Mixin selector
      named DRINK Lnet/minecraft/util/UseAction;DRINK:Lnet/minecraft/util/UseAction;
      intermediary field_8946 Lnet/minecraft/class_1839;field_8946:Lnet/minecraft/class_1839;
      official c Lcwl;c:Lcwl;
    • BLOCK

      public static final UseAction BLOCK
      Mappings:
      Namespace Name Mixin selector
      named BLOCK Lnet/minecraft/util/UseAction;BLOCK:Lnet/minecraft/util/UseAction;
      intermediary field_8949 Lnet/minecraft/class_1839;field_8949:Lnet/minecraft/class_1839;
      official d Lcwl;d:Lcwl;
    • BOW

      public static final UseAction BOW
      Mappings:
      Namespace Name Mixin selector
      named BOW Lnet/minecraft/util/UseAction;BOW:Lnet/minecraft/util/UseAction;
      intermediary field_8953 Lnet/minecraft/class_1839;field_8953:Lnet/minecraft/class_1839;
      official e Lcwl;e:Lcwl;
    • SPEAR

      public static final UseAction SPEAR
      Mappings:
      Namespace Name Mixin selector
      named SPEAR Lnet/minecraft/util/UseAction;SPEAR:Lnet/minecraft/util/UseAction;
      intermediary field_8951 Lnet/minecraft/class_1839;field_8951:Lnet/minecraft/class_1839;
      official f Lcwl;f:Lcwl;
    • CROSSBOW

      public static final UseAction CROSSBOW
      Mappings:
      Namespace Name Mixin selector
      named CROSSBOW Lnet/minecraft/util/UseAction;CROSSBOW:Lnet/minecraft/util/UseAction;
      intermediary field_8947 Lnet/minecraft/class_1839;field_8947:Lnet/minecraft/class_1839;
      official g Lcwl;g:Lcwl;
    • SPYGLASS

      public static final UseAction SPYGLASS
      Mappings:
      Namespace Name Mixin selector
      named SPYGLASS Lnet/minecraft/util/UseAction;SPYGLASS:Lnet/minecraft/util/UseAction;
      intermediary field_27079 Lnet/minecraft/class_1839;field_27079:Lnet/minecraft/class_1839;
      official h Lcwl;h:Lcwl;
    • TOOT_HORN

      public static final UseAction TOOT_HORN
      Mappings:
      Namespace Name Mixin selector
      named TOOT_HORN Lnet/minecraft/util/UseAction;TOOT_HORN:Lnet/minecraft/util/UseAction;
      intermediary field_39058 Lnet/minecraft/class_1839;field_39058:Lnet/minecraft/class_1839;
      official i Lcwl;i:Lcwl;
    • BRUSH

      public static final UseAction BRUSH
      Mappings:
      Namespace Name Mixin selector
      named BRUSH Lnet/minecraft/util/UseAction;BRUSH:Lnet/minecraft/util/UseAction;
      intermediary field_42717 Lnet/minecraft/class_1839;field_42717:Lnet/minecraft/class_1839;
      official j Lcwl;j:Lcwl;
  • Constructor Details

    • UseAction

      private UseAction()
  • Method Details

    • values

      public static UseAction[] 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

      public static UseAction valueOf(String name)
      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 name
      NullPointerException - if the argument is null