Package net.minecraft.data.client.model
Enum When.LogicalOperator
- All Implemented Interfaces:
Serializable,Comparable<When.LogicalOperator>,java.lang.constant.Constable
- Enclosing interface:
- When
public static enum When.LogicalOperator extends Enum<When.LogicalOperator>
- Mappings:
Namespace Name official it$bintermediary net/minecraft/class_4918$class_4920named net/minecraft/data/client/model/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
Constructors Modifier Constructor Description privateLogicalOperator(String name) -
Method Summary
Modifier and Type Method Description static When.LogicalOperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static When.LogicalOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AND
- Mappings:
Namespace Name Mixin selector official aLit$b;a:Lit$b;intermediary field_22850Lnet/minecraft/class_4918$class_4920;field_22850:Lnet/minecraft/class_4918$class_4920;named ANDLnet/minecraft/data/client/model/When$LogicalOperator;AND:Lnet/minecraft/data/client/model/When$LogicalOperator;
-
OR
- Mappings:
Namespace Name Mixin selector official bLit$b;b:Lit$b;intermediary field_22851Lnet/minecraft/class_4918$class_4920;field_22851:Lnet/minecraft/class_4918$class_4920;named ORLnet/minecraft/data/client/model/When$LogicalOperator;OR:Lnet/minecraft/data/client/model/When$LogicalOperator;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official cLit$b;c:Ljava/lang/String;intermediary field_22852Lnet/minecraft/class_4918$class_4920;field_22852:Ljava/lang/String;named nameLnet/minecraft/data/client/model/When$LogicalOperator;name:Ljava/lang/String;
-
-
Constructor Details
-
LogicalOperator
- Mappings:
Namespace Name Mixin selector official <init>Lit$b;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_4918$class_4920;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/data/client/model/When$LogicalOperator;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
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
-