Skip to content

Spawn Mob

Creates a runtime-owned mob from a valid spawn egg at the configured location. The spawned entity obeys plot limits and transient cleanup.

Call Method → No Object → Choose Operation → Spawning. Requires Dev access to configure, then a successful compile to activate.

Input Type Role Requirement Default / constraint
Spawn Egg Item Value Required Required
Spawn Location Location Value Required Required

Controls the current structure/task or changes the world/event as described. No separate value result is returned.

Block: Call Method → No Object
Operation: Spawn Mob
Spawn Egg: Zombie Spawn Egg
Spawn Location: Location A in the play area

Use this as an editor configuration: declare any Variables/collections first and choose real locations/eligible targets for your plot. It is not pasteable source code.

Use locations and entities in the current plot. World-changing behavior cannot edit protected code areas or escape plot bounds.

Created transient entities belong to the running program and are cleaned up when Play ends or the program stops. Creation is budgeted; permanent-decoration exceptions are documented separately.

Runtime validation: Choose a mob spawn egg.

Runtime validation: This spawn egg has no supported entity type.

Runtime validation: Spawn Mob currently supports ordinary mob spawn eggs, not bosses.

Reference identifier: plot.spawn_mob.