Package net.minecraft.world.attribute
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$Typeintermediary net/minecraft/class_12212$class_12213official ceb$a
-
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.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<EnvironmentAttributeModifier.Type> private final StringFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.Returns the enum constant of this class with the specified name.static EnvironmentAttributeModifier.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OVERRIDE
- Mappings:
Namespace Name Mixin selector named OVERRIDELnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;OVERRIDE:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;intermediary field_63771Lnet/minecraft/class_12212$class_12213;field_63771:Lnet/minecraft/class_12212$class_12213;official aLceb$a;a:Lceb$a;
-
ALPHA_BLEND
- Mappings:
Namespace Name Mixin selector named ALPHA_BLENDLnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;ALPHA_BLEND:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;intermediary field_63772Lnet/minecraft/class_12212$class_12213;field_63772:Lnet/minecraft/class_12212$class_12213;official bLceb$a;b:Lceb$a;
-
ADD
- Mappings:
Namespace Name Mixin selector named ADDLnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;ADD:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;intermediary field_63773Lnet/minecraft/class_12212$class_12213;field_63773:Lnet/minecraft/class_12212$class_12213;official cLceb$a;c:Lceb$a;
-
SUBTRACT
- Mappings:
Namespace Name Mixin selector named SUBTRACTLnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;SUBTRACT:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;intermediary field_63774Lnet/minecraft/class_12212$class_12213;field_63774:Lnet/minecraft/class_12212$class_12213;official dLceb$a;d:Lceb$a;
-
MULTIPLY
- Mappings:
Namespace Name Mixin selector named MULTIPLYLnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;MULTIPLY:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;intermediary field_63775Lnet/minecraft/class_12212$class_12213;field_63775:Lnet/minecraft/class_12212$class_12213;official eLceb$a;e:Lceb$a;
-
MINIMUM
- Mappings:
Namespace Name Mixin selector named MINIMUMLnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;MINIMUM:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;intermediary field_63776Lnet/minecraft/class_12212$class_12213;field_63776:Lnet/minecraft/class_12212$class_12213;official fLceb$a;f:Lceb$a;
-
MAXIMUM
- Mappings:
Namespace Name Mixin selector named MAXIMUMLnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;MAXIMUM:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;intermediary field_63777Lnet/minecraft/class_12212$class_12213;field_63777:Lnet/minecraft/class_12212$class_12213;official gLceb$a;g:Lceb$a;
-
AND
- Mappings:
Namespace Name Mixin selector named ANDLnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;AND:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;intermediary field_63778Lnet/minecraft/class_12212$class_12213;field_63778:Lnet/minecraft/class_12212$class_12213;official hLceb$a;h:Lceb$a;
-
NAND
- Mappings:
Namespace Name Mixin selector named NANDLnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;NAND:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;intermediary field_63779Lnet/minecraft/class_12212$class_12213;field_63779:Lnet/minecraft/class_12212$class_12213;official iLceb$a;i:Lceb$a;
-
OR
- Mappings:
Namespace Name Mixin selector named ORLnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;OR:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;intermediary field_63780Lnet/minecraft/class_12212$class_12213;field_63780:Lnet/minecraft/class_12212$class_12213;official jLceb$a;j:Lceb$a;
-
NOR
- Mappings:
Namespace Name Mixin selector named NORLnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;NOR:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;intermediary field_63781Lnet/minecraft/class_12212$class_12213;field_63781:Lnet/minecraft/class_12212$class_12213;official kLceb$a;k:Lceb$a;
-
XOR
- Mappings:
Namespace Name Mixin selector named XORLnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;XOR:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;intermediary field_63782Lnet/minecraft/class_12212$class_12213;field_63782:Lnet/minecraft/class_12212$class_12213;official lLceb$a;l:Lceb$a;
-
XNOR
- Mappings:
Namespace Name Mixin selector named XNORLnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;XNOR:Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;intermediary field_63783Lnet/minecraft/class_12212$class_12213;field_63783:Lnet/minecraft/class_12212$class_12213;official mLceb$a;m:Lceb$a;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;CODEC:Lcom/mojang/serialization/Codec;intermediary field_63784Lnet/minecraft/class_12212$class_12213;field_63784:Lcom/mojang/serialization/Codec;official nLceb$a;n:Lcom/mojang/serialization/Codec;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;name:Ljava/lang/String;intermediary field_63785Lnet/minecraft/class_12212$class_12213;field_63785:Ljava/lang/String;official oLceb$a;o:Ljava/lang/String;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/attribute/EnvironmentAttributeModifier$Type;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_12212$class_12213;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Lceb$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
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
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbhb;c()Ljava/lang/String;
-