Mythicmob NPC Bone Visibility
Control MythicMob NPC bone visibility with criteria
Поля
| Поле | Тип | По умолчанию | Описание | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bones | List<MythicMobNpcBoneVisibilityCriteria> | empty | Bones and their visibility criteria. All criteria must match (AND) for bone to be visible. Empty criteria = always visible.
|
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
boneName | String | — | The bone name to control |
criteria | List<Criteria> | empty | All criteria must match for bone to be visible. Empty = always visible. |
Общие поля TypeWriter (priorityOverride)
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
priorityOverride | Optional<Int> | — | — |
How to use it
For each bone in bones, the bone is visible when every criterion matches (or when the list is empty).
The bones are applied to the NPC's model as soon as it exists and again after every respawn; a bone name the model does not know is skipped and logged. Works with ticking on and off.