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

◆ NotifyItemCraft()

static void Terraria.GameContent.Achievements.AchievementsHelper.NotifyItemCraft ( Recipe recipe)
inlinestatic

Definition at line 73 of file AchievementsHelper.cs.

74 {
75 if (AchievementsHelper.OnItemCraft != null)
76 {
77 AchievementsHelper.OnItemCraft((short)recipe.createItem.netID, recipe.createItem.stack);
78 }
79 }

References Terraria.Recipe.createItem, Terraria.Item.netID, Terraria.GameContent.Achievements.AchievementsHelper.OnItemCraft, and Terraria.Item.stack.

Referenced by Terraria.Recipe.Create().

+ Here is the caller graph for this function: