Fandom

Surfpup's tConfig Mod Wiki

Recipe Class

124pages on
this wiki
Add New Page
Comments3 Share
The information in this article is for Terraria v1.0.6.1.

This class is responsible for handling all the different item recipes in the game. You probably won't interact with it too too much, but there might be a few cool things you can do with it.
Chests

Placeholder!

Read More


PropertiesEdit

Name Type Description
createItem Item
needWater bool True if you need to be near water to craft the item.
requiredItem Item[] The required item(s) to craft the item.
requiredTile int[] The required tile(s) to craft the item.

Static PropertiesEdit

Name Type Description
maxRecipes int The maximum amount of recipes.
maxRequirements int The maximum amount of requirements per recipe (tiles?)
numRecipes int The number of recipes.

MethodsEdit

Method Name Description
Create()
public void Create()
{
}

This is called when you right click an item in the crafting interface. If you can craft it, then you get the item, otherwise you don't.

  • Returns no value

Static MethodsEdit

Method Name Description
FindRecipes()
public static void FindRecipes()
{
}

Description goes here

  • Returns no value
SetupRecipes()
public static void SetupRecipes()
{
}

This is where all the recipes are set up, with the items/tiles needed etc.

  • Returns no value

NotesEdit

Depending on how SetupRecipes actually works, you might be able to change recipes on the fly.

Classes in Terraria

Chest | Cloud | Collision | Dust | Gore | Item | Lighting | Liquid | Main | NPC | Player | Projectile | Recipe | Sign | Star | WorldGen

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.