Posted February 25, 201411 yr So I recently learned some basic modding, and I want to do some recipes using items from other mods. I thought I'd start with Thaumcraft. Lets say I want to make a recipe using a Thaumium Sword, how should I use that in the code? Using a regular vanilla item in a recipe would look something like this(probably wrong but you get my idea) GameRegistry.addRecipe(new ItemStack(MyNewCoolItemUsingTools), new Object[] { " ", "xyx", " ", 'x', Item.stone, 'y', Item.swordIron}); Working with the Thaumcraft API, what should I replace Item.swordIron with to use a Thaumium Sword? I hope it's not too much to ask for, if you who are reading this don't have time to look at a API and see how it works it's cool. The closest I got was ItemApi.getItem(ItemThaumiumSword)
February 25, 201411 yr GameRegistry.findItem("whatever-name-is-given-to-the-item-in-the-first-place")
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.