Package net.minecraft.entity.attribute
Enum Class EntityAttribute.Category
- All Implemented Interfaces:
Serializable,Comparable<EntityAttribute.Category>,Constable
- Enclosing class:
EntityAttribute
- Mappings:
Namespace Name named net/minecraft/entity/attribute/EntityAttribute$Categoryintermediary net/minecraft/class_1320$class_9764official bur$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFormatting(boolean addition) static EntityAttribute.CategoryReturns the enum constant of this class with the specified name.static EntityAttribute.Category[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
POSITIVE
- Mappings:
Namespace Name Mixin selector named POSITIVELnet/minecraft/entity/attribute/EntityAttribute$Category;POSITIVE:Lnet/minecraft/entity/attribute/EntityAttribute$Category;intermediary field_51885Lnet/minecraft/class_1320$class_9764;field_51885:Lnet/minecraft/class_1320$class_9764;official aLbur$a;a:Lbur$a;
-
NEUTRAL
- Mappings:
Namespace Name Mixin selector named NEUTRALLnet/minecraft/entity/attribute/EntityAttribute$Category;NEUTRAL:Lnet/minecraft/entity/attribute/EntityAttribute$Category;intermediary field_51886Lnet/minecraft/class_1320$class_9764;field_51886:Lnet/minecraft/class_1320$class_9764;official bLbur$a;b:Lbur$a;
-
NEGATIVE
- Mappings:
Namespace Name Mixin selector named NEGATIVELnet/minecraft/entity/attribute/EntityAttribute$Category;NEGATIVE:Lnet/minecraft/entity/attribute/EntityAttribute$Category;intermediary field_51887Lnet/minecraft/class_1320$class_9764;field_51887:Lnet/minecraft/class_1320$class_9764;official cLbur$a;c:Lbur$a;
-
-
Constructor Details
-
Category
private Category()
-
-
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
-
getFormatting
- Mappings:
Namespace Name Mixin selector named getFormattingLnet/minecraft/entity/attribute/EntityAttribute$Category;getFormatting(Z)Lnet/minecraft/util/Formatting;intermediary method_60496Lnet/minecraft/class_1320$class_9764;method_60496(Z)Lnet/minecraft/class_124;official aLbur$a;a(Z)Ln;
-