![how to get tmodloader off terraria how to get tmodloader off terraria](https://i.imgur.com/qi7fuFk.png)
More.Ĭreates a ModTranslation object that you can use in AddMapEntry. Return false to stop the default dust (the type parameter) from being created. More.Īllows you to modify the default type of dust created when the tile at the given coordinates is hit. More.Īllows you to change the style of waterfall that passes through or over this type of tile. Return false to block the tile from being placed. More.Īllows you to stop this tile from being placed at the given coordinates. More.ĬanKillTile (int i, int j, ref bool blockDamaged)Īllows you to determine whether or not the tile at the given coordinates can be hit by anything. Returns true by default return false to stop an explosion from destroying it. Whether or not the tile at the given coordinates can be killed by an explosion (ie. More.Īllows you to determine whether the given item can become selected when the cursor is hovering over this tile and the auto selection hotkey is pressed. By default returns the mod's autoload property. When a tile is autoloaded, that means you do not need to manually call Mod.AddTile. More.Īutoload (ref string name, ref string texture)Īllows you to modify the name and texture path of this tile when it is autoloaded. Use AnimateIndividualTile to animate specific tile instances directly. Use frameCounter to keep track of how long the current frame has been active, and use frame to change the current frame. More.ĪnimateTile (ref int frame, ref int frameCounter)Īllows you to animate your tile. Use this hook for off-sync animations (lightning bug in a bottle), temporary animations (trap chests), or TileEntities to achieve unique animation behaviors without having to manually draw the tile via PreDraw.
![how to get tmodloader off terraria how to get tmodloader off terraria](https://i.imgur.com/azVgNC7.jpg)
![how to get tmodloader off terraria how to get tmodloader off terraria](https://i.ytimg.com/vi/Tn1ae0C34Ac/maxresdefault.jpg)
"frameYOffset = modTile.animationFrameHeight * Main.tileFrame " will already be set before this hook is called, taking into account the TileID-wide animation set via AnimateTile. frameXOffset and frameYOffset should be used to specify an offset from the tiles frameX and frameY. i and j are the coordinates of the Tile in question. More.ĪnimateIndividualTile (int type, int i, int j, ref int frameXOffset, ref int frameYOffset)Īnimates an individual tile. More.ĪddMapEntry (Color color, ModTranslation name, Func nameFunc)Ī convenient method for adding this tile's Type to the given array. The parameters for the function are the default display name, x-coordinate, and y-coordinate. More.ĪddMapEntry (Color color, ModTranslation name)ĪddMapEntry (Color color, LocalizedText name, Func nameFunc)Īdds an entry to the minimap for this tile with the given color, default display name, and display name function. AddMapEntry (Color color, LocalizedText name=null)Īdds an entry to the minimap for this tile with the given color and display name.