Package net.minecraft.util
Enum Class ClickType
- All Implemented Interfaces:
Serializable
,Comparable<ClickType>
,Constable
- Mappings:
Namespace Name official cet
intermediary net/minecraft/class_5536
named net/minecraft/util/ClickType
-
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
-
LEFT
- Mappings:
Namespace Name Mixin selector official a
Lcet;a:Lcet;
intermediary field_27013
Lnet/minecraft/class_5536;field_27013:Lnet/minecraft/class_5536;
named LEFT
Lnet/minecraft/util/ClickType;LEFT:Lnet/minecraft/util/ClickType;
-
RIGHT
- Mappings:
Namespace Name Mixin selector official b
Lcet;b:Lcet;
intermediary field_27014
Lnet/minecraft/class_5536;field_27014:Lnet/minecraft/class_5536;
named RIGHT
Lnet/minecraft/util/ClickType;RIGHT:Lnet/minecraft/util/ClickType;
-
-
Constructor Details
-
ClickType
private ClickType()
-
-
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
-