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

◆ SolidTile() [1/3]

static bool Terraria.WorldGen.SolidTile ( int i,
int j,
bool noDoors = false )
inlinestatic

Definition at line 60666 of file WorldGen.cs.

60667 {
60668 try
60669 {
60670 if (Main.tile[i, j] == null)
60671 {
60672 return true;
60673 }
60674 if (Main.tile[i, j].active() && Main.tileSolid[Main.tile[i, j].type] && !Main.tileSolidTop[Main.tile[i, j].type] && !Main.tile[i, j].halfBrick() && Main.tile[i, j].slope() == 0 && !Main.tile[i, j].inActive())
60675 {
60676 if (noDoors && Main.tile[i, j].type == 10)
60677 {
60678 return false;
60679 }
60680 return true;
60681 }
60682 }
60683 catch
60684 {
60685 }
60686 return false;
60687 }

References Terraria.Main.tile, Terraria.Main.tileSolid, and Terraria.Main.tileSolidTop.