Need help with modding problem

RoninGoblin

Spazmatism
I have been working on a mod and i have run into this problem
so I have been trying make a mod item be a material for a mod weapon and i have been using mod.ItemType.(myitemhere)
and terraria has been saying "mod.ItemType is a method which is not given in the valid context"
My code:
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(mod.ItemType.(item), 1);
recipe.AddIngredient(mod.ItemType.(item), 1);
recipe.AddTile(TileID.WorkBenches);
recipe.SetResult(this);
recipe.AddRecipe();
Please help if you know how to help me please do
 
Last edited:
Back
Top Bottom