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

Used when an entity interacts with a tile.
Used by vanilla when players activate mechanisms like cannons and fireworks More...

Inherits AEntitySource_Tile.

Public Member Functions

 EntitySource_TileInteraction (Entity entity, int tileCoordsX, int tileCoordsY, string? context=null)
 
- Public Member Functions inherited from AEntitySource_Tile
 AEntitySource_Tile (int tileCoordsX, int tileCoordsY, string? context)
 

Properties

Entity Entity [get]
 The entity interacting with the tile.
Normally a Player
 
- Properties inherited from AEntitySource_Tile
string? Context [get]
 Additional context identifier, particularly useful for set bonuses or accessory affects. See ItemSourceID and ProjectileSourceID for vanilla uses More...
 
Point TileCoords [get]
 
- Properties inherited from IEntitySource
string? Context [get]
 Additional context identifier, particularly useful for set bonuses or accessory affects. See ItemSourceID and ProjectileSourceID for vanilla uses More...
 

Detailed Description

Used when an entity interacts with a tile.
Used by vanilla when players activate mechanisms like cannons and fireworks