Minecraft – Potion that hurts all mobs

minecraft-java-edition

I want to be able to summon a potion that can hurt all mobs, undead or alive. I currently summon potions of harming to kill mobs, but that only affects creepers, spiders, etc. If there is a way to use command blocks to damage mobs directly, or some other alternative, please feel free to say it.

If I'm going to use potions, do you know how to get rid of the particles without the user doing so?

Best Answer

There is no potion that kill/damage all mobs, there is only damage or heal and some work on one mob and some work on another mob.