|
TModLoader v1.4.4.9
TModLoader source code documentation
|
Collaboration diagram for Terraria.ID.TileID.Sets:Classes | |
| class | Conversion |
| class | ForAdvancedCollision |
| class | RoomNeeds |
| class | TileCutIgnore |
Static Public Member Functions | |
| static void | AddCrimsonTile (ushort type, int strength=1) |
| Functions to simplify modders adding a tile to the crimson, corruption, or jungle regardless of a remix world or not. Can still add manually as needed. | |
| static void | AddCorruptionTile (ushort type, int strength=1) |
| static void | AddJungleTile (ushort type, int strength=1) |
Static Public Attributes | |
| static SetFactory | Factory = new SetFactory(TileLoader.TileCount) |
| static bool[] | IceSkateSlippery = Factory.CreateBoolSet(161, 162, 127, 163, 164, 200, 659) |
If true for a given tile type (P:Terraria.Tile.TileType), then players will slip on that tile. If players have Ice Skates (F:Terraria.Player.iceSkate) equipped, however, they will be much faster on this tile. Defaults to false. | |
| static bool[] | DontDrawTileSliced = Factory.CreateBoolSet(false, 137, 235, 388, 476, 160, 138, 664, 665, 630, 631) |
| Set to true to prevent this tile from drawing with more detailed lighting, if the user is using a detailed lighting mode. If true, a single lighting value will be used to draw this tile instead of drawing the tile in 9 sections with different interpolated lighting values. F:Terraria.ID.TileID.Traps and F:Terraria.ID.TileID.Boulder are examples of tiles that use this. This is only relevant for tiles set as F:Terraria.Main.tileSolid. | |
| static bool[] | AllowsSaveCompressionBatching = Factory.CreateBoolSet(true, 520, 423) |
If true for a given tile type (P:Terraria.Tile.TileType), then that tile can be compressed when syncing or saving the world. Defaults to true. | |
| static bool[] | CountsAsGemTree = Factory.CreateBoolSet(false, 583, 584, 585, 586, 587, 588, 589) |
If true for a given tile type (P:Terraria.Tile.TileType), then that tile is categorized as a Gem Tree. Vanilla only uses this for displaying a special message when using Lucy the Axe. Defaults to false. | |
| static bool[] | IsATreeTrunk = Factory.CreateBoolSet(false, 5, 72, 583, 584, 585, 586, 587, 588, 589, 596, 616, 634) |
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. | |
| static bool[] | IsShakeable = Factory.CreateBoolSet(false, 5, 72, 323, 583, 584, 585, 586, 587, 588, 589, 596, 616, 634) |
If true for a given tile type (P:Terraria.Tile.TileType), then that tile can be shaken on hit. This set only applies to trees.. Defaults to false. | |
| static bool[] | GetsDestroyedForMeteors = Factory.CreateBoolSet(false, 5, 32, 352, 583, 584, 585, 586, 587, 588, 589, 596, 616, 634) |
| static bool[] | GetsCheckedForLeaves = Factory.CreateBoolSet(false, 5, 323, 72, 583, 584, 585, 586, 587, 588, 589, 596, 616, 634) |
| static bool[] | PreventsTileRemovalIfOnTopOfIt = Factory.CreateBoolSet(false, 5, 323, 72, 488, 26, 583, 584, 585, 586, 587, 588, 589, 596, 616, 470, 475, 634) |
| Prevents a tile immediately below a tile of this type from being mineable. Use M:Terraria.ModLoader.ModTile.KillTile(System.Int32,System.Int32,System.Boolean@,System.Boolean@,System.Boolean@) or M:Terraria.ModLoader.GlobalTile.KillTile(System.Int32,System.Int32,System.Int32,System.Boolean@,System.Boolean@,System.Boolean@) to dynamically prevent tile removal for situations with more complex logic. Note that block swap will still work. To affect tile replace behavior in a similar manner, see F:Terraria.ID.TileID.Sets.PreventsTileReplaceIfOnTopOfIt Used mostly by demon altar, trees, and item display tiles (Mannequin, Hat Rack). | |
| static bool[] | PreventsTileReplaceIfOnTopOfIt = Factory.CreateBoolSet(false, 5, 323, 72, 583, 584, 585, 586, 587, 588, 589, 596, 616, 634) |
| Prevents a tile immediately below a tile of this type from being replaceable via the block swap feature. Use M:Terraria.ModLoader.ModTile.CanReplace(System.Int32,System.Int32,System.Int32) or M:Terraria.ModLoader.GlobalTile.CanReplace(System.Int32,System.Int32,System.Int32,System.Int32) to dynamically prevent tile replacement for situations with more complex logic. To affect tile mining behavior in a similar manner, see F:Terraria.ID.TileID.Sets.PreventsTileRemovalIfOnTopOfIt Used mostly by trees tiles. | |
| static bool[] | CommonSapling = Factory.CreateBoolSet(false, 20, 590, 595, 615) |
| static bool[] | AllBlocksWithSmoothBordersToResolveHalfBlockIssue = Factory.CreateBoolSet(false, 321, 157, 208, 159, 190, 80, 251, 202, 229, 56, 38, 39, 152, 118, 151, 148, 206, 119, 175, 46, 176, 45, 140, 347, 370, 121, 122, 680, 681, 682, 685, 686, 346, 687, 688, 689, 690, 691, 692, 160, 226, 54, 156, 155, 153, 154, 150, 250, 198, 273, 274, 325, 284, 348, 385, 327, 326, 345, 328, 329, 357, 369, 268, 261, 262, 255, 267, 260, 265, 258, 266, 259, 264, 257, 263, 256, 311, 431, 426, 433, 430, 434, 432, 272, 145, 146, 350, 127, 472, 473, 477, 478, 479, 492, 496, 507, 508, 563, 618) |
If true for a given tile type (P:Terraria.Tile.TileType), then that tile has smooth borders and is drawn differently when hammered to be a half-block. Defaults to false. | |
| static bool[] | CanBeDugByShovel = Factory.CreateBoolSet(false, 0, 668, 59, 57, 123, 224, 147, 2, 109, 23, 661, 199, 662, 60, 70, 477, 492, 53, 116, 112, 234, 40, 495, 633) |
If true for a given tile type (P:Terraria.Tile.TileType), then that tile can be mined using a shovel. Defaults to false. | |
| static bool[] | NonSolidSaveSlopes = Factory.CreateBoolSet(false, 131, 351) |
| static bool[] | ResetsHalfBrickPlacementAttempt = Factory.CreateBoolSet(true, 2, 23, 661, 60, 70, 199, 662, 109, 477, 492, 179, 512, 180, 513, 181, 514, 182, 515, 183, 516, 381, 517, 534, 535, 536, 537, 539, 540, 625, 626, 627, 628, 633) |
| static bool[] | CrackedBricks = Factory.CreateBoolSet(481, 482, 483) |
| static bool[] | ForcedDirtMerging = Factory.CreateBoolSet(75, 76, 508, 507, 226, 409, 669, 670, 671, 672, 673, 674, 675, 676, 683, 684, 273, 274, 459, 458, 326, 327, 345, 328, 329, 192, 384, 284, 325, 272, 268, 262, 267, 265, 266, 264, 263, 261, 255, 260, 258, 259, 257, 256, 54, 357) |
| static bool[] | Paintings = Factory.CreateBoolSet(245, 246, 240, 241, 242) |
| static bool[] | isDesertBiomeSand = Factory.CreateBoolSet(53, 397, 396, 400, 403, 401) |
| static bool[] | MergesWithClouds = Factory.CreateBoolSet(196, 460) |
| static bool[] | Boulders = Factory.CreateBoolSet(138, 484, 664, 665) |
| static bool[] | Clouds = Factory.CreateBoolSet(189, 196, 460) |
| static int[] | CritterCageLidStyle = Factory.CreateIntSet(-1, 275, 0, 276, 0, 277, 0, 278, 0, 279, 0, 280, 0, 281, 0, 558, 0, 554, 0, 553, 0, 551, 0, 550, 0, 542, 0, 413, 0, 309, 0, 297, 0, 296, 0, 645, 0, 643, 0, 644, 0, 632, 0, 640, 0, 559, 1, 414, 1, 359, 1, 358, 1, 605, 2, 604, 2, 603, 2, 602, 2, 601, 2, 599, 2, 600, 2, 612, 2, 611, 2, 610, 2, 609, 2, 608, 2, 606, 2, 607, 2, 285, 3, 286, 3, 582, 3, 555, 3, 538, 3, 533, 3, 532, 3, 394, 3, 393, 3, 392, 3, 391, 3, 339, 3, 310, 3, 299, 3, 298, 3, 629, 3, 619, 3, 556, 4, 544, 4, 364, 4, 363, 4, 362, 4, 361, 4) |
| static int[] | SmartCursorPickaxePriorityOverride = Factory.CreateIntSet(0, 12, 1, 665, 1, 639, 1) |
| static bool[] | IgnoreSmartCursorPriorityAxe = Factory.CreateBoolSet(false, 488) |
| static bool[] | CanBeSatOnForNPCs = Factory.CreateBoolSet(false, 15, 497) |
| static bool[] | CanBeSatOnForPlayers = Factory.CreateBoolSet(false, 15, 497, 89, 102, 487) |
| static bool[] | CanBeSleptIn = Factory.CreateBoolSet(false, 79) |
| static bool[] | IgnoresTileReplacementDropCheckWhenBeingPlaced = Factory.CreateBoolSet(false, 158, 30) |
| static ? bool[] | DrawTileInSolidLayer |
| static bool[] | DoesntPlaceWithTileReplacement = Factory.CreateBoolSet(2, 60, 70, 109, 199, 23, 661, 662, 633) |
| Indicates that this tile can't replace another tile via the block swap feature. Use M:Terraria.ModLoader.ModTile.CanReplace(System.Int32,System.Int32,System.Int32) or M:Terraria.ModLoader.GlobalTile.CanReplace(System.Int32,System.Int32,System.Int32,System.Int32) to dynamically prevent tile replacement for situations with more complex logic. | |
| static bool[] | DoesntGetReplacedWithTileReplacement = Factory.CreateBoolSet(58, 225, 171, 127, 481, 482, 483, 423) |
| Indicates that this tile can't be replaced with another tile via the block swap feature. Use M:Terraria.ModLoader.ModTile.CanReplace(System.Int32,System.Int32,System.Int32) or M:Terraria.ModLoader.GlobalTile.CanReplace(System.Int32,System.Int32,System.Int32,System.Int32) to dynamically prevent tile replacement for situations with more complex logic. | |
| static bool[] | IsVine = Factory.CreateBoolSet(52, 382, 62, 115, 205, 528, 636, 638) |
| static bool[] | IsBeam = Factory.CreateBoolSet(124, 561, 574, 575, 576, 577, 578) |
| static bool[] | Platforms = Factory.CreateBoolSet(19, 427, 435, 436, 437, 438, 439) |
| static bool[] | ReplaceTileBreakUp = Factory.CreateBoolSet(27, 20, 227, 24, 201, 110, 113, 61, 74, 71, 3, 73, 186, 187, 185, 233, 530, 236, 238, 254, 484, 485, 84, 82, 83, 529, 549, 590, 595, 615, 624, 637) |
| static bool[] | ReplaceTileBreakDown = Factory.CreateBoolSet(205, 115, 62, 52, 382, 444, 528, 638, 636) |
| static bool[] | SlowlyDiesInWater = Factory.CreateBoolSet(3, 20, 24, 27, 73, 201, 80, 110, 529, 530, 590, 595, 615, 637) |
| static bool[] | DrawsWalls = Factory.CreateBoolSet(10, 54, 138, 664, 484, 388, 191, 137, 328, 162, 387, 48, 232, 127, 459, 541, 546) |
| static ushort[] | GemsparkFramingTypes = Factory.CreateUshortSet(0, 265, 265, 258, 258, 264, 264, 257, 257, 267, 267, 260, 260, 266, 266, 259, 259, 263, 263, 256, 256, 262, 262, 255, 255, 268, 268, 261, 261, 385, 385, 446, 446, 447, 447, 448, 448) |
| static bool[] | TeamTiles = Factory.CreateBoolSet(426, 430, 431, 432, 433, 434, 427, 435, 436, 437, 438, 439) |
| static int[] | ConveyorDirection = Factory.CreateIntSet(0, 421, 1, 422, -1) |
If != 0 for a given tile type (P:Terraria.Tile.TileType), then that tile functions as a conveyor belt. A positive value pushes entities to the right, and a negative value to the left. The actual value does not matter, only the sign. Defaults to 0. | |
| static bool[] | VineThreads = Factory.CreateBoolSet(382, 62, 115, 205, 52, 528, 636, 638) |
| static bool[] | ReverseVineThreads = Factory.CreateBoolSet(549) |
| static bool[] | HasSlopeFrames = Factory.CreateBoolSet(421, 422) |
| static bool[] | TileInteractRead = Factory.CreateBoolSet(55, 85, 425, 573) |
| static bool[] | IgnoresNearbyHalfbricksWhenDrawn = Factory.CreateBoolSet(380, 476, 235, 138, 664, 137, 484, 421, 422) |
| Set to true to prevent this tile from being drawn slightly warped to fit with nearby half bricks. Tiles such as F:Terraria.ID.TileID.Traps and F:Terraria.ID.TileID.PlanterBox use this. This is only relevant for tiles set as F:Terraria.Main.tileSolid and not F:Terraria.ID.TileID.Sets.NotReallySolid. | |
| static bool[] | SwaysInWindBasic = Factory.CreateBoolSet(3, 20, 24, 61, 71, 73, 74, 83, 84, 110, 113, 201, 227, 529, 590, 595, 615, 624, 656, 637) |
| static int[] | DrawFlipMode = Factory.CreateIntSet(0, 3, 1, 13, 1, 20, 1, 24, 1, 49, 1, 372, 1, 646, 1, 50, 1, 52, 1, 61, 1, 62, 1, 71, 1, 73, 1, 74, 1, 81, 1, 82, 1, 83, 1, 84, 1, 91, 1, 92, 1, 93, 1, 110, 1, 113, 1, 115, 1, 135, 1, 141, 1, 165, 1, 174, 1, 201, 1, 205, 1, 227, 1, 270, 1, 271, 1, 382, 1, 184, 2, 185, 3, 528, 1, 529, 1, 590, 1, 595, 1, 615, 1, 624, 1, 638, 1, 636, 1, 656, 1) |
| static bool[] | HasOutlines = Factory.CreateBoolSet(10, 11, 15, 21, 29, 55, 79, 85, 88, 89, 97, 102, 104, 125, 132, 136, 139, 144, 207, 209, 212, 215, 216, 237, 287, 335, 338, 354, 356, 377, 386, 387, 388, 389, 410, 411, 425, 441, 455, 463, 467, 468, 470, 475, 487, 480, 494, 497, 509, 510, 511, 621, 464, 657, 658, 663) |
| Indicates that this tile has an outline texture to be drawn to indicate that it is interactable. If set to true for a modded tile, P:Terraria.ModLoader.ModTile.HighlightTexture will be used to autoload the highlight texture and must exist for the mod to load. | |
| static bool[] | AllTiles = Factory.CreateBoolSet(true) |
| static bool[] | Dirt = Factory.CreateBoolSet(0, 668) |
| static bool[] | Mud = Factory.CreateBoolSet(59) |
| static bool[] | Ash = Factory.CreateBoolSet(57) |
| static bool[] | Snow = Factory.CreateBoolSet(147) |
| static bool[] | Ices = Factory.CreateBoolSet(161, 200, 163, 164) |
| static bool[] | IcesSlush = Factory.CreateBoolSet(161, 200, 163, 164, 224) |
| static bool[] | IcesSnow = Factory.CreateBoolSet(161, 200, 163, 164, 147) |
| static bool[] | GrassSpecial = Factory.CreateBoolSet(70, 60, 661, 662) |
| static bool[] | JungleSpecial = Factory.CreateBoolSet(226, 225, 211) |
| static bool[] | HellSpecial = Factory.CreateBoolSet(58, 76, 75) |
| static bool[] | Leaves = Factory.CreateBoolSet(384, 192) |
| static bool[] | tileMossBrick = Factory.CreateBoolSet(false, 512, 513, 514, 515, 516, 517, 535, 537, 540, 626, 628) |
| static bool[] | GeneralPlacementTiles = Factory.CreateBoolSet(true, 225, 41, 481, 43, 482, 44, 483, 226, 203, 112, 25, 70, 151, 21, 31, 467, 12, 665, 639) |
| static bool[] | BasicChest = Factory.CreateBoolSet(21, 467) |
| static bool[] | BasicChestFake = Factory.CreateBoolSet(441, 468) |
| static bool[] | BasicDresser = Factory.CreateBoolSet(88) |
| static bool[] | CanBeClearedDuringGeneration = Factory.CreateBoolSet(true, 396, 400, 401, 397, 398, 399, 404, 368, 367, 226, 237) |
| static List< int > | CorruptCountCollection = new List<int> { 23, 661, 25, 112, 163, 398, 400, 636, 24, 32 } |
| static bool[] | CorruptBiomeSight = Factory.CreateBoolSet(23, 661, 25, 112, 163, 398, 400, 636, 24, 32) |
| static bool[] | Corrupt = Factory.CreateBoolSet(23, 661, 25, 112, 163, 398, 400, 636) |
| static List< int > | HallowCountCollection = new List<int> { 109, 117, 116, 164, 402, 403, 115, 110, 113 } |
| static bool[] | HallowBiomeSight = Factory.CreateBoolSet(109, 117, 116, 164, 402, 403, 115, 110, 113) |
| static bool[] | Hallow = Factory.CreateBoolSet(109, 117, 116, 164, 402, 403, 115) |
| static bool[] | CanGrowCrystalShards = Factory.CreateBoolSet(117, 116, 164, 402, 403) |
| static List< int > | CrimsonCountCollection = new List<int> { 199, 662, 203, 234, 200, 399, 401, 205, 201, 352 } |
| static bool[] | CrimsonBiomeSight = Factory.CreateBoolSet(199, 662, 203, 234, 200, 399, 401, 205, 201, 352) |
| static bool[] | Crimson = Factory.CreateBoolSet(199, 662, 203, 234, 200, 399, 401, 205) |
| static bool[] | IsSkippedForNPCSpawningGroundTypeCheck = Factory.CreateBoolSet(false, 421, 422) |
| static bool[] | BlocksStairs = Factory.CreateBoolSet(386, 387, 54, 541) |
| static bool[] | BlocksStairsAbove = Factory.CreateBoolSet(386, 387) |
| static bool[] | NotReallySolid = Factory.CreateBoolSet(387, 388, 10) |
| static bool[] | BlocksWaterDrawingBehindSelf = Factory.CreateBoolSet(false, 54, 541, 328, 470) |
| static bool[] | AllowLightInWater = Factory.CreateBoolSet(false, 54, 541, 328) |
| static bool[] | NeedsGrassFraming = Factory.CreateBoolSet(633) |
| static int[] | NeedsGrassFramingDirt = Factory.CreateIntSet(0, 633, 57) |
| static bool[] | ChecksForMerge = Factory.CreateBoolSet(0, 668, 2, 661, 60, 70, 199, 662, 109, 477, 492, 633, 57, 58, 75, 76, 684, 147, 161, 164, 163, 200, 162, 189, 196, 460, 224, 191, 383, 211, 225, 59, 226, 396, 397, 398, 399, 402, 400, 401, 403, 404, 234, 112, 407) |
| static bool[] | FramesOnKillWall = Factory.CreateBoolSet(440, 240, 241, 242, 245, 246, 4, 136, 334, 132, 55, 395, 425, 440, 471, 510, 511, 573, 630, 631) |
| static bool[] | AvoidedByNPCs = Factory.CreateBoolSet(21, 467, 55, 85, 395, 88, 463, 334, 29, 97, 99, 356, 663, 425, 440, 209, 441, 468, 471, 491, 510, 511, 520, 573) |
| static bool[] | InteractibleByNPCs = Factory.CreateBoolSet(17, 77, 133, 12, 665, 639, 26, 35, 36, 55, 395, 471, 21, 467, 29, 97, 88, 99, 463, 491, 33, 372, 174, 49, 646, 100, 173, 78, 79, 94, 96, 101, 50, 103, 282, 106, 114, 125, 171, 172, 207, 215, 220, 219, 244, 228, 237, 247, 128, 269, 354, 355, 377, 287, 378, 390, 302, 405, 406, 411, 425, 209, 441, 468, 452, 454, 455, 457, 462, 470, 475, 494, 499, 505, 511, 510, 520, 543, 565, 573, 597, 598, 617, 621, 464, 642) |
| static bool[] | HousingWalls = Factory.CreateBoolSet(11, 389, 386) |
| static bool[] | BreakableWhenPlacing = Factory.CreateBoolSet(324, 186, 187, 185, 165, 530, 233, 227, 485, 81, 624) |
| static bool[] | TouchDamageDestroyTile = Factory.CreateBoolSet(32, 69, 352, 655) |
| static bool[] | Suffocate = Factory.CreateBoolSet(53, 112, 116, 123, 224, 234) |
| If true, the tile will apply the F:Terraria.ID.BuffID.Suffocation buff if the player is overlapping the tiles. Used by sand tiles. | |
| static bool[] | TouchDamageHot = Factory.CreateBoolSet(37, 58, 76, 684, 230) |
| Applies the F:Terraria.ID.BuffID.Burning buff to any player touching the tile without F:Terraria.Player.fireWalk. Used by F:Terraria.ID.TileID.Meteorite, F:Terraria.ID.TileID.Hellstone, F:Terraria.ID.TileID.HellstoneBrick, F:Terraria.ID.TileID.CrispyHoneyBlock, and F:Terraria.ID.TileID.AncientHellstoneBrick | |
| static bool[] | TouchDamageBleeding = Factory.CreateBoolSet(48, 232) |
| Applies the F:Terraria.ID.BuffID.Bleeding buff to any player touching the tile. The duration is random from 4 to 10 seconds. Used by F:Terraria.ID.TileID.Spikes and F:Terraria.ID.TileID.WoodenSpikes. Used in conjunction with F:Terraria.ID.TileID.Sets.TouchDamageImmediate to deal damage on contact. | |
| static int[] | TouchDamageImmediate = Factory.CreateIntSet(0, 32, 10, 69, 17, 80, 6, 352, 10, 655, 100, 48, 60, 232, 80, 484, 25) |
| Deals the provided amount of damage to any player in contact with the tile. Used by cactus, thorn, and spike tiles. | |
| static bool[] | Falling = Factory.CreateBoolSet(53, 234, 112, 116, 224, 123, 330, 331, 332, 333, 495) |
| static bool[] | BlockMergesWithMergeAllBlock = Factory.CreateBoolSet() |
| Set to true automatically for all tiles that are F:Terraria.Main.tileSolid and not F:Terraria.Main.tileSolidTop. These tiles will merge with other tiles that are F:Terraria.Main.tileBlendAll. You can force a value to be assigned using F:Terraria.ID.TileID.Sets.BlockMergesWithMergeAllBlockOverride in M:Terraria.ModLoader.ModType.SetStaticDefaults, as this is set is populated afterwards, ignoring edits to it. | |
| static bool[] | OreMergesWithMud = Factory.CreateBoolSet(7, 166, 6, 167, 9, 168, 8, 169, 22, 204, 37, 58, 107, 221, 108, 222, 111, 223) |
| static bool[] | Ore = Factory.CreateBoolSet(7, 166, 6, 167, 9, 168, 8, 169, 22, 204, 37, 58, 107, 221, 108, 222, 111, 223, 211) |
| Indicates that the tile is an ore. Used in worldgen code for various purposes and by Fairies. | |
| static bool[] | IsAContainer = Factory.CreateBoolSet(21, 467, 88) |
| static bool[] | IsAMechanism = Factory.CreateBoolSet(137, 443, 105, 349, 141, 142, 143, 42, 34, 130, 131, 506, 546, 557, 593, 594) |
| static bool[] | IsATrigger = Factory.CreateBoolSet(135, 136, 132, 144, 411, 441, 468) |
| static bool[] | FriendlyFairyCanLureTo = Factory.CreateBoolSet(8, 169, 21, 467, 107, 108, 111, 221, 222, 223, 211, 12, 665, 639, 236, 227) |
| static bool[] | IgnoredInHouseScore = Factory.CreateBoolSet(4, 3, 73, 82, 83, 84, 386) |
| static bool[] | SpreadOverground = Factory.CreateBoolSet(2, 23, 661, 32, 60, 70, 109, 199, 662, 352, 477, 492, 633) |
| static bool[] | SpreadUnderground = Factory.CreateBoolSet(23, 661, 109, 199, 662, 60, 70, 633) |
| static bool[] | CanDropFromRightClick = Factory.CreateBoolSet(4) |
| static bool[] | Stone = Factory.CreateBoolSet(1, 117, 25, 203) |
| static bool[] | Grass = Factory.CreateBoolSet(2, 23, 109, 199, 477, 492, 633) |
| static bool[] | IsMultitile = Factory.CreateBoolSet(28, 31, 233, 236, 238, 530) |
| Tiles within this set are multi-tiles that don't have a TileObjectData. This is only used to prevent TileLoader.Drop from being called multiple times when breaking these tiles, as might be expected. Trees and Cactus are not included in this, since each of those tiles drop items. | |
| static bool[] | CanBeClearedDuringOreRunner = Factory.CreateBoolSet(0, 1, 23, 25, 40, 53, 57, 59, 60, 70, 109, 112, 116, 117, 147, 161, 163, 164, 199, 200, 203, 234, 396, 397, 401, 403, 400, 398, 399, 402) |
| Tiles within this set are allowed to be replaced by generating ore. | |
| static bool[] | CanBeSloped = Factory.CreateBoolSet() |
| Allows non-solid tiles to be sloped (solid tiles can always be sloped, regardless of this set). | |
| static bool[] | IgnoredByNpcStepUp = Factory.CreateBoolSet(14, 16, 18, 134, 469) |
| Whether or not the tile will be ignored for automatic step up regarding town NPC collision. Only checked when M:Terraria.Collision.StepUp(Microsoft.Xna.Framework.Vector2@,Microsoft.Xna.Framework.Vector2@,System.Int32,System.Int32,System.Single@,System.Single@,System.Int32,System.Boolean,System.Int32) with specialChecksMode set to 1 is called | |
| static bool[] | DisableSmartCursor = Factory.CreateBoolSet(4, 10, 11, 13, 21, 29, 33, 49, 50, 55, 79, 85, 88, 97, 104, 125, 132, 136, 139, 144, 174, 207, 209, 212, 216, 219, 237, 287, 334, 335, 338, 354, 386, 387, 388, 389, 411, 425, 441, 463, 467, 468, 491, 494, 510, 511, 573, 621, 642) |
| Whether or not the smart cursor function is disabled when the cursor hovers above this tile. | |
| static bool[] | DisableSmartInteract = Factory.CreateBoolSet(4, 33, 334, 395, 410, 455, 471, 480, 509, 520, 657, 658) |
| Whether or not the smart tile interaction function is disabled when the cursor hovers above this tile. | |
| static bool[] | IsValidSpawnPoint = Factory.CreateBoolSet(79) |
| Whether or not this tile is a valid spawn point. | |
| static bool[] | Torch = Factory.CreateBoolSet(4) |
| Whether or not this tile behaves like a torch. If you are making a torch tile, then setting this to true is necessary in order for tile placement, tile framing, and the item's smart selection to work properly. Each item that places torch tiles should also set F:Terraria.ID.ItemID.Sets.Torches. | |
| static bool[] | Campfire = Factory.CreateBoolSet(215) |
| Whether or not this tile behaves like a campfire. Campfires must be 3x2 and need to follow the vanilla layout with the on state being at the top of the texture. Padding must also be present in the same manner, resulting in a 54x36 section for each style. The animation, however, can be done with a separate flame texture if desired. Necessary for block swap and Marshmallow on a Stick features. | |
| static bool[] | Clock = Factory.CreateBoolSet(104) |
| Whether or not this tile is a clock. | |
| static bool[] | TreeSapling = Factory.CreateBoolSet(20) |
| Whether or not this tile is a sapling, which can grow into a tree based on the soil it's placed on. Be sure to set F:Terraria.ID.TileID.Sets.CommonSapling with this too. | |
| static bool[] | CountsAsWaterSource = Factory.CreateBoolSet(172) |
| Whether or not this tile counts as a water source for crafting purposes. | |
| static bool[] | CountsAsHoneySource = Factory.CreateBoolSet() |
| Whether or not this tile counts as a honey source for crafting purposes. | |
| static bool[] | CountsAsLavaSource = Factory.CreateBoolSet() |
| Whether or not this tile counts as a lava source for crafting purposes. | |
| static bool[] | CountsAsShimmerSource = Factory.CreateBoolSet() |
| Whether or not this tile counts as a shimmer source for crafting purposes. | |
| static bool[] | IgnoredByGrowingSaplings = Factory.CreateBoolSet(3, 24, 32, 61, 62, 69, 71, 73, 74, 82, 83, 84, 110, 113, 201, 233, 352, 485, 529, 530, 637, 655) |
| Whether or not saplings count this tile as empty when trying to grow. | |
| static bool[] | AvoidedByMeteorLanding = Factory.CreateBoolSet(226, 470, 475, 448, 597) |
| Whether or not this tile prevents a meteor from landing near it. | |
| static bool[] | PreventsSandfall = Factory.CreateBoolSet(26, 77, 80, 323, 470, 475, 597) |
| Whether or not this tile will prevent sand/slush from falling beneath it. | |
| static int[] | CountsAsPylon = new int[1] { 597 } |
| What tiles count as Pylons, which allow the player to teleport to any other valid Pylons on the map. | |
| static bool[] | WallsMergeWith = Factory.CreateBoolSet(54) |
| Tiles that are interpreted as a wall by nearby walls during framing, causing them to frame as if merging with this adjacent tile. Prevents wall from drawing within bounds for transparent tiles. | |
| static ? bool[] | BlockMergesWithMergeAllBlockOverride = Factory.CreateCustomSet<bool?>(null, new object[6] { 10, false, 387, false, 541, false }) |
| The value a tile forces to be set for F:Terraria.ID.TileID.Sets.BlockMergesWithMergeAllBlock regardless of default conditions (see its documentation). null by default. | |
| static bool[] | CanPlaceNextToNonSolidTile = Factory.CreateBoolSet(false, 51, 330, 331, 332, 333, 336, 340, 341, 342, 343, 344, 351, 379) |
| Allows tiles to be placed next to any tile or wall. (Tiles normally need a F:Terraria.Main.tileSolid tile, F:Terraria.ID.TileID.Rope tile, F:Terraria.ID.TileID.Sets.IsBeam tile, or a wall adjacent to the target position to be placeable.) Used by: Cobweb, Coin Piles, Living Fire Blocks, Smoke Blocks, Bubble Blocks | |
| static int[] | CorruptBiome = Factory.CreateIntSet(0, 23, 1, 24, 1, 25, 1, 32, 1, 112, 1, 163, 1, 400, 1, 398, 1, 27, -10) |
| New created sets to facilitate vanilla biome block counting including modded blocks. To replace the current hardcoded counts in SceneMetrics.cs. | |
| static int[] | HallowBiome = Factory.CreateIntSet(0, 109, 1, 492, 1, 110, 1, 113, 1, 117, 1, 116, 1, 164, 1, 403, 1, 402, 1) |
| static int[] | CrimsonBiome = Factory.CreateIntSet(0, 199, 1, 203, 1, 200, 1, 401, 1, 399, 1, 234, 1, 352, 1, 27, -10) |
| static int[] | SnowBiome = Factory.CreateIntSet(0, 147, 1, 148, 1, 161, 1, 162, 1, 164, 1, 163, 1, 200, 1) |
| static int[] | JungleBiome = Factory.CreateIntSet(0, 60, 1, 61, 1, 62, 1, 74, 1, 226, 1, 225, 1) |
| static int[] | MushroomBiome = Factory.CreateIntSet(0, 70, 1, 71, 1, 72, 1, 528, 1) |
| static int[] | SandBiome = Factory.CreateIntSet(0, 53, 1, 112, 1, 116, 1, 234, 1, 397, 1, 398, 1, 402, 1, 399, 1, 396, 1, 400, 1, 403, 1, 401, 1) |
| static int[] | DungeonBiome = Factory.CreateIntSet(0, 41, 1, 43, 1, 44, 1, 481, 1, 482, 1, 483, 1) |
| static int[] | RemixJungleBiome = Factory.CreateIntSet(0, 60, 1, 61, 1, 62, 1, 74, 1, 225, 1) |
| static int[] | RemixCrimsonBiome = Factory.CreateIntSet(0, 199, 1, 203, 1, 200, 1, 401, 1, 399, 1, 234, 1, 352, 1, 27, -10, 195, 1) |
| static int[] | RemixCorruptBiome = Factory.CreateIntSet(0, 23, 1, 24, 1, 25, 1, 32, 1, 112, 1, 163, 1, 400, 1, 398, 1, 27, -10, 474, 1) |
| static int[] | OpenDoorID = Factory.CreateIntSet(-1) |
| The ID of the tile that a given closed door transforms into when it becomes OPENED. Defaults to -1, which means said tile isn't a closed door. | |
| static int[] | CloseDoorID = Factory.CreateIntSet(-1) |
| The ID of the tile that a given open door transforms into when it becomes CLOSED. Defaults to -1, which means said tile isn't an open door. | |