Package net.minecraft.util
Enum ClickType
- All Implemented Interfaces:
Serializable,Comparable<ClickType>,java.lang.constant.Constable
public enum ClickType extends Enum<ClickType>
- Mappings:
Namespace Name official bjzintermediary net/minecraft/class_5536named net/minecraft/util/ClickType
-
Enum Constant Details
-
LEFT
- Mappings:
Namespace Name Mixin selector official aLbjz;a:Lbjz;intermediary field_27013Lnet/minecraft/class_5536;field_27013:Lnet/minecraft/class_5536;named LEFTLnet/minecraft/util/ClickType;LEFT:Lnet/minecraft/util/ClickType;
-
RIGHT
- Mappings:
Namespace Name Mixin selector official bLbjz;b:Lbjz;intermediary field_27014Lnet/minecraft/class_5536;field_27014:Lnet/minecraft/class_5536;named RIGHTLnet/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 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
-