Back to Tools
Coding

tModLoader

By tModLoader contributors

A Terraria mod-development framework with APIs for authoring new items, crafting recipes, NPCs and tiles.

tool

For developers extending Terraria with new content and behavior, not a standalone game engine or an AI game generator.

Start with tModLoader on Steam, which requires Terraria, and match the API reference to your installed version. Begin with a ModItem subclass and AddRecipes for crafting recipes; extend to ModNPC for behavior and dialogue, or ModTile for tiles and scene interactions.

Project setup and build steps still require the relevant development guide. This listing verifies API scope; no mod was installed or compiled.

Installation and requirements: https://store.steampowered.com/app/1281930/tModLoader/ Items: https://docs.tmodloader.net/docs/stable/class_mod_item.html NPCs: https://docs.tmodloader.net/docs/stable/class_mod_n_p_c.html Tiles: https://docs.tmodloader.net/docs/stable/class_mod_tile.html

View source