Hi, so I'm making a "security system" for my MC world using lightning. Right now i have it set up so when any entity comes within R=50 it strikes it with lightning until it dies/despawns. I do have one problem however, I only want it to kill bad mobs (zombies, skeletons, etc.) and not attack the good ones (villagers, sheep, etc.). Using the command [Type=!villager] (as I'm sure you know) will prevent it from killing JUST villagers (or whatever i put in there). So my question: Does anyone know how i can prevent it from killing more than one mob using just one command block?
Hi, so I'm making a "security system" for my MC world using lightning. Right now i have it set up so when any entity comes within R=50 it strikes it with lightning until it dies/despawns. I do have one problem however, I only want it to kill bad mobs (zombies, skeletons, etc.) and not attack the good ones (villagers, sheep, etc.). Using the command [Type=!villager] (as I'm sure you know) will prevent it from killing JUST villagers (or whatever i put in there). So my question: Does anyone know how i can prevent it from killing more than one mob using just one command block?
Thanks guys