Mythicmob NPC Stop Animation
Stops a ModelEngine animation on a MythicMob NPC
Fields
| Field | Type | Default | Description | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
target | MythicMobNpcFactTarget | — | —
|
| Field | Type | Default | Description | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
npc | Ref<MythicMobNpcInstance> | — | MythicMob NPC instance to inspect.
|
| Field | Type | Default | Description |
|---|---|---|---|
definition | Ref<MythicMobNpcDefinition> | — | — |
spawnLocation | Var<Position> | ORIGIN | —With rotation |
data | List<Ref<EntityData<*>>> | empty | — |
activity | Ref<out EntityActivityEntry> | — | — |
group | Ref<out GroupEntry> | — | — |
secondaryOffset | Vector | {"x":0.0,"y":0.0,"z":0.0} | Offset (X, Y, Z) for the secondary focus point (automatically created with empty text) |
radiusDouble?animationStringCommon TypeWriter fields (criteria, modifiers, triggers)
| Field | Type | Default | Description |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<Ref<TriggerableEntry>> | empty | — |
How to use it
Fill target.npc with the instance. With an empty animation, every animation on the model is stopped; otherwise only the named one.