Posted December 13, 20159 yr like the title says, Im having issues with my client crashing when i try to smelt my ore into an item. Im pretty sure the code is correct and i cant make sense of the crash report to figure out why its crashing. any help would be greatly appreciated crash report: http://pastebin.com/puSPf5KY section of code: http://pastebin.com/nDxrn2sG
December 13, 20159 yr Have you registered your item? And do you call the registerRenders() in your proxy or your main class? (Please say client proxy...) I might be terribly wrong.. Like really, really wrong. But I'm just trying to help.
December 13, 20159 yr try just doing GameRegistry.addSmelting(grist_ore, new ItemStack(TutorialItems.grist), 0.0F);
December 13, 20159 yr You should be registering your blocks and items in preInit, then adding recipes in init. Don't register and add recipes in the same phase. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
December 14, 20159 yr Author You should be registering your blocks and items in preInit, then adding recipes in init. Don't register and add recipes in the same phase. This fixed it! Thank you!
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.