Update hasItem authored by Lxlp's avatar Lxlp
...@@ -3,15 +3,13 @@ Tests if the target player or an item container has exactly the given number of ...@@ -3,15 +3,13 @@ Tests if the target player or an item container has exactly the given number of
## Attributes ## Attributes
| Attribute | Aliases | Description | Default | | 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 | | amount | a | The amount to check for | >0 |
## Examples ## Examples
```yaml ```yaml
Conditions: Conditions:
- hasitem{i=stick;amount=>1} true - hasitem{i=stick;amount=>1} true
... ...
......