mojira.dev
MC-265014

Tamed foxes can't attack properly

The bug

Tamed foxes sometimes stop about 1 block away from the target when attempting to attack instead of actually going to them, resulting in the fox not being able to hit the target unless the target moves toward the fox.

This occurs more frequently with baby foxes.

How to reproduce

  1. Summon a zombie

    /summon zombie ~ ~ ~ {Attributes:[{Name:generic.movement_speed,Base:0},{Name:generic.attack_damage,Base:0.1}]}
  2. Summon a tamed fox

    /execute summon fox run data modify entity @s Trusted append from entity @p UUID
  3. Walk into the zombie on Survival mode
    → ✔ The zombie hits you
    → ✔ The fox attacks the zombie
    → ❌ At some point, the fox will stop in front of the zombie and will remain stationary

Attachments

Comments 3

Looks like it only applies to specifically baby foxes, as I was actually able to reproduce it that way. Could the title and description be updated to reflect that?

[media]

@@unknown I was able to reproduce this with adult foxes as well, but to a lesser extent.

Can confirm that with the reproduction steps you provided, thanks for letting me know🙂

Amive Huae

(Unassigned)

Confirmed

Gameplay

Normal

Mob behaviour

1.20.1, 23w33a

Retrieved