Hi, can someone please help me on how to add an IC2 item into a recipe. i have the APi installed but dont know how to get an item from it. im a bit confused and a step by step reply would be ideal. also is their a wiki or forum section with tutorials on how use the API?
How do you add IC2 items into recipes?
-
-
If you decompiled it correctly, I think you should be able to call items by name like you can normally with vanilla items.
-
If you decompiled it correctly, I think you should be able to call items by name like you can normally with vanilla items.
in a recipe i wrote this:
GameRegistry.addRecipe(new ItemStack(AdvCPU, 1), new Object []{
" A "," B "," A ",'A',IC"IC2Items.advancedCircuit,'B',Testmod.BasicCPU});
it says when hovering over 'advanced Circuit' = "advancedCircuit cannot be resolved or is not a field"Am i doing it right?
-
Items.getItem("advancedCircuit")
-
Items.getItem("advancedCircuit")
Thank you! I've been triying forever to add it in
-
i need some more help, how do i add an Macerator or compressor recipe?
I really think their should be an tutorial section for this kind of stuff, could someone please make one im hopeless at using this API
-
I believe a macerator recipe is: Ic2Recipes.addMaceratorRecipe(input, output); where input is the ItemStack being macerated and output is the ItemStack being output as a result of maceration.
For compressor it works exactly the same way: Ic2Recipes.addCompressorRecipe(input, output);
-
okay, thanks for the help