|
|
[< Back to mechanic page](/Skills/Mechanics)
|
|
|
|
|
|
## Description
|
|
|
Set an item of an item bone.
|
|
|
|
|
|
## Attributes
|
|
|
|
|
|
| Attribute | Aliases | Description | Type | Default |
|
|
|
|-----------|-----------------------|------------------------------------------------|---------|---------|
|
|
|
| modelid | m, mid, model | Targeted model | String | |
|
|
|
| partid | b, bone, p, pid, part | Targeted item bone | String | |
|
|
|
| item | i | A mythic item or minecraft material | Item | |
|
|
|
| data | | The custom model data of the item | Integer | 0 |
|
|
|
| color | | The color of the item if the item is colorable | Color | |
|
|
|
| enchant | | Is the item enchanted | Boolean | false |
|
|
|
|
|
|
|
|
|
## Example
|
|
|
```yaml
|
|
|
Skills:
|
|
|
- meg:setitemmodel{mid=testmodel;bone=examplebone;i=STONE} @self
|
|
|
```
|
|
|
> Be aware that Crucible has another mechanic called `setitemmodel`, so in order to prevent conflicts it is advisable to use the SetItemModel mechanic as shown above. You can find additional information on this [Here](/Skills/Mechanics/MythicMobs#mechanicsconditionstargeters-conflicts) |
|
|
\ No newline at end of file |