Mythicmob NPC Bone Visibility
Control MythicMob NPC bone visibility with criteria
Champs
| Champ | Type | Par défaut | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bones | List<MythicMobNpcBoneVisibilityCriteria> | empty | Bones and their visibility criteria. All criteria must match (AND) for bone to be visible. Empty criteria = always visible.
|
| Champ | Type | Par défaut | Description |
|---|---|---|---|
boneName | String | — | The bone name to control |
criteria | List<Criteria> | empty | All criteria must match for bone to be visible. Empty = always visible. |
Champs TypeWriter communs (priorityOverride)
| Champ | Type | Par défaut | Description |
|---|---|---|---|
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.