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

Inherits GenBase.

Inherited by ActionGrass, ActionPlaceStatue, ActionStalagtite, ActionVines, Actions.Blank, Actions.Clear, Actions.ClearMetadata, Actions.ClearTile, Actions.ClearWall, Actions.ContinueWrapper, Actions.Count, Actions.Custom, Actions.DebugDraw, Actions.HalfBlock, Actions.PlaceTile, Actions.PlaceWall, Actions.RemoveWall, Actions.Scanner, Actions.SetFrames, Actions.SetHalfTile, Actions.SetLiquid, Actions.SetSlope, Actions.SetTile, Actions.SetTileAndWallRainbowPaint, Actions.SetTileKeepWall, Actions.Smooth, Actions.SwapSolidTile, Actions.TileScanner, Modifiers.Blotches, Modifiers.Conditions, Modifiers.Dither, Modifiers.Expand, Modifiers.Flip, Modifiers.HasLiquid, Modifiers.InShape, Modifiers.IsEmpty, Modifiers.IsNotSolid, Modifiers.IsSolid, Modifiers.IsTouching, Modifiers.IsTouchingAir, Modifiers.NotInShape, Modifiers.NotTouching, Modifiers.Offset, Modifiers.OnlyTiles, Modifiers.OnlyWalls, Modifiers.RadialDither, Modifiers.RectangleMask, Modifiers.ShapeScale, Modifiers.SkipTiles, and 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 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 GenBase
static UnifiedRandom _random [get]
 
static ref Tilemap _tiles [get]
 
static int _worldHeight [get]
 
static int _worldWidth [get]