Definition at line 76299 of file WorldGen.cs.
76300 {
76305 _ = Main.tile[
i,
j];
76306 Tile tile = Main.tile[
i,
j - 1];
76314 int num = -1;
76322 if (tile != null && tile.nactive() && !tile.bottomSlope())
76323 {
76325 }
76327 {
76329 }
76331 {
76333 }
76335 {
76337 }
76339 {
76341 }
76343 {
76345 }
76347 {
76349 }
76351 {
76353 }
76354 if (num >= 0 && Main.tileSolid[num] && (!Main.tileNoAttach[num] ||
TileID.
Sets.
Platforms[num]) && (
tile2.bottomSlope() ||
tile2.slope() == 0) && !
tile2.halfBrick())
76355 {
76357 }
76358 if (
num2 >= 0 && Main.tileSolid[
num2] && (!Main.tileNoAttach[
num2] || (
TileID.
Sets.
Platforms[
num2] && tile.halfBrick())) && (tile.topSlope() || tile.slope() == 0 || tile.halfBrick()))
76359 {
76361 }
76363 {
76365 }
76367 {
76369 }
76370 }
static bool IsTreeType(int tree)
References Terraria.Tile.bottomSlope(), Terraria.Tile.halfBrick(), Terraria.ID.TileID.Sets.IsBeam, Terraria.Tile.nactive(), Terraria.ID.TileID.Sets.Platforms, Terraria.Tile.slope(), Terraria.Main.tile, Terraria.Main.tileNoAttach, Terraria.Main.tileSolid, Terraria.Tile.topSlope(), and Terraria.Tile.type.