Enum UseAction

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

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

    • NONE

      public static final UseAction NONE
      Mappings:
      Namespace Name Mixin selector
      official a Laba;a:Laba;
      intermediary field_62 Lnet/minecraft/class_30;field_62:Lnet/minecraft/class_30;
      named NONE Lnet/minecraft/util/UseAction;NONE:Lnet/minecraft/util/UseAction;
    • EAT

      public static final UseAction EAT
      Mappings:
      Namespace Name Mixin selector
      official b Laba;b:Laba;
      intermediary field_63 Lnet/minecraft/class_30;field_63:Lnet/minecraft/class_30;
      named EAT Lnet/minecraft/util/UseAction;EAT:Lnet/minecraft/util/UseAction;
    • DRINK

      public static final UseAction DRINK
      Mappings:
      Namespace Name Mixin selector
      official c Laba;c:Laba;
      intermediary field_64 Lnet/minecraft/class_30;field_64:Lnet/minecraft/class_30;
      named DRINK Lnet/minecraft/util/UseAction;DRINK:Lnet/minecraft/util/UseAction;
    • BLOCK

      public static final UseAction BLOCK
      Mappings:
      Namespace Name Mixin selector
      official d Laba;d:Laba;
      intermediary field_65 Lnet/minecraft/class_30;field_65:Lnet/minecraft/class_30;
      named BLOCK Lnet/minecraft/util/UseAction;BLOCK:Lnet/minecraft/util/UseAction;
    • BOW

      public static final UseAction BOW
      Mappings:
      Namespace Name Mixin selector
      official e Laba;e:Laba;
      intermediary field_66 Lnet/minecraft/class_30;field_66:Lnet/minecraft/class_30;
      named BOW Lnet/minecraft/util/UseAction;BOW:Lnet/minecraft/util/UseAction;
  • Constructor Details

    • UseAction

      private UseAction()
  • Method Details

    • values

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

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