Scrape coconut milk and coconut cream into pan and warm.
Grind spices together. You can adjust these spices to suit your tastes, but cinnamon and star anise help the mind perceive a sweet flavor without any carbs, so if you are making the carb-free version, try to use them.
Add spices to heating coconut cream.
(If using sweeteners other than stevia, add them here.)
Beat egg yolks briefly, and temper with hot coconut cream.
Stirring constantly over a low heat, cook custard until a spoon dipped in it is thickly coated, and a line drawn in the coating holds its shape for a moment.
Cool custard and stir in flavorings.