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

◆ VanityTreeGroundTest()

static bool Terraria.WorldGen.VanityTreeGroundTest ( int tileType)
inlinestatic

Definition at line 22144 of file WorldGen.cs.

22145 {
22146 if (tileType < 0)
22147 {
22148 return false;
22149 }
22150 if (TileID.Sets.Conversion.Grass[tileType])
22151 {
22152 return true;
22153 }
22154 return false;
22155 }

References Terraria.ID.TileID.Sets.Conversion.Grass.