Enum Class EntityAttribute.Category

java.lang.Object
java.lang.Enum<EntityAttribute.Category>
net.minecraft.entity.attribute.EntityAttribute.Category
All Implemented Interfaces:
Serializable, Comparable<EntityAttribute.Category>, Constable
Enclosing class:
EntityAttribute

public static enum EntityAttribute.Category extends Enum<EntityAttribute.Category>
Mappings:
Namespace Name
named net/minecraft/entity/attribute/EntityAttribute$Category
intermediary net/minecraft/class_1320$class_9764
official bur$a
  • Enum Constant Details

    • POSITIVE

      public static final EntityAttribute.Category 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 Lbur$a;a:Lbur$a;
    • NEUTRAL

      public static final EntityAttribute.Category 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 Lbur$a;b:Lbur$a;
    • NEGATIVE

      public static final EntityAttribute.Category 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 Lbur$a;c:Lbur$a;
  • Constructor Details

    • Category

      private Category()
  • Method Details

    • values

      public static EntityAttribute.Category[] 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 EntityAttribute.Category 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
    • getFormatting

      public Formatting getFormatting(boolean addition)
      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 Lbur$a;a(Z)Ln;