I want to give undead mobs in a certain radius instant health potions, but I don't know how to only target undead mobs.
e.g. "\effect give @e[distance=1..7, type=undead] minecraft:instant_health 7 10"
effect give @e[distance=1..7, type=undead] minecraft:instant_health 7 10
But there is no "undead" mob type. At least in this context.
Any help would be appreciated.