The bug
Trusted foxes in version 1.14.4 does not defend the player from mobs that uses melee/projectile attacks but attacks mobs that uses a bow and arrow. I let an endermite hit me while the trusted fox was near, the fox didn't growl or chase and attack the endermite. I tried to let a mob attack me by getting shot by an arrow (skeletons, strays, illusioners, pillagers and wither skeletons with bows.) and the fox growled at them and chases the skeleton. As of the snapshots for 1.15, they also ignore bees stinging the player they trust.
How to reproduce
Summon trusted fox
/summon fox ~ ~1 ~ {TrustedUUIDs:[{L:0L,M:0L}]}
Spawn a skeleton
Go to survival and let them shoot you then the fox growls
Spawn a mob that uses melee
Go to survival again, and the fox is not growling
Mobs that foxes attack
Skeletons
Strays
Wither skeletons (Armed with a bow)
Illusioners
Pillagers
Players (Multiplayer; modifiying a fox's
TrustedUUIDs
tag so that it defends mobs from players.)
Getting hit with an arrow from one of the mobs that shoots arrows aggro trusted foxes. It is also impossible for a trusted fox to attack an exploding creeper, as the creeper kills itself by exploding.
Foxes may ignore the following (Except for arrows and creepers)
Melee attacksRavager roars
Llama/Trader llama spit
Ghast/blaze fireballs
Evoker fangs
Splash potions (from witches/other players)
Shulker bullets
Snowballs/eggs (Thrown by other players/snow golems)
Tridents (thrown by drowned/players)
Thorns enchantment
Pufferfish/guardian thorns
Bee stings
Out of all of these various mob attacks, foxes seems to generally prioritize of defending the player from mobs that shoots arrows. The cause of this issue may have existed after the fix that causes trusted foxes to attack [self-injured|MC-153749] players. There is no confirmation about foxes not defending mobs that does not shoot arrows is an intended behavior. No changes were mentioned in the minecraft.net nor tweets by the developers that foxes only defends arrow-shooting mobs instead of all mobs.
Linked issues
is duplicated by 3
relates to 2
Attachments
Comments 3
I read all the blog posts and nowhere did it say that foxes would no longer defend you. The developers even fixed MC-153749 in 1.13.3 so that foxes wouldn't attack you for attacking yourself, so that you can fight alongside your foxes and they won't attack you if you inflict damage on yourself (eg: splash potion of harming).
This is not a bug.
This has changed from 1.14.3+.
Trusted foxes are just trusting you, they don't have to protect you like Wolf.
Trusted Foxes are like cats.