tModLoader v2024.09
A mod to make and play Terraria mods
FlexibleTileWand Class Reference

Classes

class  PlacementOption
 

Public Member Functions

void AddVariation (int itemType, int tileIdToPlace, int tileStyleToPlace)
 
void AddVariations (int itemType, int tileIdToPlace, params int[] stylesToPlace)
 
void AddVariations_ByRow (int itemType, int tileIdToPlace, int variationsPerRow, params int[] rows)
 
bool TryGetPlacementOption (Player player, int randomSeed, int selectCycleOffset, out PlacementOption option, out Item itemToConsume)
 

Static Public Member Functions

static FlexibleTileWand CreateRubblePlacerLarge ()
 
static FlexibleTileWand CreateRubblePlacerMedium ()
 
static FlexibleTileWand CreateRubblePlacerSmall ()
 
static void ForModders_AddPotsToWand (FlexibleTileWand wand, ref int echoPileStyle, ref ushort tileType)
 
static void Reload ()
 

Static Public Attributes

static FlexibleTileWand RubblePlacementLarge = CreateRubblePlacerLarge()
 Used by the Rubblemaker item to place fake versions of 3x2 rubble tiles. Technically it can place any size rubble.
 
static FlexibleTileWand RubblePlacementMedium = CreateRubblePlacerMedium()
 Used by the Rubblemaker item to place fake versions of 2x1 rubble tiles. Technically it can place any size rubble.
 
static FlexibleTileWand RubblePlacementSmall = CreateRubblePlacerSmall()
 Used by the Rubblemaker item to place fake versions of 1x1 rubble tiles. Technically it can place any size rubble.