|
|
**Description:** Tests if the target player, chest, or shulkerbox has the given number of given material
|
|
|
|
|
|
---
|
|
|
|
|
|
**Attributes:**
|
|
|
|
|
|
| Attribute | Alias | Description | Default |
|
|
|
| --------- | ------- | ----------- | ------- |
|
|
|
| item | i, material, m | A material to check for | DIRT |
|
|
|
| amount | a | A Number to check for | >0 |
|
|
|
|
|
|
---
|
|
|
|
|
|
**Examples:**
|
|
|
|
|
|
```
|
|
|
Conditions:
|
|
|
- hasitem{i=STICK;amount=2} true
|
|
|
```
|
|
|
|
|
|
---
|
|
|
|
|
|
**Extra Information:**
|
|
|
|
|
|
- [x] Type: Entity, Location |
|
|
\ No newline at end of file |