The unglazed clay pots are part of the recipe: their porous walls let whey seep out, which is why the curd sets thick enough to hold its shape when the pot is tipped.
Juju Dhau — literally 'king of curd' — is a rich, faintly caramelized yogurt made from buffalo milk and set in wide clay pots, which season the yogurt and draw off extra moisture as it firms up. It's sold by the potful from sweet shops around Bhaktapur's Durbar Square and carried out to nearby valley towns.