I seem to be having a small problem adding my own recipes in Minecraft while using the coder pack. I am new to this type of thing, so assistance would be very helpful.
My Problem: My Minecraft client absolutely will not recognize these 9 new recipes I added in the CraftingManager.java file when running. I successfully decompiled in MCP, successfully added new recipes, and successfully recompiled. I started my Minecraft, tried the crafting recipes, and nothing happened.
I also tried running startclient.bat and I got this:
Since I cannot copy and paste in Command Prompt (I've tried the thing with right clicking and the title), I have limited it to that. The space in between contains some code, but this is hopefully what you need. Thanks in advance, and sorry if I am not providing enough information.
EDIT: There seems to be a problem how I coded it. The recompiler says "error: cannot find symbol" on each and every item I added. Unnervingly, it lists each recipe twice. I'm unsure why, but here is my code. Please note that this code goes into the CraftingManager.java file.
this.addRecipe(new ItemStack(block.wood, 1), new Object[] {"S ", 'S', item.slimeBall});
this.addRecipe(new ItemStack(item.coal, 1), new Object[] {"SS ", 'S', item.slimeBall});
this.addRecipe(new ItemStack(item.ingotIron, 1), new Object[] {"SSS" , item.slimeBall});
this.addRecipe(new ItemStack(item.ingotGold, 1), new Object[] {"SSS", "S ", 'S', item.slimeBall});
this.addRecipe(new ItemStack(item.diamond, 1), new Object[] {"SSS", "SS ", 'S', item.slimeBall});
this.addRecipe(new ItemStack(item.cookie, 64), new Object[] {"SSS", "SSS", 'S', item.slimeBall});
this.addRecipe(new ItemStack(item.wheat, 64), new Object[] {"SSS", "SSS", "S ", 'S', item.slimeBall});
this.addRecipe(new ItemStack(item.chickenCooked, 1), new Object[] {"SSS", "SSS", "SS", 'S', item.slimeBall});
this.addRecipe(new ItemStack(item.emerald, 1), new Object[] {"SSS", "SSS", "SSS", 'S', item.slimeBall});
My Problem: My Minecraft client absolutely will not recognize these 9 new recipes I added in the CraftingManager.java file when running. I successfully decompiled in MCP, successfully added new recipes, and successfully recompiled. I started my Minecraft, tried the crafting recipes, and nothing happened.
I also tried running startclient.bat and I got this:
Since I cannot copy and paste in Command Prompt (I've tried the thing with right clicking and the title), I have limited it to that. The space in between contains some code, but this is hopefully what you need. Thanks in advance, and sorry if I am not providing enough information.
EDIT: There seems to be a problem how I coded it. The recompiler says "error: cannot find symbol" on each and every item I added. Unnervingly, it lists each recipe twice. I'm unsure why, but here is my code. Please note that this code goes into the CraftingManager.java file.
this.addRecipe(new ItemStack(block.wood, 1), new Object[] {"S ", 'S', item.slimeBall}); this.addRecipe(new ItemStack(item.coal, 1), new Object[] {"SS ", 'S', item.slimeBall}); this.addRecipe(new ItemStack(item.ingotIron, 1), new Object[] {"SSS" , item.slimeBall}); this.addRecipe(new ItemStack(item.ingotGold, 1), new Object[] {"SSS", "S ", 'S', item.slimeBall}); this.addRecipe(new ItemStack(item.diamond, 1), new Object[] {"SSS", "SS ", 'S', item.slimeBall}); this.addRecipe(new ItemStack(item.cookie, 64), new Object[] {"SSS", "SSS", 'S', item.slimeBall}); this.addRecipe(new ItemStack(item.wheat, 64), new Object[] {"SSS", "SSS", "S ", 'S', item.slimeBall}); this.addRecipe(new ItemStack(item.chickenCooked, 1), new Object[] {"SSS", "SSS", "SS", 'S', item.slimeBall}); this.addRecipe(new ItemStack(item.emerald, 1), new Object[] {"SSS", "SSS", "SSS", 'S', item.slimeBall});-
View User Profile
-
View Posts
-
Send Message
Retired StaffIf you need help, heres a good tutorial on modding -
http://www.minecraftforum.net/topic/1397124-jdembos-modding-hub-how-to-installcreate-mods-added-fuels-132/