... | ... | @@ -3,15 +3,13 @@ Tests if the target player or an item container has exactly the given number of |
|
|
|
|
|
|
|
|
## Attributes
|
|
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
| item | i, material, m | The item to check for | DIRT |
|
|
|
| item | i, material, m, type, t | The item to check for | DIRT |
|
|
|
| amount | a | The amount to check for | >0 |
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
```yaml
|
|
|
Conditions:
|
|
|
- hasitem{i=stick;amount=>1} true
|
... | ... | |