Stir pudding mix, sugar, ¼ cup of the water, and beaten egg yolks in a medium saucepan.
Stir in remaining 2 cups of water.
Bring to boil on medium heat, stirring constantly.
Once boiling, turn off heat.
Distribute evenly among the six ½ pint glass mason jars.