Description:
Unlike the release 1.20.4, projectile protection no longer reduces the damage taken from llama spit, which seems to be caused by the change to llama spit damage type.
Steps to Reproduce:
Change game difficulty to hard
Spawn a llama
Wear the leather cap without projectile protection
Attack the llama to make it spit at player
Wear the leather cap with projectile protection IV
Attack the llama to make it spit at player again
Compare the two damages
Observed Results:
Can find that projectile protection doens't reduce the damage taken from llama spit.
Expected Results:
The damage should be reduced.
Comments 3

Should compare with the release 1.20.4 instead of any 1.20.5 snapshot.
I tried it again on low hearts, and I take half heart damage whether I am wearing an enchanted cap or not, and whether I am in 1.20.4 or 24w06a. When was the last version where this worked?
Edit: Forget what I said, I somehow read "blast protection" instead of "projectile protection".
I tried to reproduce this in both 23w51a and 24w06a, but I take no damage when wearing an unenchanted leather cap and when wearing an enchanted leather cap. Please provide more details, as I do not have a repro of this issue.