TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ KillTile()

virtual void Terraria.ModLoader.GlobalTile.KillTile ( int i,
int j,
int type,
ref bool fail,
ref bool effectOnly,
ref bool noItem )
inlinevirtual

Allows you to determine what happens when the tile at the given coordinates is killed or hit with a pickaxe. If fail is true, the tile will not be mined; effectOnly makes it so that only dust is created; noItem stops items from dropping.

Parameters
iThe x position in tile coordinates.
jThe y position in tile coordinates.
typeThe tile type
failIf true, the tile won't be mined
effectOnlyIf true, only the dust visuals will happen
noItemIf true, the corresponding item won't drop

Definition at line 87 of file GlobalTile.cs.

88 {
89 }