Changes
Page history
updated layout and informations
authored
Jun 14, 2023
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
Skills/conditions/wearing.md
View page @
dc581307
**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 | Alias | Description | Default |
| --------- | --------- | ----------- | ------- |
| 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 |
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| armorslot | slot, s | The item slot to check. | HEAD |
| 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:**
| HEAD | CHEST | LEGS | FEET | HAND | OFFHAND |
| ---- | ----- | ---- | ---- | ---- | ------- |
---
**Examples:**
```
##Examples
```
yaml
Conditions
:
- wearing{slot=HAND;m=IRON_SWORD} true
- wearing{slot=CHEST;m=mmoitems.TYPE.ID} true
-
wearing{slot=HAND;m=IRON_SWORD}
true
-
wearing{slot=CHEST;m=mmoitems.TYPE.ID}
true
```
---
**Aliases:**
| Condition Aliases |
| ----------------- |
| iswearing |
| wielding |
| iswielding |
---
\ No newline at end of file
## Aliases
-
[x] iswearing
-
[x] wielding
-
[x] iswielding
\ No newline at end of file