跳到主要内容

NPC Definition

The mythicmob_npc_definition creates a template for an NPC, linking it to a specific MythicMob type.

Configuration

mythicmob_npc_definitionMap

Configuration for the definition.

Properties

id

Unique identifier for this definition. displayNameString

Name displayed above the NPC's head. mobTypeString

The internal MythicMobs name (e.g., SkeletonKing). showDisplayNameBoolean

If true, shows the nameplate. Default is true. nameOffsetDouble

Height offset for the nameplate. Default is 2.3. tickingBoolean

If true, the NPC ticks (updates logic). Default is false (performance optimized).