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

◆ TreeDust()

static void Terraria.ModLoader.TileLoader.TreeDust ( Tile tile,
ref int dust )
inlinestatic

Definition at line 1201 of file TileLoader.cs.

1202 {
1203 if (tile.active())
1204 {
1205 ModTree tree = PlantLoader.Get<ModTree>(5, tile.type);
1206 if (tree != null)
1207 {
1208 dust = tree.CreateDust();
1209 }
1210 }
1211 }

References Terraria.Tile.active(), and Terraria.Tile.type.

Referenced by Terraria.WorldGen.KillTile_MakeTileDust().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: