Changes
Page history
added example
authored
Jun 07, 2026
by
queenofants
Hide whitespace changes
Inline
Side-by-side
Skills/Mechanics/Enchant.md
View page @
e3e993b5
[
< Back to mechanic page
](
/Skills/Mechanics
)
## 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.
<br/>
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 |
\ No newline at end of file
[
< Back to mechanic page
](
/Skills/Mechanics
)
## 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.
<br/>
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.
```
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