|
|
## Description
|
|
|
Sets the base value of the targeted entity's attribute
|
|
|
Sets the base value of the targeted entity's [attribute][]
|
|
|
|
|
|
|
|
|
## Attributes
|
|
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
| attribute | attr | The attribute to set | GENERIC_LUCK |
|
|
|
| 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 |
|
|
|
|
... | ... | @@ -16,9 +16,12 @@ Sets the base value of the targeted entity's attribute |
|
|
ExampleMob:
|
|
|
Type: ZOMBIE
|
|
|
Skills:
|
|
|
- attribute{attribute=GENERICK_LUCK;a=2;d=1200} @trigger ~onDeath
|
|
|
- attribute{attribute=GENERICK_LUCK;a=2;duration=1200} @trigger ~onDeath
|
|
|
```
|
|
|
|
|
|
|
|
|
## Aliases
|
|
|
- [x] setattribute
|
|
|
|
|
|
|
|
|
[attribute]: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/attribute/Attribute.html |
|
|
\ No newline at end of file |