Terraria World Generation


An experiment by Vecent



on



Occurrence probability


of different structures


Difference between small, medium and large worlds


Small Worlds

World Evil
Side of the Dungeon
Color of the Dungeon

Medium Worlds

World Evil
Side of the Dungeon
Color of the Dungeon

Large Worlds

World Evil
Side of the Dungeon
Color of the Dungeon

Conclusions

As expected, the side and color of the dungeon as well as the number of Crimsons and Corruptions are fairly balanced, even across different world sizes. A bit of fluctuation here and there can be seen, but this is not really worth mentioning.



The maximal and average amount of World Evils is increasing steadily with the world size.

World Evils Small Worlds Medium Worlds Large Worlds
Maximal 2 3 4
Average 1.53 2.5 3.15
Minimal 1 1 1


Each world contains at least one World Evil Biome.



The minimal amount of bee hives is almost being doubled when increasing the world size.

Bee Hives Small Worlds Medium Worlds Large Worlds
Minimal 2 6 10


However, the maximal and average amount of bee hives is roughly the same for small and medium worlds. Only on large worlds a strong increase can be noted.

Bee Hives Small Worlds Medium Worlds Large Worlds
Maximal 8 8 16
Average 6.81 6.9 13.53


As for Floating Islands, nothing really surprising can be seen. The minimal, average and maximal amount is increasing gradually with increasing world sizes, as one would suspect.

Floating Islands Small Worlds Medium Worlds Large Worlds
Maximal 4 8 9
Average 3.41 5.77 7.4
Minimal 2 3 5


Pyramids, on the other hand, seem to promise more interesting data. Of course, the chances of a pyramid occurring is and stays low for all world sizes. What is worth mentioning though is that the maximal number of pyramids per world is the same for both medium and large worlds alike. Although the rate for pyramid-spawning is a tiny bit higher in large worlds than it is in medium ones, I think it is safe to say that there is no real advantage in creating large worlds instead of medium worlds when searching for pyramids.

Pyramids Small Worlds Medium Worlds Large Worlds
Maximal 1 3 3
Average 0.16 0.49 0.50
Minimal 0 0 0


But there is a exception to it: I currently know about two different seeds that let four pyramids spawn in one world! Since this is extremely rare, it is not surprising that this case hasn't occurred during the execution of this experiment.

World Evil World Size Seed
Crimson Large 1727837987
Crimson Large Yrimir

These Seeds were found on Reddit.



With this data we can finally calculate a occurrence probability for pyramids in different world sizes:

Pyramids Small Worlds Medium Worlds Large Worlds
Occurrence probability
(one or more pyramids)
16.00% 42.00% 39.00%


Finally, let's have a look at Living Wood Trees. Surprisingly, the minimal, maximal and average amount of Living Wood Trees is about the same for both small and medium worlds. Only in large worlds a significant increase can be noted. Although it is likely, especially in large worlds, that at least one living wood tree occurs, there is no guarantee that each world has one.

Living Wood Trees Small Worlds Medium Worlds Large Worlds
Maximal 2 2 5
Average 0.99 0.88 2.51
Minimal 0 0 0


As you probably know, not each living wood tree has an underground portion. Only roughly 43% to 47% have one. Interestingly, the percentage is actually decreasing with increasing world sizes. This can be a statistical error, though, since this particular conclusion does not make that much sense.

Living Wood Trees Small Worlds Medium Worlds Large Worlds
Underground portion
(Percent of all Living Wood Trees)
47.47% 45.45% 43.43%


Notes

  • For each world size, 100 worlds were generated to conduct this experiment
  • Floating Lakes were also counted as Floating Islands
  • The Jungle biome is always on the other side as the dungeon (duh)
  • No custom seed was chosen
  • For each world the the difficulty was 'normal' (not that it matters)
  • The term 'World Evil' of course refers to either the Crimson- or the Corruption Biome
  • Each Bee Hive contains a Larva for spawning the Queen Bee
  • The HEROs Mod was used to reveal the map, which saved a lot of time. To make the mod work, tModLoader version 0.10.0.2 was used
  • All worlds were generated in Terraria PC Version 1.3.5
  • If you have any questions regarding this experiment, feel free to hit me up on Twitter


Raw Data