Class EntityAttributes

java.lang.Object
net.minecraft.entity.attribute.EntityAttributes

public class EntityAttributes extends Object
Mappings:
Namespace Name
official aad
intermediary net/minecraft/class_1715
named net/minecraft/entity/attribute/EntityAttributes
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official j Laad;j:Lorg/apache/logging/log4j/Logger;
      intermediary field_9126 Lnet/minecraft/class_1715;field_9126:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/entity/attribute/EntityAttributes;LOGGER:Lorg/apache/logging/log4j/Logger;
    • GENERIC_MAX_HEALTH

      public static final EntityAttribute GENERIC_MAX_HEALTH
      Mappings:
      Namespace Name Mixin selector
      official a Laad;a:Ltj;
      intermediary field_6917 Lnet/minecraft/class_1715;field_6917:Lnet/minecraft/class_1702;
      named GENERIC_MAX_HEALTH Lnet/minecraft/entity/attribute/EntityAttributes;GENERIC_MAX_HEALTH:Lnet/minecraft/entity/attribute/EntityAttribute;
    • GENERIC_FOLLOW_RANGE

      public static final EntityAttribute GENERIC_FOLLOW_RANGE
      Mappings:
      Namespace Name Mixin selector
      official b Laad;b:Ltj;
      intermediary field_6918 Lnet/minecraft/class_1715;field_6918:Lnet/minecraft/class_1702;
      named GENERIC_FOLLOW_RANGE Lnet/minecraft/entity/attribute/EntityAttributes;GENERIC_FOLLOW_RANGE:Lnet/minecraft/entity/attribute/EntityAttribute;
    • GENERIC_KNOCKBACK_RESISTANCE

      public static final EntityAttribute GENERIC_KNOCKBACK_RESISTANCE
      Mappings:
      Namespace Name Mixin selector
      official c Laad;c:Ltj;
      intermediary field_6919 Lnet/minecraft/class_1715;field_6919:Lnet/minecraft/class_1702;
      named GENERIC_KNOCKBACK_RESISTANCE Lnet/minecraft/entity/attribute/EntityAttributes;GENERIC_KNOCKBACK_RESISTANCE:Lnet/minecraft/entity/attribute/EntityAttribute;
    • GENERIC_MOVEMENT_SPEED

      public static final EntityAttribute GENERIC_MOVEMENT_SPEED
      Mappings:
      Namespace Name Mixin selector
      official d Laad;d:Ltj;
      intermediary field_6920 Lnet/minecraft/class_1715;field_6920:Lnet/minecraft/class_1702;
      named GENERIC_MOVEMENT_SPEED Lnet/minecraft/entity/attribute/EntityAttributes;GENERIC_MOVEMENT_SPEED:Lnet/minecraft/entity/attribute/EntityAttribute;
    • GENERIC_ATTACK_DAMAGE

      public static final EntityAttribute GENERIC_ATTACK_DAMAGE
      Mappings:
      Namespace Name Mixin selector
      official e Laad;e:Ltj;
      intermediary field_6921 Lnet/minecraft/class_1715;field_6921:Lnet/minecraft/class_1702;
      named GENERIC_ATTACK_DAMAGE Lnet/minecraft/entity/attribute/EntityAttributes;GENERIC_ATTACK_DAMAGE:Lnet/minecraft/entity/attribute/EntityAttribute;
    • GENERIC_ATTACK_SPEED

      public static final EntityAttribute GENERIC_ATTACK_SPEED
      Mappings:
      Namespace Name Mixin selector
      official f Laad;f:Ltj;
      intermediary field_14757 Lnet/minecraft/class_1715;field_14757:Lnet/minecraft/class_1702;
      named GENERIC_ATTACK_SPEED Lnet/minecraft/entity/attribute/EntityAttributes;GENERIC_ATTACK_SPEED:Lnet/minecraft/entity/attribute/EntityAttribute;
    • GENERIC_ARMOR

      public static final EntityAttribute GENERIC_ARMOR
      Mappings:
      Namespace Name Mixin selector
      official g Laad;g:Ltj;
      intermediary field_14758 Lnet/minecraft/class_1715;field_14758:Lnet/minecraft/class_1702;
      named GENERIC_ARMOR Lnet/minecraft/entity/attribute/EntityAttributes;GENERIC_ARMOR:Lnet/minecraft/entity/attribute/EntityAttribute;
    • GENERIC_ARMOR_TOUGHNESS

      public static final EntityAttribute GENERIC_ARMOR_TOUGHNESS
      Mappings:
      Namespace Name Mixin selector
      official h Laad;h:Ltj;
      intermediary field_14759 Lnet/minecraft/class_1715;field_14759:Lnet/minecraft/class_1702;
      named GENERIC_ARMOR_TOUGHNESS Lnet/minecraft/entity/attribute/EntityAttributes;GENERIC_ARMOR_TOUGHNESS:Lnet/minecraft/entity/attribute/EntityAttribute;
    • GENERIC_LUCK

      public static final EntityAttribute GENERIC_LUCK
      Mappings:
      Namespace Name Mixin selector
      official i Laad;i:Ltj;
      intermediary field_14760 Lnet/minecraft/class_1715;field_14760:Lnet/minecraft/class_1702;
      named GENERIC_LUCK Lnet/minecraft/entity/attribute/EntityAttributes;GENERIC_LUCK:Lnet/minecraft/entity/attribute/EntityAttribute;
  • Constructor Details

    • EntityAttributes

      public EntityAttributes()
  • Method Details

    • toNbt

      public static NbtList toNbt(AbstractEntityAttributeContainer container)
      Mappings:
      Namespace Name Mixin selector
      official a Laad;a(Ltn;)Lea;
      intermediary method_6313 Lnet/minecraft/class_1715;method_6313(Lnet/minecraft/class_1706;)Lnet/minecraft/class_474;
      named toNbt Lnet/minecraft/entity/attribute/EntityAttributes;toNbt(Lnet/minecraft/entity/attribute/AbstractEntityAttributeContainer;)Lnet/minecraft/nbt/NbtList;
    • toNbt

      private static NbtCompound toNbt(EntityAttributeInstance instance)
      Mappings:
      Namespace Name Mixin selector
      official a Laad;a(Ltk;)Ldu;
      intermediary method_6310 Lnet/minecraft/class_1715;method_6310(Lnet/minecraft/class_1703;)Lnet/minecraft/class_322;
      named toNbt Lnet/minecraft/entity/attribute/EntityAttributes;toNbt(Lnet/minecraft/entity/attribute/EntityAttributeInstance;)Lnet/minecraft/nbt/NbtCompound;
    • toNbt

      public static NbtCompound toNbt(AttributeModifier modifier)
      Mappings:
      Namespace Name Mixin selector
      official a Laad;a(Ltl;)Ldu;
      intermediary method_6312 Lnet/minecraft/class_1715;method_6312(Lnet/minecraft/class_1704;)Lnet/minecraft/class_322;
      named toNbt Lnet/minecraft/entity/attribute/EntityAttributes;toNbt(Lnet/minecraft/entity/attribute/AttributeModifier;)Lnet/minecraft/nbt/NbtCompound;
    • fromNbt

      public static void fromNbt(AbstractEntityAttributeContainer container, NbtList nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Laad;a(Ltn;Lea;)V
      intermediary method_8413 Lnet/minecraft/class_1715;method_8413(Lnet/minecraft/class_1706;Lnet/minecraft/class_474;)V
      named fromNbt Lnet/minecraft/entity/attribute/EntityAttributes;fromNbt(Lnet/minecraft/entity/attribute/AbstractEntityAttributeContainer;Lnet/minecraft/nbt/NbtList;)V
    • fromNbt

      private static void fromNbt(EntityAttributeInstance instance, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Laad;a(Ltk;Ldu;)V
      intermediary method_6311 Lnet/minecraft/class_1715;method_6311(Lnet/minecraft/class_1703;Lnet/minecraft/class_322;)V
      named fromNbt Lnet/minecraft/entity/attribute/EntityAttributes;fromNbt(Lnet/minecraft/entity/attribute/EntityAttributeInstance;Lnet/minecraft/nbt/NbtCompound;)V
    • fromNbt

      @Nullable public static AttributeModifier fromNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Laad;a(Ldu;)Ltl;
      intermediary method_6309 Lnet/minecraft/class_1715;method_6309(Lnet/minecraft/class_322;)Lnet/minecraft/class_1704;
      named fromNbt Lnet/minecraft/entity/attribute/EntityAttributes;fromNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/attribute/AttributeModifier;