|
|
**Description:** Checks if the target is holding a given material
|
|
|
## Description
|
|
|
Checks if the target is holding a given material
|
|
|
|
|
|
**Type:** Entity
|
|
|
|
|
|
---
|
|
|
## Attributes
|
|
|
|
|
|
**Attributes:**
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
| material | m, type, t| A material or MythicItem internal id to check for | |
|
|
|
|
|
|
| Attribute | Alias | Description |
|
|
|
| --------- | ------- | -------------------------- |
|
|
|
| material | m | A material or MythicItem name to check for |
|
|
|
|
|
|
---
|
|
|
|
|
|
**Examples:**
|
|
|
|
|
|
```
|
|
|
## 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
|
|
|
```
|
|
|
|
|
|
---
|
|
|
|
|
|
**Extra Information:**
|
|
|
|
|
|
- [x] Type: Entity |
|
|
\ No newline at end of file |
|
|
Conditions:
|
|
|
- holding{m=DIAMOND_SWORD} true
|
|
|
``` |
|
|
\ No newline at end of file |