C# Class Terraria.ModLoader.ModRecipe

Inheritance: Terraria.Recipe
显示文件 Open project: JavidPack/TerraCustom Class Usage Examples

Public Properties

Property Type Description
mod Mod

Public Methods

Method Description
AddIngredient ( Mod mod, string itemName, int stack = 1 ) : void
AddIngredient ( ModItem item, int stack = 1 ) : void
AddIngredient ( int itemID, int stack = 1 ) : void
AddIngredient ( string itemName, int stack = 1 ) : void
AddRecipe ( ) : void
AddRecipeGroup ( string name, int stack = 1 ) : void
AddTile ( Mod mod, string tileName ) : void
AddTile ( ModTile tile ) : void
AddTile ( int tileID ) : void
ConsumeItem ( int type, int numRequired ) : int
ModRecipe ( Mod mod ) : System
OnCraft ( Item item ) : void
RecipeAvailable ( ) : bool
SetResult ( Mod mod, string itemName, int stack = 1 ) : void
SetResult ( ModItem item, int stack = 1 ) : void
SetResult ( int itemID, int stack = 1 ) : void
SetResult ( string itemName, int stack = 1 ) : void

Method Details

AddIngredient() public method

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

AddIngredient() public method

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

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

AddRecipe() public method

public AddRecipe ( ) : void
return void

AddRecipeGroup() public method

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

AddTile() public method

public AddTile ( Mod mod, string tileName ) : void
mod Mod
tileName string
return void

AddTile() public method

public AddTile ( ModTile tile ) : void
tile ModTile
return void

AddTile() public method

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

ConsumeItem() public method

public ConsumeItem ( int type, int numRequired ) : int
type int
numRequired int
return int

ModRecipe() public method

public ModRecipe ( Mod mod ) : System
mod Mod
return System

OnCraft() public method

public OnCraft ( Item item ) : void
item Item
return void

RecipeAvailable() public method

public RecipeAvailable ( ) : bool
return bool

SetResult() public method

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

SetResult() public method

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

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

mod public_oe property

public Mod mod
return Mod