Wardens can target experience orbs when the orbs bump into the warden or move too much.
Steps to reproduce:
Spawn a warden
Have it interact with an experience orb by touching it(any source of orbs seems to work) (due to desync, this may be difficult)
Expected Results:
Warden ignores the orbs
Actual results:
Warden attempts to attack the orbs, looking silly while at it.
Notes:
Due to the orbs between the client and server being desynced, the warden appears to be chasing nothing, but the chime of collecting experience and the warden suddenly stopping shows that it was the orb the warden was targeting.
Linked issues
is duplicated by 5
Attachments
Comments 2
Unexpectedly to me, the warden does not use "minecraft:behavior.target_when_pushed"
for this like the iron golem, but instead it appears to have been given a hard-coded behavior. The data-driven behavior can be parameterized with filters, so it could filter for "mob",
{ "test" : "is_family", "subject" : "other", "value" : "mob" },
which would also exclude things like projectiles, paintings, and lit tnt.
Wardens can also target thrown tridents as well.
[media]