Перейти к основному содержимому

Mythicmob Npc Definition

A MythicMob that can be used as an NPC

Configuration

mythicmob_npc_definitionMap

Configuration for this entity.

Properties

mobType

"> The internal name of the MythicMob to spawn. showDisplayNameBoolean

Whether to show the holographic display name above the NPC. showDisplayNameInCinematicBoolean

Whether to keep the display name visible during cinematics. showDisplayNameInNavigationBoolean

Whether to keep the display name visible when the NPC is moving. nameOffsetDouble

Y-offset for the display name (default: 2.3). tickingBoolean

If true, the NPC is a real server-side entity (active MythicMob). If false, it's a client-side packet-based entity. clientSideRadiusDouble

If ticking is false, defines the radius within which players can see the NPC. cancelInteractAnimationBoolean

Whether to prevent the default interaction animation (arm swing) from playing. defaultAnimationSettingsDefaultAnimationSettings

Custom animation stances for the NPC.

DefaultAnimationSettings Properties

idle

"> The animation to play when the NPC is standing still. walk

"> The animation to play when the NPC is moving. attack

"> The animation to play when the NPC attacks. hurt

"> The animation to play when the NPC takes damage. death

"> The animation to play when the NPC dies. interact

"> The animation to play when a player interacts with the NPC. teleport

"> The animation to play when the NPC teleports. autoHandleMovementBoolean

Whether the engine should automatically switch between idle and walk animations.