Hallo,
could somebody say me how i can make a shaped recipe with Items from Industrial Craft 2 using the API
for example
RRR
RAR
RRR
R = Reactor chamber
A = Advanced Machine Block
thanks for help
Alexander Prod.
Hallo,
could somebody say me how i can make a shaped recipe with Items from Industrial Craft 2 using the API
for example
RRR
RAR
RRR
R = Reactor chamber
A = Advanced Machine Block
thanks for help
Alexander Prod.
Having never coded an addon for IC2, I'm not sure, but I believe it would be
GameRegistry.addCraftingRecipe(new ItemStack(/*your item here*/), new Object[]{ "RRR", "RAR", "RRR", 'A', Items.getItem("Advanced Machine" /*not certain if this is the right name*/), 'R', Items.getItem("Reactor Chamber")});
Also, this should probably go in Addon Discussion rather than the published Addon section.
just use a call to Items.java in the API for the ic2 items.
Having never coded an addon for IC2, I'm not sure, but I believe it would be
GameRegistry.addCraftingRecipe(new ItemStack(/*your item here*/), new Object[]{ "RRR", "RAR", "RRR", 'A', Items.getItem("Advanced Machine" /*not certain if this is the right name*/), 'R', Items.getItem("Reactor Chamber")});
Also, this should probably go in Addon Discussion rather than the published Addon section.
thanks bro !