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

Inherits Terraria.WorldBuilding.GenBase.

Inherited by Terraria.GameContent.Generation.ActionGrass, Terraria.GameContent.Generation.ActionPlaceStatue, Terraria.GameContent.Generation.ActionStalagtite, Terraria.GameContent.Generation.ActionVines, Terraria.WorldBuilding.Actions.Blank, Terraria.WorldBuilding.Actions.Clear, Terraria.WorldBuilding.Actions.ClearMetadata, Terraria.WorldBuilding.Actions.ClearTile, Terraria.WorldBuilding.Actions.ClearWall, Terraria.WorldBuilding.Actions.ContinueWrapper, Terraria.WorldBuilding.Actions.Count, Terraria.WorldBuilding.Actions.Custom, Terraria.WorldBuilding.Actions.DebugDraw, Terraria.WorldBuilding.Actions.HalfBlock, Terraria.WorldBuilding.Actions.PlaceTile, Terraria.WorldBuilding.Actions.PlaceWall, Terraria.WorldBuilding.Actions.RemoveWall, Terraria.WorldBuilding.Actions.Scanner, Terraria.WorldBuilding.Actions.SetFrames, Terraria.WorldBuilding.Actions.SetHalfTile, Terraria.WorldBuilding.Actions.SetLiquid, Terraria.WorldBuilding.Actions.SetSlope, Terraria.WorldBuilding.Actions.SetTile, Terraria.WorldBuilding.Actions.SetTileAndWallRainbowPaint, Terraria.WorldBuilding.Actions.SetTileKeepWall, Terraria.WorldBuilding.Actions.Smooth, Terraria.WorldBuilding.Actions.SwapSolidTile, Terraria.WorldBuilding.Actions.TileScanner, Terraria.WorldBuilding.Modifiers.Blotches, Terraria.WorldBuilding.Modifiers.Conditions, Terraria.WorldBuilding.Modifiers.Dither, Terraria.WorldBuilding.Modifiers.Expand, Terraria.WorldBuilding.Modifiers.Flip, Terraria.WorldBuilding.Modifiers.HasLiquid, Terraria.WorldBuilding.Modifiers.InShape, Terraria.WorldBuilding.Modifiers.IsEmpty, Terraria.WorldBuilding.Modifiers.IsNotSolid, Terraria.WorldBuilding.Modifiers.IsSolid, Terraria.WorldBuilding.Modifiers.IsTouching, Terraria.WorldBuilding.Modifiers.IsTouchingAir, Terraria.WorldBuilding.Modifiers.NotInShape, Terraria.WorldBuilding.Modifiers.NotTouching, Terraria.WorldBuilding.Modifiers.Offset, Terraria.WorldBuilding.Modifiers.OnlyTiles, Terraria.WorldBuilding.Modifiers.OnlyWalls, Terraria.WorldBuilding.Modifiers.RadialDither, Terraria.WorldBuilding.Modifiers.RectangleMask, Terraria.WorldBuilding.Modifiers.ShapeScale, Terraria.WorldBuilding.Modifiers.SkipTiles, and Terraria.WorldBuilding.Modifiers.SkipWalls.

Public Member Functions

abstract bool Apply (Point origin, int x, int y, params object[] args)
 
GenAction IgnoreFailures ()
 
GenAction Output (ShapeData data)
 
- Public Member Functions inherited from Terraria.WorldBuilding.GenBase
delegate bool CustomPerUnitAction (int x, int y, params object[] args)
 

Public Attributes

GenAction NextAction
 
ShapeData OutputData
 

Protected Member Functions

bool Fail ()
 
bool UnitApply (Point origin, int x, int y, params object[] args)
 

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]