|
|
Mechanic: Equip
|
|
|
===============
|
|
|
|
|
|
## Description
|
|
|
Equips the mob with an item. Uses the exact same syntax as the
|
|
|
[Equipment](/mobs/equipment) configuration.
|
|
|
|
|
|
Attributes
|
|
|
----------
|
|
|
|
|
|
## Attributes
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|---------|-------------------------------------------|---------|
|
|
|
| item | i | The item config string to run on the mob. | |
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
| item | items, equipment, equip, e | The item config string to run on the mob. | |
|
|
|
|
|
|
|
|
|
Examples
|
|
|
----
|
|
|
## Examples
|
|
|
This example would equip the casting mob with a diamond sword.
|
|
|
```yaml
|
|
|
EquipDiamondSword:
|
|
|
EquipDiamondSword:
|
|
|
Skills:
|
|
|
- equip{item=diamond_sword}
|
|
|
- equip{item=diamond_sword HAND}
|
|
|
```
|
|
|
|
|
|
This example would equip the Skeleton King's crown as a helmet.
|
|
|
```yaml
|
|
|
EquipCrown:
|
|
|
EquipCrown:
|
|
|
Skills:
|
|
|
- equip{item=KingsCrown}
|
|
|
- equip{item=KingsCrown HEAD}
|
|
|
``` |
|
|
\ No newline at end of file |