Give Undead mobs instant health
Is there any way to give an undead mob instant health?
I've tried /effect @e[team=Undead] instant_health but it doesn't work.
Best Answer
Undead mobs (zombie, zombie pigman) have backward health effects.
Instant Health damages them,
Instant Damage heals them.
Try using instant damage.
Pictures about "Give Undead mobs instant health"



Does instant health damage undead mobs?
Instant Health is an instant status effect that increases health for living mobs and damages the undead.Does instant health work on zombies?
Background. The Instant Health effect is a status effect that gives instant health to a player or mob that is living. However, undead mobs (such as zombies, skeletons, wither skeletons, wither bosses, skeleton horses and zombie horses) are damaged by the Instant Health effect.How do you heal undead mobs?
Undead mobs are mobs that are either zombie variants or skeleton variants. Unless resistant to fire, they will burn in sunlight. Undead mobs are healed by Potions of Harming but hurt by Potions of Healing.Do instant health potions hurt zombies?
Using the /effect command to apply instant health to undead mobs (Zombie, Skeleton, Wither Skeleton, Zombie Pigman and Wither) don't hurt them even if they are doing the hurt animation and sound.How to Give Mobs CUSTOM HEALTH in Minecraft! (Tutorial, 1.16+ (Java))
More answers regarding give Undead mobs instant health
Answer 2
If you want to give specific mobs (in your case Skeletons and Zombies) an effect you can do it like so /effect @e{type=<mob>} <effect> 1 1
Eg. /effect @e{type=Skeleton} instant_damage 1 1
- This will will heal the skeleton. Same goes with the zombie.
If you want to target mobs in a specific area,just add r=desiredrange.
Eg. /effect @e{type=Skeleton,r=60} instant_damage 1 1
This will heal the Skeleton within the 60 block range of the command block.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Gustavo Fring, Yaroslav Shuraev, Mikhail Nilov, Mikhail Nilov
