Class Attributes

java.lang.Object
net.minecraft.world.entity.ai.attributes.Attributes

public class Attributes extends Object
Contains all entity attributes defined and registered by the vanilla game.
  • Field Details

    • ARMOR

      public static final Holder<Attribute> ARMOR
      Handles the armor points for an entity. Each point represents half a chestplate of armor on the armor bar.
    • ARMOR_TOUGHNESS

      public static final Holder<Attribute> ARMOR_TOUGHNESS
      Handles the amount of damage mitigated by wearing armor.
    • ATTACK_DAMAGE

      public static final Holder<Attribute> ATTACK_DAMAGE
      Handles the attack damage inflicted by entities. The value of this attribute represents half hearts.
    • ATTACK_KNOCKBACK

      public static final Holder<Attribute> ATTACK_KNOCKBACK
      Handles additional horizontal knockback when damaging another entity.
    • ATTACK_SPEED

      public static final Holder<Attribute> ATTACK_SPEED
      Handles the cooldown rate when attacking with an item. The value represents the number of full strength attacks that can be performed per second.
    • BLOCK_BREAK_SPEED

      public static final Holder<Attribute> BLOCK_BREAK_SPEED
    • BLOCK_INTERACTION_RANGE

      public static final Holder<Attribute> BLOCK_INTERACTION_RANGE
    • BURNING_TIME

      public static final Holder<Attribute> BURNING_TIME
    • EXPLOSION_KNOCKBACK_RESISTANCE

      public static final Holder<Attribute> EXPLOSION_KNOCKBACK_RESISTANCE
    • ENTITY_INTERACTION_RANGE

      public static final Holder<Attribute> ENTITY_INTERACTION_RANGE
    • FALL_DAMAGE_MULTIPLIER

      public static final Holder<Attribute> FALL_DAMAGE_MULTIPLIER
    • FLYING_SPEED

      public static final Holder<Attribute> FLYING_SPEED
      Handles the movement speed of flying entities such as parrots and bees.
    • FOLLOW_RANGE

      public static final Holder<Attribute> FOLLOW_RANGE
      Handles the range in blocks that a mob will notice and track players and other potential targets.
    • GRAVITY

      public static final Holder<Attribute> GRAVITY
    • JUMP_STRENGTH

      public static final Holder<Attribute> JUMP_STRENGTH
      Handles the jump strength for horses.
    • KNOCKBACK_RESISTANCE

      public static final Holder<Attribute> KNOCKBACK_RESISTANCE
      Handles the reduction of horizontal knockback when damaged by attacks or projectiles.
    • LUCK

      public static final Holder<Attribute> LUCK
      Handles luck when a player generates loot from a loot table. This can impact the quality of loot and influence bonus rolls.
    • MAX_ABSORPTION

      public static final Holder<Attribute> MAX_ABSORPTION
    • MAX_HEALTH

      public static final Holder<Attribute> MAX_HEALTH
      Handles the maximum health of an entity.
    • MINING_EFFICIENCY

      public static final Holder<Attribute> MINING_EFFICIENCY
    • MOVEMENT_EFFICIENCY

      public static final Holder<Attribute> MOVEMENT_EFFICIENCY
    • MOVEMENT_SPEED

      public static final Holder<Attribute> MOVEMENT_SPEED
      Handles the movement speed of entities.
    • OXYGEN_BONUS

      public static final Holder<Attribute> OXYGEN_BONUS
    • SAFE_FALL_DISTANCE

      public static final Holder<Attribute> SAFE_FALL_DISTANCE
    • SCALE

      public static final Holder<Attribute> SCALE
    • SNEAKING_SPEED

      public static final Holder<Attribute> SNEAKING_SPEED
    • SPAWN_REINFORCEMENTS_CHANCE

      public static final Holder<Attribute> SPAWN_REINFORCEMENTS_CHANCE
      Handles the chance for a zombie to summon reinforcements when attacked.
    • STEP_HEIGHT

      public static final Holder<Attribute> STEP_HEIGHT
    • SUBMERGED_MINING_SPEED

      public static final Holder<Attribute> SUBMERGED_MINING_SPEED
    • SWEEPING_DAMAGE_RATIO

      public static final Holder<Attribute> SWEEPING_DAMAGE_RATIO
    • WATER_MOVEMENT_EFFICIENCY

      public static final Holder<Attribute> WATER_MOVEMENT_EFFICIENCY
  • Constructor Details

    • Attributes

      public Attributes()
  • Method Details