you're welcome lonelywarrior <3 authored by Amy's avatar Amy
......@@ -6,12 +6,17 @@ Checks if the target is holding a given material
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| material | m, type, t| A material or MythicItem internal id to check for | |
| material | m, type, t| A material, MythicItem or MMOItems internal id to check for | |
## Examples
```yaml
# Make sure you use all caps for materials, otherwise the console will say it is not a valid material!
Conditions:
- holding{m=DIAMOND_SWORD} true
Conditions:
- holding{m=DIAMOND_SWORD} true
```
This is an example of using an item from MMOItems. mmoitems.category.item
```yaml
Conditions:
- holding{m=mmoitems.TOOL.PICKAXE_5} true
```
\ No newline at end of file