Patch size is typically kept to a minimum and half of this method is redundant: entityToAttack can be set to null by the public EntityCreature#setTarget(Entity par1Entity).
For angerLevel it is probably easier to just make it public. But then I think the appropriate way for that is through an access transformer. (possibly in forge via forge_at.cfg? Outside my knowledge base so take with a grain of salt.)