t3hkr3w Posted November 13, 2012 Posted November 13, 2012 In the making of my new mod I don't have any errors at all popping up in eclipse but when I run the client to test out my work and I get a Minecraft crash from this line that has no errors: HempSeed = new ItemHempSeed(7001,GrowersParadiseCore.HempPlant.blockID,net.minecraft.src.Block.tilledField.blockID).setItemName("Hemp Seed").setIconIndex(1); LanguageRegistry.addName(HempSeed, "\u00a7AHemp Seed"); And here is the crash report to anyone that it will help: http://pastebin.com/25AqTgKC In advance all help is much appreciated, Thanks Quote
SanAndreaP Posted November 13, 2012 Posted November 13, 2012 Do you initialize following block: GrowersParadiseCore.HempPlant before you initialize the item (the line you gave us)? Quote Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
t3hkr3w Posted November 13, 2012 Author Posted November 13, 2012 I declared that a couple lines after but I just changed it around and it works perfectly, thanks so much Quote
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.