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.
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)