Minecraft Map Making Technique: Kamikaze Zombies using Nested Execute Commands
Commands:
(Basic kamikaze engine)
execute @p[r=25,m=2] ~ ~ ~ execute @e[type=Zombie,r=3] ~ ~ ~ summon Creeper ~ ~ ~ {Fuse:1,ignited:1,CustomName:"Kamikaze Zombie"}
(breaking a wall engine)
execute @e[-421,56,-465,rm=2,type=Zombie] ~ ~ ~ execute @p[r=3,m=2] ~ ~ ~ execute @e[type=Zombie,r=3] ~ ~ ~ summon Creeper ~ ~ ~ {Fuse:1,ignited:1,CustomName:"Kamikaze Zombie"}
execute @e[-421,56,-465,r=2,type=Zombie] ~ ~ ~ execute @p[r=3,m=2] ~ ~ ~ execute @e[type=Zombie,r=3] ~ ~ ~ summon Creeper ~ ~ ~ {Fuse:1,ignited:1,CustomName:"Kamikaze Zombie"}
The second goes to a /fill command deleting the wall
The execute command in general makes an entity run another command relative to it so what if the execute command made another entity run an execute command, thus you have nested execute commands. Using this I was able to, in 1 Command Block, create zombies that exploded when they got close to you. Using triple nested execute commands (or it may be considered double since 2 executes are inside another), I was able to make that explosion destroy one particular wall.
If you liked the video, leave a like, it really helps out.
If you really liked the video or you want more, subscribe
Other Videos By Dynomation4
Other Statistics
Minecraft Statistics For Dynomation4
Dynomation4 currently has 957,719 views spread across 467 videos for Minecraft. His channel uploaded over 7 days worth of Minecraft videos, or 52.80% of the total watchable video on Dynomation4's YouTube channel.