Mythicmob NPC Attachment
Replace a bone of a MythicMob NPC model with one from another model
Fields
| Field | Type | Default | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
attachments | List<MythicMobNpcAttachmentConfig> | empty | Attachments to apply
|
| Field | Type | Default | Description |
|---|---|---|---|
modelId | Var<String> | — | Targeted model ID |
partId | Var<String> | — | Targeted bone to replace |
newModelId | Var<String> | — | Model ID to fetch the replacement bone from |
newPartId | Var<String> | — | Bone from the new model to use as replacement |
Common TypeWriter fields (priorityOverride)
| Field | Type | Default | Description |
|---|---|---|---|
priorityOverride | Optional<Int> | — | — |
How to use it
Each attachment replaces the bone partId of the model modelId with the bone newPartId of the model newModelId.
Each attachment is applied to the NPC's model as soon as it exists and again after every respawn; an unknown bone or model is skipped and logged. Works with ticking on and off.