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