tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.WorldBuilding.Modifiers.Blotches Class Reference

Inherits Terraria.WorldBuilding.GenAction.

Public Member Functions

 Blotches (int leftScale, int upScale, int rightScale, int downScale, double chance=0.3)
 
 Blotches (int scale=2, double chance=0.3)
 
 Blotches (int xScale, int yScale, double chance=0.3)
 
override bool Apply (Point origin, int x, int y, params object[] args)
 
- Public Member Functions inherited from Terraria.WorldBuilding.GenAction
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)
 

Additional Inherited Members

- Public Attributes inherited from Terraria.WorldBuilding.GenAction
GenAction NextAction
 
ShapeData OutputData
 
- Protected Member Functions inherited from Terraria.WorldBuilding.GenAction
bool Fail ()
 
bool UnitApply (Point origin, int x, int y, params object[] args)
 
- Properties inherited from Terraria.WorldBuilding.GenBase
static UnifiedRandom _random [get]
 
static ref Tilemap _tiles [get]
 
static int _worldHeight [get]
 
static int _worldWidth [get]
 

Member Function Documentation

◆ Apply()

override bool Terraria.WorldBuilding.Modifiers.Blotches.Apply ( Point  origin,
int  x,
int  y,
params object[]  args 
)
virtual