|
**Description:** Matches the target's health
|
|
## Description
|
|
|
|
Matches the target's health
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
**Attributes:**
|
|
## Attributes
|
|
|
|
|
|
| Attribute | Alias | Description |
|
|
| Attribute | Aliases | Description | Default |
|
|
| --------- | -------------------| ----------------------------- |
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| health | h, amount, a | The health range to check for |
|
|
| health | h, amount, a | The health range to check for | 0 |
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
**Examples:**
|
|
## Examples
|
|
|
|
|
|
```
|
|
```yaml
|
|
Conditions:
|
|
Conditions:
|
|
- health{h=50} true
|
|
- health{h=50} true
|
|
```
|
|
```
|
|
|
|
|
|
```
|
|
```yaml
|
|
# Below 50 health
|
|
# Below 50 health
|
|
Conditions:
|
|
Conditions:
|
|
- health{h=<50} true
|
|
- health{h=<50} true
|
|
```
|
|
```
|
|
|
|
|
|
```
|
|
```yaml
|
|
# Above 10 health
|
|
# Above 10 health
|
|
Conditions:
|
|
Conditions:
|
|
- health{h=>10} true
|
|
- health{h=>10} true
|
|
```
|
|
```
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
**Extra Information:**
|
|
|
|
|
|
|
|
- [x] Type: Entity |
|
## Aliases
|
|
\ No newline at end of file |
|
- [x] hp |
|
|
|
\ No newline at end of file |