universalAnger gamerule set to true prevents Llamas from spitting at players
When you set the universalAnger gamemode to true, llamas won't spit at players that hurt them. Hostile mobs that hurt llamas still cause llamas to spit at them however.
To reproduce
- /gamemode survival @s
- /summon minecraft:llama ~ ~ ~
- /gamerule universalAnger true
- Hit the llama
→
Notice how it doesn't spit or even target you