Quote from IGodRabbit»
So I try to add a recipe that use the Ore dictionary, so I tried this:
GameRegistry.addRecipe(new ItemStack(ModItems.oil_item, 1, 1), "BBB", "BEB", "BBB", 'B', ":treeSapling, 'E', new ItemStack(ModItems.oil_item, 1, 0));
And the game carshes, what am I doing wrong?
thank you!
You need to instantiate a ShapedOreRecipe and pass it into the overload of GameRegistry#addRecipe() that takes an IRecipe as its only parameter.
1