I would like to make villagers angry on command. I assume I need to use /data modify, but I do not know the proper <targetPath>. I have the following so far:

execute as @e[type=villager] run data modify entity @s Target set from entity @a[sort=nearest,limit=1] {Gossips:[{Type:"minor_negative",Value:5}]}

Specifically, I would like to do this when their workstation is broken, so if anyone has a simple way of doing that it would be greatly appreciated.


You must log in to answer this question.

Browse other questions tagged .