I'm making a minigame and I need to summon 100 Zombies in 1 command block. How do I do so?
-
1Use a function. Here is a question that may help: Problem with multiple commands in one Command Block. Here is another: Syntax to add multiple commands to a single command block– IronAnvilApr 20, 2018 at 2:50
-
In your case, you could just put a button on a repeatimg command block.– Fabian RölingApr 20, 2018 at 6:20
1 Answer
To summon multiple entities in one command, summon them riding an AEC that will die in the next tick:
/summon area_effect_cloud ~ ~ ~ {Passengers:[{id:"minecraft:zombie"},{id:"minecraft:zombie"},{id:"minecraft:zombie"},{id:"minecraft:zombie"},{id:"minecraft:zombie"}]}