tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.WorldBuilding.GenPass Class Referenceabstract

Inherits Terraria.WorldBuilding.GenBase.

Inherited by Terraria.GameContent.Biomes.JunglePass, Terraria.GameContent.Biomes.TerrainPass, Terraria.GameContent.Generation.PassLegacy, Terraria.WorldBuilding.Passes.Clear, and Terraria.WorldBuilding.Passes.ScatterCustom.

Public Member Functions

 GenPass (string name, float loadWeight)
void Apply (GenerationProgress progress, GameConfiguration configuration)
GenPass OnBegin (Action< GenPass > beginAction)
GenPass OnComplete (Action< GenPass > completionAction)
- Public Member Functions inherited from Terraria.WorldBuilding.GenBase
delegate bool CustomPerUnitAction (int x, int y, params object[] args)

Public Attributes

string Name
float Weight

Protected Member Functions

abstract void ApplyPass (GenerationProgress progress, GameConfiguration configuration)

Additional Inherited Members

- Properties inherited from Terraria.WorldBuilding.GenBase
static UnifiedRandom _random [get]
static ref Tilemap _tiles [get]
static int _worldHeight [get]
static int _worldWidth [get]