Interface Attribute

All Superinterfaces:
Comparable<Attribute>, Keyed, OldEnum<Attribute>, Translatable

public interface Attribute extends OldEnum<Attribute>, Keyed, Translatable
Types of attributes which may be present on an Attributable.
  • Field Details

    • MAX_HEALTH

      static final Attribute MAX_HEALTH
      Maximum health of an Entity.
    • FOLLOW_RANGE

      static final Attribute FOLLOW_RANGE
      Range at which an Entity will follow others.
    • KNOCKBACK_RESISTANCE

      static final Attribute KNOCKBACK_RESISTANCE
      Resistance of an Entity to knockback.
    • MOVEMENT_SPEED

      static final Attribute MOVEMENT_SPEED
      Movement speed of an Entity.
    • FLYING_SPEED

      static final Attribute FLYING_SPEED
      Flying speed of an Entity.
    • ATTACK_DAMAGE

      static final Attribute ATTACK_DAMAGE
      Attack damage of an Entity.
    • ATTACK_KNOCKBACK

      static final Attribute ATTACK_KNOCKBACK
      Attack knockback of an Entity.
    • ATTACK_SPEED

      static final Attribute ATTACK_SPEED
      Attack speed of an Entity.
    • ARMOR

      static final Attribute ARMOR
      Armor bonus of an Entity.
    • ARMOR_TOUGHNESS

      static final Attribute ARMOR_TOUGHNESS
      Armor durability bonus of an Entity.
    • FALL_DAMAGE_MULTIPLIER

      static final Attribute FALL_DAMAGE_MULTIPLIER
      The fall damage multiplier of an Entity.
    • LUCK

      static final Attribute LUCK
      Luck bonus of an Entity.
    • MAX_ABSORPTION

      static final Attribute MAX_ABSORPTION
      Maximum absorption of an Entity.
    • SAFE_FALL_DISTANCE

      static final Attribute SAFE_FALL_DISTANCE
      The distance which an Entity can fall without damage.
    • SCALE

      static final Attribute SCALE
      The relative scale of an Entity.
    • STEP_HEIGHT

      static final Attribute STEP_HEIGHT
      The height which an Entity can walk over.
    • GRAVITY

      static final Attribute GRAVITY
      The gravity applied to an Entity.
    • JUMP_STRENGTH

      static final Attribute JUMP_STRENGTH
      Strength with which an Entity will jump.
    • BURNING_TIME

      static final Attribute BURNING_TIME
      How long an entity remains burning after ingition.
    • EXPLOSION_KNOCKBACK_RESISTANCE

      static final Attribute EXPLOSION_KNOCKBACK_RESISTANCE
      Resistance to knockback from explosions.
    • MOVEMENT_EFFICIENCY

      static final Attribute MOVEMENT_EFFICIENCY
      Movement speed through difficult terrain.
    • OXYGEN_BONUS

      static final Attribute OXYGEN_BONUS
      Oxygen use underwater.
    • WATER_MOVEMENT_EFFICIENCY

      static final Attribute WATER_MOVEMENT_EFFICIENCY
      Movement speed through water.
    • TEMPT_RANGE

      static final Attribute TEMPT_RANGE
      Range at which mobs will be tempted by items.
    • BLOCK_INTERACTION_RANGE

      static final Attribute BLOCK_INTERACTION_RANGE
      The block reach distance of a Player.
    • ENTITY_INTERACTION_RANGE

      static final Attribute ENTITY_INTERACTION_RANGE
      The entity reach distance of a Player.
    • BLOCK_BREAK_SPEED

      static final Attribute BLOCK_BREAK_SPEED
      Block break speed of a Player.
    • MINING_EFFICIENCY

      static final Attribute MINING_EFFICIENCY
      Mining speed for correct tools.
    • SNEAKING_SPEED

      static final Attribute SNEAKING_SPEED
      Sneaking speed.
    • SUBMERGED_MINING_SPEED

      static final Attribute SUBMERGED_MINING_SPEED
      Underwater mining speed.
    • SWEEPING_DAMAGE_RATIO

      static final Attribute SWEEPING_DAMAGE_RATIO
      Sweeping damage.
    • SPAWN_REINFORCEMENTS

      static final Attribute SPAWN_REINFORCEMENTS
      Chance of a zombie to spawn reinforcements.
  • Method Details