Interface Attribute

All Superinterfaces:
Keyed
All Known Implementing Classes:
EntityAttribute

public interface Attribute extends Keyed
Represents an ordinary Attribute of a Mob
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Fetches the Default value of this Attribute
    double
    Fetches the maximum value of this Attribute
    double
    Fetches the minimum value of this Attribute.
    boolean
    Whether this Attribute will sync and appear on the client's side.

    Methods inherited from interface org.bukkit.Keyed

    getKey
  • Method Details

    • getMinValue

      double getMinValue()
      Fetches the minimum value of this Attribute.
      Returns:
      Minimum value
    • getMaxValue

      double getMaxValue()
      Fetches the maximum value of this Attribute
      Returns:
      Maximum value
    • getDefaultValue

      double getDefaultValue()
      Fetches the Default value of this Attribute
      Returns:
      Default value
    • isClientSide

      boolean isClientSide()
      Whether this Attribute will sync and appear on the client's side.
      Returns:
      true if also client side, else false