Enum Class BooleanModifier

java.lang.Object
java.lang.Enum<BooleanModifier>
net.minecraft.world.attribute.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/BooleanModifier
intermediary net/minecraft/class_12215
official cek
  • Enum Constant Details

    • AND

      public static final BooleanModifier AND
      Mappings:
      Namespace Name Mixin selector
      named AND Lnet/minecraft/world/attribute/BooleanModifier;AND:Lnet/minecraft/world/attribute/BooleanModifier;
      intermediary field_63788 Lnet/minecraft/class_12215;field_63788:Lnet/minecraft/class_12215;
      official e Lcek;e:Lcek;
    • NAND

      public static final BooleanModifier NAND
      Mappings:
      Namespace Name Mixin selector
      named NAND Lnet/minecraft/world/attribute/BooleanModifier;NAND:Lnet/minecraft/world/attribute/BooleanModifier;
      intermediary field_63789 Lnet/minecraft/class_12215;field_63789:Lnet/minecraft/class_12215;
      official f Lcek;f:Lcek;
    • OR

      public static final BooleanModifier OR
      Mappings:
      Namespace Name Mixin selector
      named OR Lnet/minecraft/world/attribute/BooleanModifier;OR:Lnet/minecraft/world/attribute/BooleanModifier;
      intermediary field_63790 Lnet/minecraft/class_12215;field_63790:Lnet/minecraft/class_12215;
      official g Lcek;g:Lcek;
    • NOR

      public static final BooleanModifier NOR
      Mappings:
      Namespace Name Mixin selector
      named NOR Lnet/minecraft/world/attribute/BooleanModifier;NOR:Lnet/minecraft/world/attribute/BooleanModifier;
      intermediary field_63791 Lnet/minecraft/class_12215;field_63791:Lnet/minecraft/class_12215;
      official h Lcek;h:Lcek;
    • XOR

      public static final BooleanModifier XOR
      Mappings:
      Namespace Name Mixin selector
      named XOR Lnet/minecraft/world/attribute/BooleanModifier;XOR:Lnet/minecraft/world/attribute/BooleanModifier;
      intermediary field_63792 Lnet/minecraft/class_12215;field_63792:Lnet/minecraft/class_12215;
      official i Lcek;i:Lcek;
    • XNOR

      public static final BooleanModifier XNOR
      Mappings:
      Namespace Name Mixin selector
      named XNOR Lnet/minecraft/world/attribute/BooleanModifier;XNOR:Lnet/minecraft/world/attribute/BooleanModifier;
      intermediary field_63793 Lnet/minecraft/class_12215;field_63793:Lnet/minecraft/class_12215;
      official j Lcek;j:Lcek;
  • Constructor Details

    • BooleanModifier

      private BooleanModifier()
  • Method Details

    • values

      public static BooleanModifier[] 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

      public static BooleanModifier valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • apply

      public Boolean apply(Boolean bool, Boolean bool2)
      Specified by:
      apply in interface EnvironmentAttributeModifier<Boolean,Boolean>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/world/attribute/BooleanModifier;apply(Ljava/lang/Boolean;Ljava/lang/Boolean;)Ljava/lang/Boolean;
      intermediary method_75715 Lnet/minecraft/class_12215;method_75715(Ljava/lang/Boolean;Ljava/lang/Boolean;)Ljava/lang/Boolean;
      official a Lcek;a(Ljava/lang/Boolean;Ljava/lang/Boolean;)Ljava/lang/Boolean;
    • argumentCodec

      public com.mojang.serialization.Codec<Boolean> argumentCodec(EnvironmentAttribute<Boolean> attribute)
      Specified by:
      argumentCodec in interface EnvironmentAttributeModifier<Boolean,Boolean>
      Mappings:
      Namespace Name Mixin selector
      named argumentCodec Lnet/minecraft/world/attribute/EnvironmentAttributeModifier;argumentCodec(Lnet/minecraft/world/attribute/EnvironmentAttribute;)Lcom/mojang/serialization/Codec;
      intermediary argumentCodec Lnet/minecraft/class_12212;argumentCodec(Lnet/minecraft/class_12197;)Lcom/mojang/serialization/Codec;
      official argumentCodec Lcej;argumentCodec(Lcdy;)Lcom/mojang/serialization/Codec;
    • argumentKeyframeLerp

      public Interpolator<Boolean> argumentKeyframeLerp(EnvironmentAttribute<Boolean> environmentAttribute)
      Specified by:
      argumentKeyframeLerp in interface EnvironmentAttributeModifier<Boolean,Boolean>