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

◆ FindDecraftAmount()

int Terraria.Item.FindDecraftAmount ( )
inlineprivate

Definition at line 49624 of file Item.cs.

49625 {
49627 if (decraftingRecipeIndex < 0)
49628 {
49629 return -1;
49630 }
49631 return stack / Main.recipe[decraftingRecipeIndex].createItem.stack;
49632 }
int stack
The current stack of the item. F:Terraria.Item.maxStack indicates the max possible stack.
Definition Item.cs:396
int GetShimmerEquivalentType()
Definition Item.cs:49634

References Terraria.GameContent.ShimmerTransforms.GetDecraftingRecipeIndex(), Terraria.Item.GetShimmerEquivalentType(), Terraria.Main.recipe, and Terraria.Item.stack.

Referenced by Terraria.Item.CanShimmer(), and Terraria.Item.GetShimmered().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: