Enum Class ClickType

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

public enum ClickType extends Enum<ClickType>
Mappings:
Namespace Name
named net/minecraft/util/ClickType
intermediary net/minecraft/class_5536
official cqd
  • Enum Constant Details

    • LEFT

      public static final ClickType LEFT
      Mappings:
      Namespace Name Mixin selector
      named LEFT Lnet/minecraft/util/ClickType;LEFT:Lnet/minecraft/util/ClickType;
      intermediary field_27013 Lnet/minecraft/class_5536;field_27013:Lnet/minecraft/class_5536;
      official a Lcqd;a:Lcqd;
  • Constructor Details

    • ClickType

      private ClickType()
  • Method Details

    • values

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