Minecraft: Spawn Mob

Spawns a specific entity near the linked player.

When to use it

  • Spawn a viewer-named mob.
  • Spawn a boss-style enemy.
  • Spawn mobs with custom data, equipment, tags, or names.

Fields

  • Mob ID: Full entity ID, such as minecraft:zombie or modid:custom_mob.
  • Amount: How many mobs to spawn.
  • Offset X / Y / Z: Spawn position relative to the player.
  • Entity Data: Optional entity NBT/data for names, tags, equipment, loot tables, persistence, and modded values.

Examples

Spawn zombie on player

Mob ID: minecraft:zombie
Amount: 1
Offset X: 0
Offset Y: 0
Offset Z: 0
Entity Data:

Spawn named skeleton

Mob ID: minecraft:skeleton
Amount: 1
Offset X: 2
Offset Y: 0
Offset Z: 0
Entity Data: {Tags:["Viewer Spawn"],CustomName:'{"text":"$userDisplayName","color":"gold"}',CustomNameVisible:1b,PersistenceRequired:1b}