|
|
====================
|
|
|
|
|
|
## Description:
|
|
|
|
|
|
## Description
|
|
|
Sets the health of the target entity.
|
|
|
|
|
|
## Attributes:
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
|
|-----------|---------|-----------------------------|---------------|
|
|
|
| amount | a | Amount of health to set to. | 1.0 |
|
|
|
## Attributes
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
| amount | a | Amount of health to set to | 1.0 |
|
|
|
|
|
|
|
|
|
## Examples:
|
|
|
|
|
|
## Examples
|
|
|
This example will set the players' health to 6 (3 hearts) when they
|
|
|
right-click the mob.
|
|
|
|
|
|
```yaml
|
|
|
Skills:
|
|
|
Skills:
|
|
|
- sethealth{a=6} @trigger ~onInteract
|
|
|
- ...
|
|
|
``` |
|
|
\ No newline at end of file |