Entities & mobs · Step
Spawn several
Spawn the same mob a number of times at one place, like a wave. Counts toward the 50 spawns a run.
m.entity.spawn_several
In a flow
“When a player enters a region → Spawn several: 5 zombies at Region centre.”
When a player enters a region → Spawn several: 5 zombies at Region centre.
What it does
Spawn the same mob a number of times at one place, like a wave. Counts toward the 50 spawns a run. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 2 values later steps can use. Find it under Entities & mobs in the palette.
When to use it
Use it when the flow needs to: spawn the same mob a number of times at one place, like a wave. Counts toward the 50 spawns a run.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Where Location
-
Where: wire a location in, like Location from Player location, or type world x y z.
What goes there: Type it in the side panel, or wire in a location. e.g. world 10.5 64 -3.2
If it's empty: Optional. Left empty and unwired, the step runs without it.
- How many Number
-
How many to spawn, from 1 to 20.
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 5.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 501 more
- Name Text
-
A name shown over its head. Empty for none. Variables allowed; MiniMessage tags like <gold> work.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more
Values it gives
- Entity Entity
-
What spawned. Wire it into any Entity pin. e.g. Zombie
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 554 more
- Count Number
-
How many spawned. e.g. 5
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more