Class EntityAttributes

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

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official f Lvy;f:Lorg/apache/logging/log4j/Logger;
      intermediary field_8236 Lnet/minecraft/class_1932;field_8236: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 Lvy;a:Lqb;
      intermediary field_8231 Lnet/minecraft/class_1932;field_8231:Lnet/minecraft/class_1765;
      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 Lvy;b:Lqb;
      intermediary field_8232 Lnet/minecraft/class_1932;field_8232:Lnet/minecraft/class_1765;
      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 Lvy;c:Lqb;
      intermediary field_8233 Lnet/minecraft/class_1932;field_8233:Lnet/minecraft/class_1765;
      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 Lvy;d:Lqb;
      intermediary field_8234 Lnet/minecraft/class_1932;field_8234:Lnet/minecraft/class_1765;
      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 Lvy;e:Lqb;
      intermediary field_8235 Lnet/minecraft/class_1932;field_8235:Lnet/minecraft/class_1765;
      named GENERIC_ATTACK_DAMAGE Lnet/minecraft/entity/attribute/EntityAttributes;GENERIC_ATTACK_DAMAGE:Lnet/minecraft/entity/attribute/EntityAttribute;
  • Constructor Details

    • EntityAttributes

      public EntityAttributes()
  • Method Details

    • toTag

      public static ListTag toTag​(AbstractEntityAttributeContainer container)
      Mappings:
      Namespace Name Mixin selector
      official a Lvy;a(Lqf;)Ldu;
      intermediary method_7879 Lnet/minecraft/class_1932;method_7879(Lnet/minecraft/class_1769;)Lnet/minecraft/class_1411;
      named toTag Lnet/minecraft/entity/attribute/EntityAttributes;toTag(Lnet/minecraft/entity/attribute/AbstractEntityAttributeContainer;)Lnet/minecraft/nbt/ListTag;
    • toTag

      private static CompoundTag toTag​(EntityAttributeInstance instance)
      Mappings:
      Namespace Name Mixin selector
      official a Lvy;a(Lqc;)Ldn;
      intermediary method_7876 Lnet/minecraft/class_1932;method_7876(Lnet/minecraft/class_1766;)Lnet/minecraft/class_1405;
      named toTag Lnet/minecraft/entity/attribute/EntityAttributes;toTag(Lnet/minecraft/entity/attribute/EntityAttributeInstance;)Lnet/minecraft/nbt/CompoundTag;
    • method_7878

      private static CompoundTag method_7878​(AttributeModifier modifier)
      Mappings:
      Namespace Name Mixin selector
      official a Lvy;a(Lqd;)Ldn;
      intermediary method_7878 Lnet/minecraft/class_1932;method_7878(Lnet/minecraft/class_1767;)Lnet/minecraft/class_1405;
      named method_7878 Lnet/minecraft/entity/attribute/EntityAttributes;method_7878(Lnet/minecraft/entity/attribute/AttributeModifier;)Lnet/minecraft/nbt/CompoundTag;
    • fromTag

      public static void fromTag​(AbstractEntityAttributeContainer container, ListTag tag)
      Mappings:
      Namespace Name Mixin selector
      official a Lvy;a(Lqf;Ldu;)V
      intermediary method_7880 Lnet/minecraft/class_1932;method_7880(Lnet/minecraft/class_1769;Lnet/minecraft/class_1411;)V
      named fromTag Lnet/minecraft/entity/attribute/EntityAttributes;fromTag(Lnet/minecraft/entity/attribute/AbstractEntityAttributeContainer;Lnet/minecraft/nbt/ListTag;)V
    • fromTag

      private static void fromTag​(EntityAttributeInstance instance, CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official a Lvy;a(Lqc;Ldn;)V
      intermediary method_7877 Lnet/minecraft/class_1932;method_7877(Lnet/minecraft/class_1766;Lnet/minecraft/class_1405;)V
      named fromTag Lnet/minecraft/entity/attribute/EntityAttributes;fromTag(Lnet/minecraft/entity/attribute/EntityAttributeInstance;Lnet/minecraft/nbt/CompoundTag;)V
    • method_7875

      public static AttributeModifier method_7875​(CompoundTag NBT)
      Mappings:
      Namespace Name Mixin selector
      official a Lvy;a(Ldn;)Lqd;
      intermediary method_7875 Lnet/minecraft/class_1932;method_7875(Lnet/minecraft/class_1405;)Lnet/minecraft/class_1767;
      named method_7875 Lnet/minecraft/entity/attribute/EntityAttributes;method_7875(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/entity/attribute/AttributeModifier;