Class EntityAttributes

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

public class EntityAttributes extends Object
Mappings:
Namespace Name
official afs
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 f Lafs;f: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 Lafs;a:Lxy;
      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 Lafs;b:Lxy;
      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 Lafs;c:Lxy;
      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 Lafs;d:Lxy;
      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 Lafs;e:Lxy;
      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;
  • Constructor Details

    • EntityAttributes

      public EntityAttributes()
  • Method Details

    • toNbt

      public static NbtList toNbt(AbstractEntityAttributeContainer container)
      Mappings:
      Namespace Name Mixin selector
      official a Lafs;a(Lyc;)Lfv;
      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 Lafs;a(Lxz;)Lfn;
      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

      private static NbtCompound toNbt(AttributeModifier modifier)
      Mappings:
      Namespace Name Mixin selector
      official a Lafs;a(Lya;)Lfn;
      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 Lafs;a(Lyc;Lfv;)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 Lafs;a(Lxz;Lfn;)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

      public static AttributeModifier fromNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lafs;a(Lfn;)Lya;
      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;