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

◆ TryGetIngredient< T >()

bool Terraria.Recipe.TryGetIngredient< T > ( out Item ingredient)
inline
Type Constraints
T :ModItem 

Definition at line 16108 of file Recipe.cs.

16108 : ModItem
16109 {
16110 return TryGetIngredient(ModContent.ItemType<T>(), out ingredient);
16111 }
Manages content added by mods. Liasons between mod content and Terraria's arrays and oversees the Loa...
Definition ModContent.cs:38
This class serves as a place for you to place all your properties and hooks for each item....
Definition ModItem.cs:24
bool TryGetIngredient(int itemID, out Item ingredient)
Definition Recipe.cs:16076

References Terraria.Recipe.TryGetIngredient().

+ Here is the call graph for this function: