tModLoader v2024.05
A mod to make and play Terraria mods
GenPass Class Referenceabstract

Inherits GenBase.

Inherited by JunglePass, PassLegacy, Passes.Clear, Passes.ScatterCustom, and TerrainPass.

Public Member Functions

 GenPass (string name, double loadWeight)
void Apply (GenerationProgress progress, GameConfiguration configuration)
void Disable ()
- Public Member Functions inherited from GenBase
delegate bool CustomPerUnitAction (int x, int y, params object[] args)

Public Attributes

string Name
double Weight

Protected Member Functions

abstract void ApplyPass (GenerationProgress progress, GameConfiguration configuration)


bool Enabled = true [get]
- Properties inherited from GenBase
static UnifiedRandom _random [get]
static ref Tilemap _tiles [get]
static int _worldHeight [get]
static int _worldWidth [get]