TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ AddOnCraftCallback()

Recipe Terraria.Recipe.AddOnCraftCallback ( OnCraftCallback callback)
inline

Sets a callback that will allow you to make anything happen when the recipe is used to create an item.

Definition at line 16447 of file Recipe.cs.

16448 {
16450 return this;
16451 }
delegate void OnCraftCallback(Recipe recipe, Item item, List< Item > consumedItems, Item destinationStack)
OnCraftCallback OnCraftHooks
Definition Recipe.cs:114

References Terraria.Recipe.OnCraftCallback(), and Terraria.Recipe.OnCraftHooks.

+ Here is the call graph for this function: