added example authored by queenofants's avatar queenofants
...@@ -12,3 +12,14 @@ Enchant the entire model or a specific bone. ...@@ -12,3 +12,14 @@ Enchant the entire model or a specific bone.
| enchant | en | Is enchanted | Boolean | true | | enchant | en | Is enchanted | Boolean | true |
| exactmatch | em, exact, match | Should the part match the `partid` completely | 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 | | 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.
```yaml
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
```
\ No newline at end of file