Jump to content

Testing mod integration in Eclipse?


codayus

Recommended Posts

So I've installed MCP and Forge and Eclipse, got everything set up, and started writing my mod.  I can hit the green Run button in Eclipse, Minecraft pops up, I can start a world, and see my new blocks and items.  Wonderful!

 

The problem is I'm writing a tech mod, and I'd like it to integrate with Buildcraft in general, and Thermal Expansion in particular.  So what I want is to not just have my mod loaded by Eclipse, but also Buildcraft and Thermal Expansion, so I can test whether, eg, my new ingots can be processed in TE machines quickly and easily.

 

I grabbed the Buildcraft source, dumped it into my src folder, and it seems to work.  But Thermal Expansion is closed source (and depends on a closed source coremod, CoFHCore to boot).  I don't want to decompile it or modify it in any way, I just want it to run so I can spawn in some TE blocks to see if they work properly with my mod, *without* needing to actually properly build my mod, obfuscate it, and fire up my actual minecraft install.

 

I heard the BON tool might help, but the closest I can get is a crash on load with this message:

 

 

java.lang.NoSuchMethodError: thermalexpansion.item.ItemTERoot.func_77637_a(Lnet/minecraft/creativetab/CreativeTabs;)Lnet/minecraft/item/Item;
at thermalexpansion.item.ItemTERoot.(ItemTERoot.java:19)
at thermalexpansion.item.tool.ItemWrench.(ItemWrench.java:19)
at thermalexpansion.item.TEItems.initialize(TEItems.java:43)
at thermalexpansion.ThermalExpansion.preInit(ThermalExpansion.java:174)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:494)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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:680)

 

 

Help?  :)

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.