The Mayan pyramid on all 4 sides, a staircase to the topleads and is illuminated inside and also outside.

Include the command (with ctrl + v) in the command block, and activate the block with aRedstone signal. After the machine was completed receives thePlayers spawn an egg in its inventory with this temple can be built.