How to reproduce:
Summon a wolf and tame it.
Summon any mob, make sure the wolf is not sitting, and then hit the mob to make the wolf attack it.
Reload the world.
The wolf will stop attacking the mob.
Linked issues
Attachments
Comments 3
I just played this in a multiplayer game, and I got the following result: when I hit the Warden, my wolf notices it and starts attacking him, and when I log off the server, the wolf automatically sits down and stops attacking the Warden. This behavior needed to be considered in more detail, so I used a second account, because without it I would not have been able to see what the wolf would do when he attacks the Warden and during this I log out of the server. As it is, I have fully studied and understood this behavior - when I am online, the wolf will attack the Warden until either the wolf kills him or I imprison him. If I log out of the server while the wolf is attacking the Warden, the wolf just automatically sits down and stops attacking the Warden. Well, in principle, this is logical, because if I am the owner of this wolf and I beat the Warden and he attacks him, and then the owner of this wolf, i.e. I log off the server, the wolf no longer performs any actions, because his master is not online, and without him the wolf cannot do everything that He wants to.
Thank you for helping us improve Minecraft! We saved your files: