-
Bug
-
Resolution: Won't Fix
-
None
-
1.19.2
-
None
-
Confirmed
-
Mob behaviour, Particles
Normally when you hit a villager, they display the angry villager particle effect, but if you hit one and they use a totem, the particle doesn't appear even though the villager will increase its prices due to the hit. This may just be because villagers don't display this particle when killed and using a totem acts like death, but I still think the particle should be shown to indicate it being hurt.
To replicate this, summon a villager with a totem of undying in its offhand and 2 health with the following command,
/summon minecraft:villager ~ ~ ~ {Health:2,HandItems:[{},\{id:totem_of_undying,Count:1}],Attributes:[\{Name:"generic.max_health",Base:2f}]}
Now punch the village, you will see then normal angry villager particles as it has 2 health via the command. Punch it again and see that it uses the totem and the particles don't appear this time. You would expect to see that particles, but they just don't appear.