Definition at line 18003 of file WorldGen.cs.
18004 {
18007 {
18008 num = (int)Main.worldSurface;
18009 }
18010 byte b = (byte)
genRand.Next(1, 13);
18012 for (int i = 20; i < Main.maxTilesX - 20; i++)
18013 {
18014 bool flag2 =
false;
18015 for (
int j =
num;
j < Main.maxTilesY - 20;
j++)
18016 {
18017 Tile tile = Main.tile[i,
j];
18018 if (tile.active() && (tile.type == 5 || tile.type == 323 || tile.type == 596 || tile.type == 616))
18019 {
18023 }
18024 }
18026 {
18030 {
18032 }
18033 }
18034 }
18035 }
static bool remixWorldGen
static UnifiedRandom genRand
References Terraria.Tile.active(), Terraria.Tile.color(), Terraria.Main.tile, and Terraria.Main.worldSurface.