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

◆ SolidTile2() [2/2]

static bool Terraria.WorldGen.SolidTile2 ( Tile testTile)
inlinestatic

Definition at line 64370 of file WorldGen.cs.

64371 {
64372 try
64373 {
64374 if (testTile == null)
64375 {
64376 return true;
64377 }
64378 if (testTile.active() && Main.tileSolid[testTile.type] && testTile.slope() == 0 && !testTile.halfBrick() && !testTile.inActive())
64379 {
64380 return true;
64381 }
64382 }
64383 catch
64384 {
64385 }
64386 return false;
64387 }

References Terraria.Main.tileSolid.

Referenced by Terraria.NPC.AI_006_Worms(), Terraria.Player.FindSentryRestingSpot(), Terraria.Player.FindSharpTearsSpot(), Terraria.Player.ItemCheck_Shoot(), Terraria.WorldGen.PlaceStatueTrap(), Terraria.GameContent.SmartCursorHelper.Step_Acorns(), Terraria.GameContent.SmartCursorHelper.Step_GemCorns(), and Terraria.NPC.VanillaAI_Inner().

+ Here is the caller graph for this function: