|
tModLoader v2025.09
A mod to make and play Terraria mods
|
Static Public Member Functions | |
| static bool | CanPlace (int x, int y, int type, int style, int dir, out TileObject objectData, bool onlyCheck=false, int? forcedRandom=null, bool checkStay=false) |
| static void | DrawPreview (SpriteBatch sb, TileObjectPreviewData op, Vector2 position) |
| static bool | Place (TileObject toBePlaced) |
Public Attributes | |
| int | alternate |
| Note: The index of the alternate within the TileObjectData.Alternates, not the alternate placement style offset (TileObjectData.Style). This counts from 1, a value of 0 means it is not an alternate. | |
| int | random |
| int | style |
| int | type |
| int | xCoord |
| int | yCoord |
Static Public Attributes | |
| static TileObject | Empty = default(TileObject) |
| static TileObjectPreviewData | objectPreview = new TileObjectPreviewData() |