mojira.dev
MC-185178

Trusted foxes attack chickens/rabbits after rejoining the world

Foxes which trust a player will attack chickens and rabbits when the player leaves and rejoins the world.

Steps to Reproduce:

  1. Spawn two foxes

  2. Breed them

  3. Run this command:

    /data modify entity @n[type=fox] Age set value 0
  4. Spawn chickens/rabbits around the fox
    → ✔ The fox will not attack the chickens/rabbits

  5. Leave and rejoin the world
    → ❌ The fox now attacks the chickens/rabbits

Attachments

Comments 4

Can confirm, and doesn't seem WAI

Right, sorry, I mistook trusted fox behaviors.

Can confirm in 1.17.1. You don't even need to reload the world, they will attack right away.

im pretty sure there's a difference between trusted and tamed though.

you can't tame a fox, but you can get a fox to trust you.

Nyr

(Unassigned)

Confirmed

Mob behaviour

fox, trust

1.15.2, 20w21a, 1.17.1, 1.21

Retrieved