Bettermodel Bone Appearance
Per-bone glow, tint, glint and brightness
Per-bone counterpart of the vanilla glowing_effect_data, potion_effect_color_data and brightness_data entries. Those vanilla entries describe a single entity and therefore apply to the whole model. This one targets individual bones, so a single model can have a glowing weapon, a tinted cape and a lit lantern at once.
Felder
| Feld | Typ | Standard | Beschreibung | ||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bones | List<BoneAppearance> | empty | Appearance overrides per bone. All criteria must match (AND) for the override to be active; when they do not, the bone falls back to its default look.
|
| Feld | Typ | Standard | Beschreibung |
|---|---|---|---|
boneName | String | — | The bone to target. Leave empty to target every bone of the model. |
criteria | List<Criteria> | empty | All criteria must match for the override to be active. Empty = always active. |
glowing | Boolean | false | Outline the bone with the glowing effect |
glowColor | Color | WHITE | Colour of the glowing outline |
tinted | Boolean | false | Tint the bone's item. Leave off to keep the model's own colours. |
tint | Color | WHITE | Tint colour applied to the bone's item |
enchanted | Boolean | false | Add the enchantment glint to the bone's item |
overrideBrightness | Boolean | false | Override the light level the bone is rendered with, instead of using the block it stands in |
blockLight | Int | 15 | Block light level (0-15) used when the brightness is overridden |
skyLight | Int | 15 | Sky light level (0-15) used when the brightness is overridden |
Gemeinsame TypeWriter-Felder (priorityOverride)
| Feld | Typ | Standard | Beschreibung |
|---|---|---|---|
priorityOverride | Optional<Int> | — | — |
How to use it
Each row of bones targets one bone (boneName), or every bone when it is empty, and is only active while all its criteria match. Inside a row, glowing and glowColor outline the bone, tinted and tint colour its item, enchanted adds the glint, and overrideBrightness with blockLight and skyLight (0 to 15) sets the light level the bone is rendered with.
This is the per-bone version of the vanilla glowing, potion colour and brightness data entries, which apply to the whole model.