For the Heaven Testing Pagoda, Xiang Yu used his understanding of space and immortal-level blacksmithing to modify its interior.
Inside, Xiang Yu created something similar to a dungeon one would find in a video game from his previous life.
At the highest floor of the dungeon, Xiang Yu used his dark element to create something similar to the demon flower. After gaining immortal-grade blacksmithing and having seen the flower up close, he understood how the primary function of summoning mobs worked.
He created this and linked it to the spirit vein.
The spirit vein would power the entire treasure as well as this demon flower.
The demon flower would gather essence and endlessly spawn monsters throughout the dungeon. The spawning of mobs would be controlled to ensure low-level mobs spawned at the lower floors and increased in rank as one climbed up the tower.
Xiang Yu then produced a soul partition.