Jump to content

Use items from other mods


Assossagpb

Recommended Posts

Hello, I am creating a mod for my friend's modpack, which has mods like IC2, thermal expansion, and universal electricity. I do not want to create any new ores, so I want to use the items (like metals) from IC2 and others. Also, how do you make a NEI addon/plugin?

 

Thanks,

AssossaGPB

Link to comment
Share on other sites

That depends on what the mod's author supports. if he added it to the ore dictionary and you know the name it was added under, then yes. Else nope.

 

Generally you need to get the API or src from the mod's author ;)

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

ok, I now have the ic2 api installed, but when I start minecraft from eclipse, ic2 is not there. How am I supposed to test crafting recipes without any of the ic2 items? Can someone give me step by step please? I'm new to forge and I haven't modded for about a year.

Link to comment
Share on other sites

You have to download the ic2 universal, and drop it in the mods folder which is located at: mcp/jars/mods. If that doesn't work try adding CodeChickenCore to your mods folder. With CodeChickenCore installed you can load any other mod within eclipse.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

That's what you do on forums, you help people.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

I can't use any items from ic2 in my crafting recipes:

GameRegistry.addRecipe(new ItemStack(SimpleCircuit, 9), "TIT", "IRI", "TIT", 'T', Items.getItem("tinIngot"), 'I', Item.ingotIron, 'R', Block.blockRedstone);

 

I get this error:

 

2013-08-15 17:12:47 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue

2013-08-15 17:12:47 [sEVERE] [ForgeModLoader]

mcp{7.51} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized

FML{5.2.23.737} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized

Forge{7.8.1.737} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized

nanotech{0.0.1} [NanoTech] (bin) Unloaded->Constructed->Errored

IC2{1.115.348-lf} [industrialCraft 2] (industrialcraft-2-dev-deobf_1.115.348-lf.jar) Unloaded->Constructed->Pre-initialized

2013-08-15 17:12:47 [sEVERE] [ForgeModLoader] The following problems were captured during this phase

2013-08-15 17:12:47 [sEVERE] [ForgeModLoader] Caught exception from nanotech

java.lang.NullPointerException

at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:213)

at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:244)

at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:239)

at assossagpb.nanotech.common.ModInfo.crafting(ModInfo.java:34)

at assossagpb.nanotech.common.NanoTech.preInit(NanoTech.java:33)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:616)

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:494)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:616)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:192)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:172)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:616)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:103)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:515)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:163)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:411)

at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)

at net.minecraft.client.Minecraft.run(Minecraft.java:733)

at java.lang.Thread.run(Thread.java:679)

2013-08-15 17:12:47 [iNFO] [sTDERR] java.lang.NullPointerException

2013-08-15 17:12:47 [iNFO] [sTDERR] at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:213)

2013-08-15 17:12:47 [iNFO] [sTDERR] at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:244)

2013-08-15 17:12:47 [iNFO] [sTDERR] at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:239)

2013-08-15 17:12:47 [iNFO] [sTDERR] at assossagpb.nanotech.common.ModInfo.crafting(ModInfo.java:34)

2013-08-15 17:12:47 [iNFO] [sTDERR] at assossagpb.nanotech.common.NanoTech.preInit(NanoTech.java:33)

2013-08-15 17:12:47 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2013-08-15 17:12:47 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

2013-08-15 17:12:47 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2013-08-15 17:12:47 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Method.java:616)

2013-08-15 17:12:47 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:494)

2013-08-15 17:12:47 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2013-08-15 17:12:47 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

2013-08-15 17:12:47 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2013-08-15 17:12:47 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Method.java:616)

2013-08-15 17:12:47 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

2013-08-15 17:12:47 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2013-08-15 17:12:47 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

2013-08-15 17:12:47 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

2013-08-15 17:12:47 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267)

2013-08-15 17:12:47 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:192)

2013-08-15 17:12:47 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:172)

2013-08-15 17:12:47 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2013-08-15 17:12:47 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

2013-08-15 17:12:47 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2013-08-15 17:12:47 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Method.java:616)

2013-08-15 17:12:47 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

2013-08-15 17:12:47 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2013-08-15 17:12:47 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

2013-08-15 17:12:47 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

2013-08-15 17:12:47 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267)

2013-08-15 17:12:47 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:103)

2013-08-15 17:12:47 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:515)

2013-08-15 17:12:47 [iNFO] [sTDERR] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:163)

2013-08-15 17:12:47 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.startGame(Minecraft.java:411)

2013-08-15 17:12:47 [iNFO] [sTDERR] at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)

2013-08-15 17:12:47 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:733)

2013-08-15 17:12:47 [iNFO] [sTDERR] at java.lang.Thread.run(Thread.java:679)

 

Link to comment
Share on other sites

How do I get the ic2 source code? and how do I use the oredictionary?

 

For the first google it, for the second there are tutorials if you google it.

 

Also you may want to strat with a cup of java, here: http://courses.vswe.se/

 

 

personally, I didn't even create an account here until after i'd watched all of vswe's modding courses... i felt unqualified :)

or rather, i felt it was important i felt completely happy with the terminology and the environment and the processes before i started jumping in here...

[ that's not to say i felt intimidated by these forums, not at all... i just felt that was a minimum requirement to be a "beginning modder" than a "floundering n00b" :) ]

 

edit: caveat, that in no way means i'm qualified now, it just means i don't feel unqualified :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.