shucke Posted October 28, 2012 Posted October 28, 2012 I have just upgraded my mcp to 7.19 (MC 1.4.2) and downloaded the new forge versin for mc 1.4.2. now i replaced every error i could find. and was error free after a few fixes. now when i start minecraft it gives me the following error: 2012-10-28 18:24:36 [sEVERE] [ForgeModLoader] Caught exception from ElectricalEngineering java.lang.IllegalArgumentException: Can not set static mineconomy.common.BaseMineConomy field mineconomy.common.BaseMineConomy.MineConomyInstance to electricalengineering.common.BaseElectricalEngineering at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:146) at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:150) at sun.reflect.UnsafeStaticObjectFieldAccessorImpl.set(UnsafeStaticObjectFieldAccessorImpl.java:61) at java.lang.reflect.Field.set(Field.java:657) at cpw.mods.fml.common.FMLModContainer.parseSimpleFieldAnnotation(FMLModContainer.java:398) at cpw.mods.fml.common.FMLModContainer.processFieldAnnotations(FMLModContainer.java:324) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:418) 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:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140) 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:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83) at cpw.mods.fml.common.Loader.loadMods(Loader.java:478) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:150) at net.minecraft.client.Minecraft.startGame(Minecraft.java:420) at net.minecraft.client.Minecraft.run(Minecraft.java:752) at java.lang.Thread.run(Thread.java:662) and a couple more of these for the same reason. i am probarly missing something obvious here but does someone knows how to fix this? Quote http://www.minecraftforum.net/topic/1937703-162smpforge-pet-mastery-hatch-level-battle/
Kore Posted October 28, 2012 Posted October 28, 2012 Do you have a new furnace/machine in your mod? Because the newest forge has a new way of handling a container. Quote The Korecraft Mod
Ebilkill Posted October 28, 2012 Posted October 28, 2012 Have you added the mod name to your @Instance annotation? Like this: @Instance("ModId") public static BaseMineConomy MineConomyInstance; The ModId needs to be the same as the one in the @Mod annotation. Hope this helps! Quote
shucke Posted October 28, 2012 Author Posted October 28, 2012 Have you added the mod name to your @Instance annotation? Like this: Code: [select] @Instance("ModId") public static BaseMineConomy MineConomyInstance; The ModId needs to be the same as the one in the @Mod annotation. Hope this helps! I tried that but it didn't work. Do you have a new furnace/machine in your mod? Because the newest forge has a new way of handling a container. I do have containers in my mod... do you know how to handle them now? Quote http://www.minecraftforum.net/topic/1937703-162smpforge-pet-mastery-hatch-level-battle/
LexManos Posted October 29, 2012 Posted October 29, 2012 Its your @Instance Theres no way around it, write your @Instance annotation correct, with your correct ModId Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
Recommended Posts
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.