跳到主要内容

Spawn Mob

The Spawn Mob action allows you to spawn any defined MythicMob into the world. You can control the mob's level, position, and even restrict its visibility to a specific player.

Configuration

KeyTypeDescription
mobNameStringThe internal name of the MythicMob to spawn. Supports placeholders.
levelDoubleThe level of the spawned mob (default: 1.0).
spawnLocationLocationWhere the mob should appear.
onlyVisibleForPlayerBooleanIf true, the mob will only be seen by the player triggering the action.

Usage Examples

Boss Spawn

Spawn a level 50 boss at the center of an arena when a player enters.

id: spawn_arena_boss
type: spawn_mythicmobs_mob
mobName: SkeletalKing
level: 50.0
spawnLocation:
world: world
x: 100
y: 64
z: 100

Personal Objective

Spawn a mob that only the relevant player can see and interact with.

id: spawn_personal_phantom
type: spawn_mythicmobs_mob
mobName: QuestPhantom
onlyVisibleForPlayer: true
spawnLocation: "@self"