protected boolean onDamageEntity(Entity entity){
  return false;
}

protected boolean onDamageEntity ( Entity entity ) { return false ; }
called by dodamageentity on each entity being damaged . this function should be inherited if something special is to happen to a specific entity .
