Friendly Fire

Friendly Fire

9M Downloads

friendlyfire:general_protection tag on villagers makes them immune to mob damage

tomtlw opened this issue · 4 comments

commented

I've noticed that no villagers could die to pillagers or zombies. Note: I'm playing with Minecraft Comes Alive reborn on 1.19.2 however it seems like without mods the normal villagers don't take damage either.

That line does successfully prevent myself from dealing damage as well.

commented

This is an intended feature, as general_protection is general. I can look into a new tag to prevent player specific damage.

commented

This also happens to baby animals attacked by wolves. They become enraged and pounce into the babies without hurting them and don't stop following them around until they grow up.

commented

The friendlyfire:player_protection tag is now a feature on 1.19.2.

commented

该标签现在是 1.19.2 上的一项功能。friendlyfire:player_protection

How can I add the [player_protection] list in version 1.16.5