Skip to main content

Mythicmob NPC Stop Animation

Stops a ModelEngine animation on a MythicMob NPC

Fields

FieldTypeDefaultDescription
targetMythicMobNpcFactTarget——
MythicMobNpcFactTarget (2)
FieldTypeDefaultDescription
npcRef<MythicMobNpcInstance>—MythicMob NPC instance to inspect.
MythicMobNpcInstance (6)
FieldTypeDefaultDescription
definitionRef<MythicMobNpcDefinition>——
spawnLocationVar<Position>ORIGIN—With rotation
dataList<Ref<EntityData<*>>>empty—
activityRef<out EntityActivityEntry>——
groupRef<out GroupEntry>——
secondaryOffsetVector{"x":0.0,"y":0.0,"z":0.0}Offset (X, Y, Z) for the secondary focus point (automatically created with empty text)
radiusDouble?—Custom search radius in blocks when matching the active mob. 0 uses the default of 5 blocks.
animationString—The name of the animation to stop. If empty, all animations are stopped.
Common TypeWriter fields (criteria, modifiers, triggers)
FieldTypeDefaultDescription
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<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.