Enum Class BooleanModifier
- All Implemented Interfaces:
Serializable, Comparable<BooleanModifier>, Constable, AttributeModifier<Boolean,Boolean>
public enum BooleanModifier
extends Enum<BooleanModifier>
implements AttributeModifier<Boolean,Boolean>
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Nested classes/interfaces inherited from interface AttributeModifier
AttributeModifier.OperationId, AttributeModifier.OverrideModifier<Value> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields inherited from interface AttributeModifier
ARGB_COLOR_LIBRARY, BOOLEAN_LIBRARY, FLOAT_LIBRARY, RGB_COLOR_LIBRARY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<Boolean> static BooleanModifierReturns the enum constant of this class with the specified name.static BooleanModifier[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AND
-
NAND
-
OR
-
NOR
-
XOR
-
XNOR
-
-
Constructor Details
-
BooleanModifier
private BooleanModifier()
-
-
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
-
apply
-
argumentCodec
- Specified by:
argumentCodecin interfaceAttributeModifier<Boolean,Boolean>
-
argumentKeyframeLerp
- Specified by:
argumentKeyframeLerpin interfaceAttributeModifier<Boolean,Boolean>
-