Hello!
I understand it may be frustrating when someone doesn't know what the hell they are doing, but I'm at my wits end. I'm getting an exception when I launch the game with my mod after trying to add oredictionary to my recipe.
Below is my code that is causing the crash.
GameRegistry.addRecipe(new ItemStack(Block.wood,3),"x ","xx", 'x', "logWood");
Below is working code (that doesn't do what I'm trying to accomplish)
GameRegistry.addRecipe(new ItemStack(Block.wood,3),"x ","xx", 'x', Block.wood);
The error is below.
Thank you for any help you can give me. Sometimes I make myself tired..
EDIT: Here's what I was supposed to do:
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Block.wood,3), true, new Object[]{"x ","xx", 'x', "logWood"}));