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

◆ IsATreeTrunk

bool [] Terraria.ID.TileID.Sets.IsATreeTrunk = Factory.CreateBoolSet(false, 5, 72, 583, 584, 585, 586, 587, 588, 589, 596, 616, 634)
static

If true for a given tile type (P:Terraria.Tile.TileType), then that tile is categorized as a tree trunk.
Tree trunks are a type of tile anchor (F:Terraria.Enums.AnchorType.Tree), targettable by axes, and are replanted when using the F:Terraria.ID.ItemID.AcornAxe.
Defaults to false.

Definition at line 114 of file TileID.cs.

Referenced by Terraria.Projectile.AI_007_GrapplingHooks_CanTileBeLatchedOnTo(), Terraria.Lang.BuildMapAtlas(), Terraria.WorldGen.CanKillTile(), Terraria.TileObject.CanPlace(), Terraria.WorldGen.CheckTileBreakability(), Terraria.NPC.FindTreeBranch(), Terraria.WorldGen.GetTreeBottom(), Terraria.Player.IsBottomOfTreeTrunkNoRoots(), Terraria.WorldGen.IsTileReplacable(), Terraria.WorldGen.IsTreeType(), Terraria.Player.ItemCheck_UseMiningTools_ActuallyUseMiningTool(), and Terraria.GameContent.SmartCursorHelper.Step_Axe().