Package net.minecraft.world.attribute
Enum Class BooleanModifier
- All Implemented Interfaces:
Serializable,Comparable<BooleanModifier>,Constable,EnvironmentAttributeModifier<Boolean,Boolean>
public enum BooleanModifier
extends Enum<BooleanModifier>
implements EnvironmentAttributeModifier<Boolean,Boolean>
- Mappings:
Namespace Name named net/minecraft/world/attribute/BooleanModifierintermediary net/minecraft/class_12215official cef
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.world.attribute.EnvironmentAttributeModifier
EnvironmentAttributeModifier.OverrideModifier<Value>, EnvironmentAttributeModifier.Type -
Enum Constant Summary
Enum Constants -
Field Summary
Fields inherited from interface net.minecraft.world.attribute.EnvironmentAttributeModifier
BOOLEAN_MODIFIERS, COLOR_MODIFIERS, FLOAT_MODIFIERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<Boolean> argumentCodec(EnvironmentAttribute<Boolean> attribute) 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
- Mappings:
Namespace Name Mixin selector named ANDLnet/minecraft/world/attribute/BooleanModifier;AND:Lnet/minecraft/world/attribute/BooleanModifier;intermediary field_63788Lnet/minecraft/class_12215;field_63788:Lnet/minecraft/class_12215;official dLcef;d:Lcef;
-
NAND
- Mappings:
Namespace Name Mixin selector named NANDLnet/minecraft/world/attribute/BooleanModifier;NAND:Lnet/minecraft/world/attribute/BooleanModifier;intermediary field_63789Lnet/minecraft/class_12215;field_63789:Lnet/minecraft/class_12215;official eLcef;e:Lcef;
-
OR
- Mappings:
Namespace Name Mixin selector named ORLnet/minecraft/world/attribute/BooleanModifier;OR:Lnet/minecraft/world/attribute/BooleanModifier;intermediary field_63790Lnet/minecraft/class_12215;field_63790:Lnet/minecraft/class_12215;official fLcef;f:Lcef;
-
NOR
- Mappings:
Namespace Name Mixin selector named NORLnet/minecraft/world/attribute/BooleanModifier;NOR:Lnet/minecraft/world/attribute/BooleanModifier;intermediary field_63791Lnet/minecraft/class_12215;field_63791:Lnet/minecraft/class_12215;official gLcef;g:Lcef;
-
XOR
- Mappings:
Namespace Name Mixin selector named XORLnet/minecraft/world/attribute/BooleanModifier;XOR:Lnet/minecraft/world/attribute/BooleanModifier;intermediary field_63792Lnet/minecraft/class_12215;field_63792:Lnet/minecraft/class_12215;official hLcef;h:Lcef;
-
XNOR
- Mappings:
Namespace Name Mixin selector named XNORLnet/minecraft/world/attribute/BooleanModifier;XNOR:Lnet/minecraft/world/attribute/BooleanModifier;intermediary field_63793Lnet/minecraft/class_12215;field_63793:Lnet/minecraft/class_12215;official iLcef;i:Lcef;
-
-
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
- Specified by:
applyin interfaceEnvironmentAttributeModifier<Boolean,Boolean> - Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/world/attribute/BooleanModifier;apply(Ljava/lang/Boolean;Ljava/lang/Boolean;)Ljava/lang/Boolean;intermediary method_75715Lnet/minecraft/class_12215;method_75715(Ljava/lang/Boolean;Ljava/lang/Boolean;)Ljava/lang/Boolean;official aLcef;a(Ljava/lang/Boolean;Ljava/lang/Boolean;)Ljava/lang/Boolean;
-
argumentCodec
public com.mojang.serialization.Codec<Boolean> argumentCodec(EnvironmentAttribute<Boolean> attribute) - Specified by:
argumentCodecin interfaceEnvironmentAttributeModifier<Boolean,Boolean> - Mappings:
Namespace Name Mixin selector named argumentCodecLnet/minecraft/world/attribute/EnvironmentAttributeModifier;argumentCodec(Lnet/minecraft/world/attribute/EnvironmentAttribute;)Lcom/mojang/serialization/Codec;intermediary argumentCodecLnet/minecraft/class_12212;argumentCodec(Lnet/minecraft/class_12197;)Lcom/mojang/serialization/Codec;official argumentCodecLcee;argumentCodec(Lcdv;)Lcom/mojang/serialization/Codec;
-