Changes
Page history
added example
authored
Jun 07, 2026
by
queenofants
Show whitespace changes
Inline
Side-by-side
Skills/Mechanics/Enchant.md
View page @
e3e993b5
...
@@ -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