Changes
Page history
Update hasItem
authored
Oct 16, 2024
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/conditions/hasItem.md
View page @
caff57df
...
@@ -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
...
...
...
...