tModLoader v2024.03
A mod to make and play Terraria mods
RecipeItemCreationContext Class Reference

Inherits ItemCreationContext.

Public Member Functions

 RecipeItemCreationContext (Recipe recipe, List< Item > consumedItems, Item destinationStack)
 

Public Attributes

readonly List< ItemConsumedItems
 Cloned list of Items consumed when crafting.
 
Item DestinationStack
 An item stack that the created item will be combined with (via OnStack). For normal crafting, this is Main.mouseItem
 
readonly Recipe Recipe