Dogs wont stop snarling after someone else than the owner punches it, even if you log off or the puncher logs off and-or goes somewhere else
Related issues
is duplicated by
relates to
Comments


Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Can also ocnfirm this, my minecraft is fully up to date and it's hard to keep wolves. They also seem to still attack when in this aggressive state, even if they are sitting.

Maybe, I found solution for this problem that have plagued us for years.
In SSP, tamed wolves probably do not growl whatever happens.
But, on SMP, when the owner of wolves hurt other players or are attacked from them,
tamed wolves will growl even if they had sat still.
In addition, when the wolves are angly, they can despawn.
For that reason, they was gone suddenly...
step to magic the wolves away:
tame a wolf
sit him
attack another player (at this time, he growls sitting there)
all players, go to a place which is 200m away from him
go back
he disappeared...
I think, the condition that wolf get angry has a mistake.
Perhaps, This code will work well.
EntityWolf.java (MCP v7.44: MC 1.5.1)
public void setAttackTarget(EntityLiving par1EntityLiving)
{
super.setAttackTarget(par1EntityLiving);
// if (par1EntityLiving instanceof EntityPlayer)
if (par1EntityLiving instanceof EntityPlayer && !this.isTamed())
{
this.setAngry(true);
}
}

Confirmed in 1.5.1 . If a tamed wolf is "angry with"/"attacking" another player, the tamed wolf will remain angry indefinitely. That is even if players log off and back in, or die from the attacking dog. If angry dog is sitting and all players leave the area (area the size of mob spawning radius), the dog/dogs will de-spawn. I'm guessing since they are angry/attacking, they are considered a hostile mob and are de-spawning as such. It is very difficult to keep tamed wolves for this reason.

Confirmed in 13w18c.
My dog won't stop growling! 😞

This still seems to be a bug in 1.5.2

Still having this in 1.5.2 SMP.

Not fixed at all. Playing 1.6.1, dogs have been tamed forever, I never hit them and there's no other players to do so. They don't despawn, they're just sitting there growling constantly.
I can confirm this. Even after they were not aggressive towards me anymore, they kept growling.