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$Category
intermediary net/minecraft/class_1320$class_9764
official buf$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFormatting
(boolean addition) static EntityAttribute.Category
Returns 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 POSITIVE
Lnet/minecraft/entity/attribute/EntityAttribute$Category;POSITIVE:Lnet/minecraft/entity/attribute/EntityAttribute$Category;
intermediary field_51885
Lnet/minecraft/class_1320$class_9764;field_51885:Lnet/minecraft/class_1320$class_9764;
official a
Lbuf$a;a:Lbuf$a;
-
NEUTRAL
- Mappings:
Namespace Name Mixin selector named NEUTRAL
Lnet/minecraft/entity/attribute/EntityAttribute$Category;NEUTRAL:Lnet/minecraft/entity/attribute/EntityAttribute$Category;
intermediary field_51886
Lnet/minecraft/class_1320$class_9764;field_51886:Lnet/minecraft/class_1320$class_9764;
official b
Lbuf$a;b:Lbuf$a;
-
NEGATIVE
- Mappings:
Namespace Name Mixin selector named NEGATIVE
Lnet/minecraft/entity/attribute/EntityAttribute$Category;NEGATIVE:Lnet/minecraft/entity/attribute/EntityAttribute$Category;
intermediary field_51887
Lnet/minecraft/class_1320$class_9764;field_51887:Lnet/minecraft/class_1320$class_9764;
official c
Lbuf$a;c:Lbuf$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 getFormatting
Lnet/minecraft/entity/attribute/EntityAttribute$Category;getFormatting(Z)Lnet/minecraft/util/Formatting;
intermediary method_60496
Lnet/minecraft/class_1320$class_9764;method_60496(Z)Lnet/minecraft/class_124;
official a
Lbuf$a;a(Z)Ln;
-