Modelengine Stance Data
ModelEngine stance configuration for day/night animations
The ModelEngineStanceData class is an entry that represents ModelEngine stance configuration. This allows you to define different animations for day and night time, as well as custom stances for various actions that override the default ModelEngine behavior. ## How could this be used? This could be used to make NPCs have different behaviors during day and night, such as sleeping animations at night or more active animations during the day. You can also define custom attack, death, hurt, and other action animations.
Champs
| Champ | Type | Par défaut | Description |
|---|---|---|---|
dayIdleStance | Var<String> | — | Stance to use during day time when idle (overrides default idle) |
dayWalkStance | Var<String> | — | Stance to use during day time when walking (overrides default walk) |
nightIdleStance | Var<String> | — | Stance to use during night time when idle (overrides default idle) |
nightWalkStance | Var<String> | — | Stance to use during night time when walking (overrides default walk) |
attackStance | Var<String> | — | Stance to use when attacking (overrides default attack) |
hurtStance | Var<String> | — | Stance to use when taking damage (overrides default hurt) |
deathStance | Var<String> | — | Stance to use when dying (overrides default death) |
jumpStance | Var<String> | — | Stance to use when jumping (overrides default jump) |
runStance | Var<String> | — | Stance to use when running (overrides default run) |
sitStance | Var<String> | — | Stance to use when sitting (overrides default sit) |
sleepStance | Var<String> | — | Stance to use when sleeping (overrides default sleep) |
eatStance | Var<String> | — | Stance to use when eating (overrides default eat) |
lookStance | Var<String> | — | Stance to use when looking around (overrides default look) |
celebrateStance | Var<String> | — | Stance to use when celebrating (overrides default celebrate) |
interactStance | Var<String> | — | Stance to use when interacting (overrides default interact) |
enableDayNightCycle | Boolean | true | Enable automatic day/night stance switching |
dayStartTime | Long | 0 | Time threshold for day (0-24000, default: 0 = dawn) |
nightStartTime | Long | 13000 | Time threshold for night (0-24000, default: 13000 = sunset) |
Champs TypeWriter communs (priorityOverride)
| Champ | Type | Par défaut | Description |
|---|---|---|---|
priorityOverride | Optional<Int> | — | — |