renamed EntityAIGoal to MyPetAIGoal
removed unnecessary comments and added some @Override
inverted the usage of shouldFinish()