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

◆ IsBelowANonHammeredPlatform()

static bool Terraria.WorldGen.IsBelowANonHammeredPlatform ( int x,
int y )
inlinestatic

Definition at line 34629 of file WorldGen.cs.

34630 {
34631 if (y < 1)
34632 {
34633 return false;
34634 }
34635 Tile tile = Main.tile[x, y - 1];
34636 if (tile == null || !tile.active() || !TileID.Sets.Platforms[tile.type] || tile.halfBrick() || tile.slope() != 0)
34637 {
34638 return false;
34639 }
34640 return true;
34641 }
static bool[] Platforms
Definition TileID.cs:219

References Terraria.Tile.active(), Terraria.Tile.halfBrick(), Terraria.ID.TileID.Sets.Platforms, Terraria.Tile.slope(), Terraria.Main.tile, and Terraria.Tile.type.

Referenced by Terraria.GameContent.Drawing.TileDrawing.DrawMultiTileVinesInWind().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: