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$b
intermediary net/minecraft/class_4918$class_4920
named 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 private
LogicalOperator(String name)
-
Method Summary
Modifier and Type Method Description static When.LogicalOperator
valueOf(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 a
Lit$b;a:Lit$b;
intermediary field_22850
Lnet/minecraft/class_4918$class_4920;field_22850:Lnet/minecraft/class_4918$class_4920;
named AND
Lnet/minecraft/data/client/model/When$LogicalOperator;AND:Lnet/minecraft/data/client/model/When$LogicalOperator;
-
OR
- Mappings:
Namespace Name Mixin selector official b
Lit$b;b:Lit$b;
intermediary field_22851
Lnet/minecraft/class_4918$class_4920;field_22851:Lnet/minecraft/class_4918$class_4920;
named OR
Lnet/minecraft/data/client/model/When$LogicalOperator;OR:Lnet/minecraft/data/client/model/When$LogicalOperator;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official c
Lit$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/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;)V
intermediary <init>
Lnet/minecraft/class_4918$class_4920;<init>(Ljava/lang/String;ILjava/lang/String;)V
named <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
-