Catboy12232000 Posted July 16, 2014 Share Posted July 16, 2014 I would like some help figuring out what I did wrong when adding this crafting recipe GameRegistry.addRecipe(new ItemStack(blockSteelBlock), new Object[]{"SSS", "SSS", "SSS", "S", itemSteelIngot}); any help would be appreciated would like to continou work on this mod Quote Link to comment Share on other sites More sharing options...
Jacky2611 Posted July 16, 2014 Share Posted July 16, 2014 GameRegistry.addRecipe(new ItemStack(blockSteelBlock), new Object[]{"SSS", "SSS", "SSS", """""""""""""S"""""""""", itemSteelIngot}); pls use code tags: Your code here the next time u post something. and are you sure that there should be a " in the 2nd line? just compare your code with the tuts cheater! use a ' instead There is a thankyou button! Click it if it works now! Quote Here could be your advertisement! Link to comment Share on other sites More sharing options...
Catboy12232000 Posted July 16, 2014 Author Share Posted July 16, 2014 sorry what does second line mean and I tried that code didn't work also does It matter that my items class is separate from where the code for the recipe is Quote Link to comment Share on other sites More sharing options...
Epicballzy Posted July 16, 2014 Share Posted July 16, 2014 Change the double quotes on the single S to single quotes.. (from " to ') Quote Link to comment Share on other sites More sharing options...
Catboy12232000 Posted July 16, 2014 Author Share Posted July 16, 2014 thanks so much im new to java thought Id learn and make a mod at the same time such a simple mistake had the same mistake on block with these " before and after the code name SteelBlock Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.