Enchant
Description
Enchant the entire model or a specific bone.
Attributes
| Attribute | Aliases | Description | Type | Default |
|---|---|---|---|---|
| modelid | m, mid, model | Targeted model | String | |
| partid | p, pid, part | Targeted rendering bone. If not set, enchant the entire model. |
String | |
| enchant | en | Is enchanted | Boolean | true |
| exactmatch | em, exact, match | Should the part match the partid completely |
Boolean | true |
| child | c | Whether the child bones should be affected | Boolean | false |
Examples
This will cause the mob's eyes to glow when attacking then switch back to normal 20 ticks later.
Skills:
- model{m=TestModel} @self ~onSpawn
- enchant{m=TestModel;p=eyes;en=true} @self ~onAttack
- enchant{m=TestModel;p=eyes;en=false;delay=20} @self ~onAttack