The numbers and figurines are made out of sugar paste.
The sugar paste is edible but generally very hard since it is dried in advance.