|
|
|
## Description
|
|
|
|
Checks if the target enchantment level is the specified one
|
|
|
|
|
|
|
|
## Attributes
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
|
|
|----------------|-------------|---------------------------------------------------------|---------------|
|
|
|
|
| level | | The level to check for | |
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
```yaml
|
|
|
|
Skills:
|
|
|
|
- potion{type=WITHER} @trigger ~onAttack ?enchantlevel{level=1}
|
|
|
|
- potion{type=WITHER} @trigger ~onAttack ?enchantlevel{level=2}
|
|
|
|
- potion{type=WITHER} @trigger ~onAttack ?enchantlevel{level=3}
|
|
|
|
``` |
|
|
|
\ No newline at end of file |