|
**Description:** This condition checks if the target entity is wearing the selected item.
|
|
## Description
|
|
|
|
This condition checks if the target entity is wearing the selected item.
|
|
|
|
|
|
**Type:** Entity
|
|
|
|
|
|
|
|
---
|
|
## Attributes
|
|
|
|
|
|
**Attributes:**
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| Attribute | Alias | Description | Default |
|
|
|
|
| --------- | --------- | ----------- | ------- |
|
|
|
|
| armorslot | slot, s | The item slot to check. | HEAD |
|
|
| armorslot | slot, s | The item slot to check. | HEAD |
|
|
| material | mmitem, m | A material or MythicItem name to check for. Also supports MMOItems in the format mmoitems.TYPE.ID | DIRT |
|
|
| material | mat, m, mythicmobsitem, mmitem, mmi, item | A material or MythicItem name to check for. Also supports MMOItems in the format mmoitems.TYPE.ID | DIRT |
|
|
|
|
|
|
**Valid Slots:**
|
|
**Valid Slots:**
|
|
|
|
|
|
| HEAD | CHEST | LEGS | FEET | HAND | OFFHAND |
|
|
| HEAD | CHEST | LEGS | FEET | HAND | OFFHAND |
|
|
| ---- | ----- | ---- | ---- | ---- | ------- |
|
|
| ---- | ----- | ---- | ---- | ---- | ------- |
|
|
---
|
|
|
|
|
|
|
|
**Examples:**
|
|
|
|
|
|
|
|
```
|
|
##Examples
|
|
|
|
```yaml
|
|
Conditions:
|
|
Conditions:
|
|
- wearing{slot=HAND;m=IRON_SWORD} true
|
|
- wearing{slot=HAND;m=IRON_SWORD} true
|
|
- wearing{slot=CHEST;m=mmoitems.TYPE.ID} true
|
|
- wearing{slot=CHEST;m=mmoitems.TYPE.ID} true
|
|
```
|
|
```
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
**Aliases:**
|
|
|
|
|
|
|
|
| Condition Aliases |
|
|
## Aliases
|
|
| ----------------- |
|
|
- [x] iswearing
|
|
| iswearing |
|
|
- [x] wielding
|
|
| wielding |
|
|
- [x] iswielding |
|
| iswielding |
|
|
\ No newline at end of file |
|
--- |
|
|
|
\ No newline at end of file |
|
|