|
tModLoader v0.11.8.9
A mod to make and play Terraria mods
|
This is where all ModRecipe and GlobalRecipe hooks are gathered and called. More...
Collaboration diagram for Terraria.ModLoader.RecipeHooks:Static Public Member Functions | |
| static void | OnCraft (Item item, Recipe recipe) |
| Allows you to make anything happen when a player uses this recipe. More... | |
| static bool | RecipeAvailable (Recipe recipe) |
| Returns whether or not the conditions are met for this recipe to be available for the player to use. More... | |
This is where all ModRecipe and GlobalRecipe hooks are gathered and called.
Definition at line 9 of file RecipeHooks.cs.
|
static |
Allows you to make anything happen when a player uses this recipe.
| item | The item crafted. |
| recipe | The recipe used to craft the item. |
Definition at line 78 of file RecipeHooks.cs.
References Terraria.ModLoader.ModRecipe.OnCraft(), and Terraria.ModLoader.GlobalRecipe.OnCraft().
Here is the call graph for this function:
|
static |
Returns whether or not the conditions are met for this recipe to be available for the player to use.
| recipe | The recipe to check. |
Definition at line 60 of file RecipeHooks.cs.
References Terraria.ModLoader.ModRecipe.RecipeAvailable(), and Terraria.ModLoader.GlobalRecipe.RecipeAvailable().
Here is the call graph for this function: