Enum Class EnvironmentAttributeModifier.Type

java.lang.Object
java.lang.Enum<EnvironmentAttributeModifier.Type>
net.minecraft.world.attribute.EnvironmentAttributeModifier.Type
All Implemented Interfaces:
Serializable, Comparable<EnvironmentAttributeModifier.Type>, Constable, StringIdentifiable
Enclosing interface:
EnvironmentAttributeModifier<Subject,Argument>

public static enum EnvironmentAttributeModifier.Type extends Enum<EnvironmentAttributeModifier.Type> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/world/attribute/EnvironmentAttributeModifier$Type
intermediary net/minecraft/class_12212$class_12213
official cef$a
  • Enum Constant Details

    • OVERRIDE

      public static final EnvironmentAttributeModifier.Type OVERRIDE
      Mappings:
      Namespace Name Mixin selector
      named OVERRIDE Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;OVERRIDE:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;
      intermediary field_63771 Lnet/minecraft/class_12212$class_12213;field_63771:Lnet/minecraft/class_12212$class_12213;
      official a Lcef$a;a:Lcef$a;
    • ALPHA_BLEND

      public static final EnvironmentAttributeModifier.Type ALPHA_BLEND
      Mappings:
      Namespace Name Mixin selector
      named ALPHA_BLEND Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;ALPHA_BLEND:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;
      intermediary field_63772 Lnet/minecraft/class_12212$class_12213;field_63772:Lnet/minecraft/class_12212$class_12213;
      official b Lcef$a;b:Lcef$a;
    • ADD

      public static final EnvironmentAttributeModifier.Type ADD
      Mappings:
      Namespace Name Mixin selector
      named ADD Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;ADD:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;
      intermediary field_63773 Lnet/minecraft/class_12212$class_12213;field_63773:Lnet/minecraft/class_12212$class_12213;
      official c Lcef$a;c:Lcef$a;
    • SUBTRACT

      public static final EnvironmentAttributeModifier.Type SUBTRACT
      Mappings:
      Namespace Name Mixin selector
      named SUBTRACT Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;SUBTRACT:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;
      intermediary field_63774 Lnet/minecraft/class_12212$class_12213;field_63774:Lnet/minecraft/class_12212$class_12213;
      official d Lcef$a;d:Lcef$a;
    • MULTIPLY

      public static final EnvironmentAttributeModifier.Type MULTIPLY
      Mappings:
      Namespace Name Mixin selector
      named MULTIPLY Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;MULTIPLY:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;
      intermediary field_63775 Lnet/minecraft/class_12212$class_12213;field_63775:Lnet/minecraft/class_12212$class_12213;
      official e Lcef$a;e:Lcef$a;
    • MINIMUM

      public static final EnvironmentAttributeModifier.Type MINIMUM
      Mappings:
      Namespace Name Mixin selector
      named MINIMUM Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;MINIMUM:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;
      intermediary field_63776 Lnet/minecraft/class_12212$class_12213;field_63776:Lnet/minecraft/class_12212$class_12213;
      official f Lcef$a;f:Lcef$a;
    • MAXIMUM

      public static final EnvironmentAttributeModifier.Type MAXIMUM
      Mappings:
      Namespace Name Mixin selector
      named MAXIMUM Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;MAXIMUM:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;
      intermediary field_63777 Lnet/minecraft/class_12212$class_12213;field_63777:Lnet/minecraft/class_12212$class_12213;
      official g Lcef$a;g:Lcef$a;
    • AND

      public static final EnvironmentAttributeModifier.Type AND
      Mappings:
      Namespace Name Mixin selector
      named AND Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;AND:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;
      intermediary field_63778 Lnet/minecraft/class_12212$class_12213;field_63778:Lnet/minecraft/class_12212$class_12213;
      official h Lcef$a;h:Lcef$a;
    • NAND

      public static final EnvironmentAttributeModifier.Type NAND
      Mappings:
      Namespace Name Mixin selector
      named NAND Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;NAND:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;
      intermediary field_63779 Lnet/minecraft/class_12212$class_12213;field_63779:Lnet/minecraft/class_12212$class_12213;
      official i Lcef$a;i:Lcef$a;
    • OR

      public static final EnvironmentAttributeModifier.Type OR
      Mappings:
      Namespace Name Mixin selector
      named OR Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;OR:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;
      intermediary field_63780 Lnet/minecraft/class_12212$class_12213;field_63780:Lnet/minecraft/class_12212$class_12213;
      official j Lcef$a;j:Lcef$a;
    • NOR

      public static final EnvironmentAttributeModifier.Type NOR
      Mappings:
      Namespace Name Mixin selector
      named NOR Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;NOR:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;
      intermediary field_63781 Lnet/minecraft/class_12212$class_12213;field_63781:Lnet/minecraft/class_12212$class_12213;
      official k Lcef$a;k:Lcef$a;
    • XOR

      public static final EnvironmentAttributeModifier.Type XOR
      Mappings:
      Namespace Name Mixin selector
      named XOR Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;XOR:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;
      intermediary field_63782 Lnet/minecraft/class_12212$class_12213;field_63782:Lnet/minecraft/class_12212$class_12213;
      official l Lcef$a;l:Lcef$a;
    • XNOR

      public static final EnvironmentAttributeModifier.Type XNOR
      Mappings:
      Namespace Name Mixin selector
      named XNOR Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;XNOR:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;
      intermediary field_63783 Lnet/minecraft/class_12212$class_12213;field_63783:Lnet/minecraft/class_12212$class_12213;
      official m Lcef$a;m:Lcef$a;
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<EnvironmentAttributeModifier.Type> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_63784 Lnet/minecraft/class_12212$class_12213;field_63784:Lcom/mojang/serialization/Codec;
      official n Lcef$a;n:Lcom/mojang/serialization/Codec;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;name:Ljava/lang/String;
      intermediary field_63785 Lnet/minecraft/class_12212$class_12213;field_63785:Ljava/lang/String;
      official o Lcef$a;o:Ljava/lang/String;
  • Constructor Details

    • Type

      private Type(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_12212$class_12213;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lcef$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static EnvironmentAttributeModifier.Type[] 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 EnvironmentAttributeModifier.Type 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
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lbhi;c()Ljava/lang/String;