The Basilisk will "attack" the egg when it is nearby one of them and eat it, gaining taming progress.