You can change the "r=5" higher or lower if you want. These commands will teleport the mob under the world. This doesn't kill the spiders instantly, instead, it will teleport the spiders under the world, without giving the players the items. Unless you want to though, use the example above my comment.
Hey guys,
my girlfriend is absolutely scared of spiders. She can't play minecraft with me and our friends on the server because of that.
Is there any way to run a command block that targets all spiders and cave spiders around a specific player and kill them automaticly?
Or let's say replace them with a zombie?
(We're playing on Vanilla 1.12)
Thanks in advance!!
You need two command blocks! The command blocks need these commands:
You can change the "r=5" higher or lower if you want. These commands will teleport the mob under the world. This doesn't kill the spiders instantly, instead, it will teleport the spiders under the world, without giving the players the items. Unless you want to though, use the example above my comment.
Bob Ross is kool
Thank you very much guys!!!