Sorry! Must have missed that tread.
Again, thanks a lot for the fast help! All problems solved!
One more perfectly happy GT Fan.
Greetz,
Sebastian
Sorry! Must have missed that tread.
Again, thanks a lot for the fast help! All problems solved!
One more perfectly happy GT Fan.
Greetz,
Sebastian
Works like a charm!
I added a new Runnable to your AfterGTPostLoad, just to be sure that nothing overwrites the recipes again.
Greg you are the best! Kudos to you!
One additional question though:
Is there any possibility to get the old GT Api for 1.5.2?
Greetz,
Sebastian
Taking a quick look inside the GregTech_API class, shows me just skimming comments and code is never a good idea.
Going to test it in my lunch break and get back to you.
Thanks a lot for the ultra fast reply! Please keep up the great work!
Greetz,
Sebastian
Hey there everybody!
A few days ago I added GregTech in all its glory to our little 1.5.2 FTB Unleashed Server. works like a charm and nearly everybody enjoys it.
But sadly I have three naggers who just won't shut up about the changed mixed metal ingot recipe. Sick of their constant whining I dabbled with
creating a mod to reintroduce these recipes.
@Init
public void load(FMLInitializationEvent event)
{
ItemStack mixedMetalIngotStack = ic2.api.item.Items.getItem("mixedMetalIngot");
mixedMetalIngotStack.stackSize = 2;
//TODO: Change componentes. Bread for testing purposes only!
GT_ModHandler.addShapelessCraftingRecipe(mixedMetalIngotStack, new Object[]{ Item.bread});
GT_ModHandler.addCraftingRecipe(mixedMetalIngotStack, new Object[]{" "," A "," ",'A',Item.bread});
}
Display More
Info: Mod recompiles & reobfuscates without any problems. ensured it loads after Ic2 and GregTech.
Adding recipes for any other item/block seems to work just fine only the mixed ingots seem to be an issue.
If you need any further infos please feel free to ask!
On another Note:
My eclipse tells me GregTech API has lots of faulty references.(eg: import net.minecraftforge.fluids.FluidStack; -> forge only offers net.minecraftforge.liquids.LiquidStack;)
Do I use an worng or outdated version of the GregTech API or is the API not for my Forge/Mincraft Version ?
Got the API from here. Forge Build 1.5.2-7.8.0.736 , MCP 7.51
Sorry if the question is stupidly easy to answer or was even answerd somewhere already. I tried using the search function but without any significant success and my modding experience is about 3 hours.
Thank you for your help!
Greetz,
Sebastian
PS.: Hope you can forgive me for my horrible english. It's not my native language.