|
TModLoader v1.4.4.9
TModLoader source code documentation
|
Allows you to spawn additional items when the tile at the given coordinates drops.
This hook is called once for multi-tiles. Trees or Cactus call this method for every individual tile.
For multi-tiles, the coordinates correspond to the tile that triggered this multi-tile to drop, so if checking P:Terraria.Tile.TileFrameX and P:Terraria.Tile.TileFrameY, be aware that the coordinates won't necessarily be the top left corner or origin of the multi-tile. Also be aware that some parts of the multi-tile might already be mined out when this method is called, so any math to determine tile style should be done on the tile at the coordinates passed in.
Definition at line 61 of file GlobalTile.cs.