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

◆ CanKillTile() [3/3]

static bool Terraria.WorldGen.CanKillTile ( int i,
int j,
SpecialKillTileContext context )
inlinestatic

Definition at line 56427 of file WorldGen.cs.

56428 {
56429 if (context == SpecialKillTileContext.MowingTheGrass)
56430 {
56431 Tile tile = Main.tile[i, j];
56432 if (tile == null)
56433 {
56434 return false;
56435 }
56436 if (tile.type == 2 || tile.type == 109)
56437 {
56438 return true;
56439 }
56440 }
56441 return CanKillTile(i, j);
56442 }
static bool CanKillTile(int i, int j, SpecialKillTileContext context)

References Terraria.Main.tile, and Terraria.Tile.type.

Referenced by Terraria.GameContent.MinecartDiggerHelper.CanGetPastTile(), Terraria.Wiring.DeActive(), Terraria.Mount.DrillSmartCursor_Blocks(), Terraria.Player.ItemCheck_UseMiningTools_ActuallyUseMiningTool(), Terraria.Player.MowGrassTile(), Terraria.Player.PickTile(), Terraria.GameContent.SmartCursorHelper.Step_ForceCursorToAnyMinableThing(), and Terraria.GameContent.SmartCursorHelper.Step_Pickaxe_MineSolids().

+ Here is the caller graph for this function: