You gave it egg yolks Well now we know why the snake died why in Gods name did you think it was all right to give the snake egg yolks?
Wrong! Face it you killed your pet!!!
I've actually seen this recommended in veterinary manuals, so your statement is a bit harsh.

I've often force fed liquids or liquids mixed with meat baby foods to a snake that was dehydrated and not able to eat on it's own.

Mark