Attribute
Description
Sets the base value of the targeted entity's attribute. Not supposed to be used on players.
Attributes
| Attribute | Aliases | Description | Default |
|---|---|---|---|
| attribute | attr | The attribute to set | GENERIC_LUCK |
| amount | amt, a | The amount of the attribute | 0 |
| duration | dur | The duration of the attribute | 0 |
Examples
ExampleMob:
Type: ZOMBIE
Skills:
- attribute{attribute=GENERIC_LUCK;a=2;duration=1200} @trigger ~onDeath
Aliases
-
setattribute