Package net.minecraft.data.client
Enum Class When.LogicalOperator
- All Implemented Interfaces:
Serializable
,Comparable<When.LogicalOperator>
,Constable
- Enclosing interface:
When
- Mappings:
Namespace Name official ka$b
intermediary net/minecraft/class_4918$class_4920
named net/minecraft/data/client/When$LogicalOperator
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic When.LogicalOperator
Returns the enum constant of this class with the specified name.static When.LogicalOperator[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AND
- Mappings:
Namespace Name Mixin selector official a
Lka$b;a:Lka$b;
intermediary field_22850
Lnet/minecraft/class_4918$class_4920;field_22850:Lnet/minecraft/class_4918$class_4920;
named AND
Lnet/minecraft/data/client/When$LogicalOperator;AND:Lnet/minecraft/data/client/When$LogicalOperator;
-
OR
- Mappings:
Namespace Name Mixin selector official b
Lka$b;b:Lka$b;
intermediary field_22851
Lnet/minecraft/class_4918$class_4920;field_22851:Lnet/minecraft/class_4918$class_4920;
named OR
Lnet/minecraft/data/client/When$LogicalOperator;OR:Lnet/minecraft/data/client/When$LogicalOperator;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official c
Lka$b;c:Ljava/lang/String;
intermediary field_22852
Lnet/minecraft/class_4918$class_4920;field_22852:Ljava/lang/String;
named name
Lnet/minecraft/data/client/When$LogicalOperator;name:Ljava/lang/String;
-
-
Constructor Details
-
LogicalOperator
- Mappings:
Namespace Name Mixin selector official <init>
Lka$b;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_4918$class_4920;<init>(Ljava/lang/String;ILjava/lang/String;)V
named <init>
Lnet/minecraft/data/client/When$LogicalOperator;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
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
-