I am making a costum map and I want to summon this kind of "mob tower"
M
---
V
---
B
Where M
= Invisible Mooshroom, V
=Villager and B
=bat. ---
are layers of obsidian blocks that already exists in the world.
The Villager is used for some mob tracking magic using Zombies. The bat is for randomizing the movement of the stack and the invisible Mooshroom is used for targeting other commands. There should also be a way to kill a single stack (i.e. kill Mooshroom, Villager and Bat, without killing all of them.
The logic of the game I try to make is this:
- Four stacks will be summoned on the field.
- After a random time the mooshroom closest to the center of the field will explode, I teleport primed TNT to it.
- The villager and the bat of that stack will be killed as well as every zombie in the game.
- The next closest stack will do the same until all 4 stacks are gone.
I have tried summoning different stacks and watching some tutorials but I have major trouble getting the spacing right, I just can't get any space between them. Also I forgot how an effect is added. I did found that invisibility is effect 23 or something (I can figure that out myself, don't even worry about it) but I don't know the syntax.
Can someone just tell me the commands for spawning and killing the stack?
Riding:{id:
for stacking mobs