|  | 
|  | getMinValue () | 
|  | 
|  | setMinValue ($minValue) | 
|  | 
|  | getMaxValue () | 
|  | 
|  | setMaxValue ($maxValue) | 
|  | 
|  | getDefaultValue () | 
|  | 
|  | setDefaultValue ($defaultValue) | 
|  | 
|  | getValue () | 
|  | 
|  | setValue ($value) | 
|  | 
|  | getName () | 
|  | 
|  | getId () | 
|  | 
|  | isSyncable () | 
|  | 
|  | 
| const | MAX_HEALTH = 0 | 
|  | 
| const | EXPERIENCE = 1 | 
|  | 
| const | EXPERIENCE_LEVEL = 2 | 
|  | 
|  | 
|  | $minValue | 
|  | 
|  | $maxValue | 
|  | 
|  | $defaultValue | 
|  | 
|  | $currentValue | 
|  | 
|  | $name | 
|  | 
|  | $shouldSend | 
|  | 
  
  | 
        
          | static addAttribute | ( |  | $id, |  
          |  |  |  | $name, |  
          |  |  |  | $minValue, |  
          |  |  |  | $maxValue, |  
          |  |  |  | $defaultValue, |  
          |  |  |  | $shouldSend = false |  
          |  | ) |  |  |  | static | 
 
- Parameters
- 
  
    | int | $id |  |  | string | $name |  |  | float | $minValue |  |  | float | $maxValue |  |  | float | $defaultValue |  |  | bool | $shouldSend |  |  
 
- Returns
- Attribute 
 
 
  
  | 
        
          | static getAttribute | ( |  | $id | ) |  |  | static | 
 
- Parameters
- 
  
  
- Returns
- null|Attribute 
 
 
  
  | 
        
          | static getAttributeByName | ( |  | $name | ) |  |  | static | 
 
- Parameters
- 
  
  
- Returns
- null|Attribute 
 
 
The documentation for this class was generated from the following file:
- /Users/Kids/Desktop/Doxygen/pocketmine/entity/Attribute.php