tModLoader v2023.01
A mod to make and play Terraria mods
Terraria.RecipeGroup Class Reference

Public Member Functions

 RecipeGroup (Func< string > getName, params int[] validItems)
 
bool ContainsItem (int type)
 

Static Public Member Functions

static int RegisterGroup (string name, RecipeGroup rec)
 

Public Attributes

Func< string > GetText
 
int IconicItemId
 
int ID
 
HashSet< int > ValidItems
 

Static Public Attributes

static int nextRecipeGroupIndex
 
static Dictionary< string, int > recipeGroupIDs = new Dictionary<string, int>()
 
static Dictionary< int, RecipeGrouprecipeGroups = new Dictionary<int, RecipeGroup>()