tModLoader v2023.01
A mod to make and play Terraria mods
Terraria.WorldBuilding.GenSearch Class Referenceabstract

Inherits Terraria.WorldBuilding.GenBase.

Inherited by Terraria.WorldBuilding.Searches.Down, Terraria.WorldBuilding.Searches.Left, Terraria.WorldBuilding.Searches.Rectangle, Terraria.WorldBuilding.Searches.Right, and Terraria.WorldBuilding.Searches.Up.

Public Member Functions

GenSearch Conditions (params GenCondition[] conditions)
 
abstract Point Find (Point origin)
 
GenSearch RequireAll (bool mode)
 
- Public Member Functions inherited from Terraria.WorldBuilding.GenBase
delegate bool CustomPerUnitAction (int x, int y, params object[] args)
 

Static Public Attributes

static Point NOT_FOUND = new Point(int.MaxValue, int.MaxValue)
 

Protected Member Functions

bool Check (int x, int y)
 

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]