net.minecraft.entity.ai.attributes

## Class BaseAttribute

- java.lang.Object
- - net.minecraft.entity.ai.attributes.BaseAttribute

- All Implemented Interfaces:
    IAttribute
  Direct Known Subclasses:
    RangedAttribute

      public abstract class BaseAttribute
      extends java.lang.Object
      implements IAttribute

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `BaseAttribute(java.lang.String par1Str, double par2)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getAttributeUnlocalizedName()`
    `double` | `getDefaultValue()`
    `boolean` | `getShouldWatch()`
    `int` | `hashCode()`
    `BaseAttribute` | `setShouldWatch(boolean par1)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface net.minecraft.entity.ai.attributes.IAttribute

      `clampValue`

- - ### Constructor Detail

    - #### BaseAttribute

          protected BaseAttribute(java.lang.String par1Str,
                       double par2)

  - ### Method Detail

    - #### getAttributeUnlocalizedName

          public java.lang.String getAttributeUnlocalizedName()

      Specified by:
        `getAttributeUnlocalizedName` in interface `IAttribute`

    - #### getDefaultValue

          public double getDefaultValue()

      Specified by:
        `getDefaultValue` in interface `IAttribute`

    - #### getShouldWatch

          public boolean getShouldWatch()

      Specified by:
        `getShouldWatch` in interface `IAttribute`

    - #### setShouldWatch

          public BaseAttribute setShouldWatch(boolean par1)

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`