World generation

From Terraria Wiki
Jump to navigation Jump to search
Stub.png This article is a stub. You can help the Terraria Wiki by expanding it.

The generation of a new random world follows the process outlined on this page.[1] While it is ongoing, various texts appear over the loading bar, showing what is being generated in the world. In Not the bees(Desktop, Console and Mobile versions) worlds, all texts are replaced with "Generating bees".

Generation process

Generation pass[a] Text Notes
Reset n/a Initializes the world generator at the start of the generation of each world.
Terrain Generating world terrain
Dunes Adding sand
Ocean Sand Generating ocean sand
Sand Patches n/a
Tunnels n/a
Mount Caves Generating hills
Dirt Wall Backgrounds Putting dirt behind dirt
Rocks In Dirt Placing rocks in the dirt
Dirt In Rocks Placing dirt in the rocks
Clay Adding clay
Small Holes Making random holes
Dirt Layer Caves Generating small caves
Rock Layer Caves Generating large caves
Surface Caves Generating surface caves
Wavy Caves Generating wavy caves Only in The Constant(Desktop, Console and Mobile versions) seed.
Generate Ice Biome Adding snow
Grass n/a
Jungle Generating jungle
Mud Caves To Grass Adding more grass
Full Desert Desertification
Floating Islands Generating floating islands
Mushroom Patches Adding mushroom patches
Marble Chiseling marble
Granite Growing granite
Dirt To Mud Placing mud in the dirt
Silt Adding silt
Shinies Adding shinies
Webs Adding webs
Underworld Creating underworld
Corruption Making the world evil[b]
Making the world bloody[c]
Lakes Adding water bodies
Dungeon n/a
Slush n/a
Mountain Caves Generating mountain caves
Beaches Creating beaches
Gems Adding gems
Gravitating Sand Gravitating sand
Create Ocean Caves Forming the depths
Shimmer n/a
Clean Up Dirt Cleaning up dirt backgrounds
Pyramids n/a See Pyramid § Generation for details.
Dirt Rock Wall Runner n/a
Living Trees n/a See Living Tree § Generation for details.
Wood Tree Walls n/a
Altars Placing altars
Wet Jungle n/a
Jungle Temple Creating jungle ruins
Hives Creating hornet nests
Jungle Chests n/a
Settle Liquids Settling liquids
Remove Water From Sand n/a
Oasis n/a
Shell Piles n/a
Smooth World Smoothing the world
Waterfalls Creating waterfalls
Ice n/a
Wall Variety Weathering caverns
Life Crystals Placing life crystals
Statues Placing statues
Buried Chests Hiding treasure
Surface Chests Hiding more treasure
Jungle Chests Placement Hiding jungle treasure
Water Chests Hiding water treasure
Spider Caves Growing spider caves
Gem Caves Growing spider caves
Moss Mossification
Temple n/a
Cave Walls Making cave walls
Jungle Trees Growing rich mahogany
Floating Island Houses n/a
Quick Cleanup n/a
Pots Placing breakables
Hellforge Placing hellforges
Spreading Grass Spreading grass
Surface Ore and Stone n/a
Place Fallen Log Felling trees
Traps Placing traps Replaced by "Not placing traps" in No traps(Desktop, Console and Mobile versions) worlds.
Piles Placing objects
Spawn Point n/a
Grass Wall n/a
Guide n/a
Sunflowers Planting sunflowers
Planting Trees Planting trees
Herbs Planting herbs
Dye Plants n/a
Webs And Honey n/a
Weeds Planting weeds
Glowing Mushrooms and Jungle Plants n/a
Jungle Plants n/a
Vines Growing vines
Flowers Planting flowers
Mushrooms Planting mushrooms
Gems In Ice Biome n/a
Random Gems n/a
Moss Grass n/a
Muds Walls In Jungle n/a
Larva n/a
Settle Liquids Again Settling liquids
Cactus, Palm Trees, & Coral Growing cacti
Tile Cleanup Clean up
Lihzahrd Altars n/a
Micro Biomes Generating structures
Water Plants Growing water plants
Stalac n/a
Remove Broken Traps Disarming broken traps
Final Cleanup Final clean up
Finalizing world

History

References

  1. Information taken from the Desktop version Desktop 1.4.4.9 source code, method GenerateWorld() in Terraria.WorldGen.cs.
  1. Each "generation pass" handles a specific portion of the world's structures during the world generation process. The names shown here are the internal identifiers for the generation passes. Most generation passes will display a respective text to show what is being generated. Those processed without a text are marked with n/a.
  2. In worlds with Corruption.
  3. In worlds with Crimson.