C# Class Terraria.ModLoader.RecipeFinder

Show file Open project: JavidPack/TerraCustom Class Usage Examples

Public Properties

Property Type Description
needHoney bool
needLava bool
needWater bool

Public Methods

Method Description
AddIngredient ( int itemID, int stack = 1 ) : void
AddIngredient ( string itemName, int stack = 1 ) : void
AddRecipeGroup ( string name, int stack = 1 ) : void
AddTile ( int tileID ) : void
FindExactRecipe ( ) : Recipe
RecipeFinder ( ) : System
SearchRecipes ( ) : List
SetResult ( int itemID, int stack = 1 ) : void
SetResult ( string itemName, int stack = 1 ) : void

Private Methods

Method Description
GetAcceptedGroups ( Recipe recipe ) : List

Method Details

AddIngredient() public method

public AddIngredient ( int itemID, int stack = 1 ) : void
itemID int
stack int
return void

AddIngredient() public method

public AddIngredient ( string itemName, int stack = 1 ) : void
itemName string
stack int
return void

AddRecipeGroup() public method

public AddRecipeGroup ( string name, int stack = 1 ) : void
name string
stack int
return void

AddTile() public method

public AddTile ( int tileID ) : void
tileID int
return void

FindExactRecipe() public method

public FindExactRecipe ( ) : Recipe
return Recipe

RecipeFinder() public method

public RecipeFinder ( ) : System
return System

SearchRecipes() public method

public SearchRecipes ( ) : List
return List

SetResult() public method

public SetResult ( int itemID, int stack = 1 ) : void
itemID int
stack int
return void

SetResult() public method

public SetResult ( string itemName, int stack = 1 ) : void
itemName string
stack int
return void

Property Details

needHoney public property

public bool needHoney
return bool

needLava public property

public bool needLava
return bool

needWater public property

public bool needWater
return bool