Jump to content

Mod Works fine in Eclipse and startclient, but not in MC /mods folder


fisherman77

Recommended Posts

I have made a mod in Eclipse and have no errors whatsoever. I run it from Eclipse all the time, and just successfully tested it to run fine in startclient, but when the .jar version of the mod is put in the /mods folder in the actual minecraft, the mod no longer functions and has this error on startup:

 

 

2012-09-29 11:07:21 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.1.26.387 for Minecraft client:1.3.2, server:1.3.2 loading
2012-09-29 11:07:21 [FINEST] [ForgeModLoader] All core mods are successfully located
2012-09-29 11:07:21 [FINEST] [ForgeModLoader] Discovering coremods
2012-09-29 11:07:21 [FINEST] [ForgeModLoader] Found library file argo-2.25.jar present and correct in lib dir

2012-09-29 11:07:21 [FINEST] [ForgeModLoader] Found library file guava-12.0.1.jar present and correct in lib dir

2012-09-29 11:07:21 [FINEST] [ForgeModLoader] Found library file asm-all-4.0.jar present and correct in lib dir

2012-09-29 11:07:22 [FINEST] [ForgeModLoader] Running coremod plugins
2012-09-29 11:07:22 [FINEST] [ForgeModLoader] Running coremod plugin FMLCorePlugin
2012-09-29 11:07:22 [FINEST] [ForgeModLoader] Coremod plugin FMLCorePlugin run successfully
2012-09-29 11:07:22 [FINEST] [ForgeModLoader] Running coremod plugin FMLForgePlugin
2012-09-29 11:07:22 [FINEST] [ForgeModLoader] Coremod plugin FMLForgePlugin run successfully
2012-09-29 11:07:22 [FINEST] [ForgeModLoader] Validating minecraft
2012-09-29 11:07:22 [FINEST] [ForgeModLoader] Minecraft validated, launching...
2012-09-29 11:07:24 [iNFO] [sTDOUT] 27 achievements
2012-09-29 11:07:25 [iNFO] [sTDOUT] 195 recipes
2012-09-29 11:07:25 [iNFO] [sTDOUT] Setting user: fisherman77, -3477632023963377354
2012-09-29 11:07:25 [iNFO] [sTDOUT] LWJGL Version: 2.4.2
2012-09-29 11:07:30 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization
2012-09-29 11:07:30 [iNFO] [sTDOUT] MinecraftForge v4.1.4.289 Initialized
2012-09-29 11:07:30 [iNFO] [ForgeModLoader] MinecraftForge v4.1.4.289 Initialized
2012-09-29 11:07:30 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization
2012-09-29 11:07:30 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer]
2012-09-29 11:07:31 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes
2012-09-29 11:07:31 [FINE] [ForgeModLoader] Skipping known library file /Users/Buck/Library/Application Support/minecraft/bin/lwjgl.jar
2012-09-29 11:07:31 [FINE] [ForgeModLoader] Skipping known library file /Users/Buck/Library/Application Support/minecraft/bin/jinput.jar
2012-09-29 11:07:31 [FINE] [ForgeModLoader] Skipping known library file /Users/Buck/Library/Application Support/minecraft/bin/lwjgl_util.jar
2012-09-29 11:07:31 [FINE] [ForgeModLoader] Found a minecraft related directory at /Users/Buck/Library/Application Support/minecraft/bin/minecraft.jar, examining for mod candidates
2012-09-29 11:07:31 [FINE] [ForgeModLoader] Skipping known library file /Users/Buck/Library/Application Support/minecraft/lib/argo-2.25.jar
2012-09-29 11:07:31 [FINE] [ForgeModLoader] Skipping known library file /Users/Buck/Library/Application Support/minecraft/lib/guava-12.0.1.jar
2012-09-29 11:07:31 [FINE] [ForgeModLoader] Skipping known library file /Users/Buck/Library/Application Support/minecraft/lib/asm-all-4.0.jar
2012-09-29 11:07:31 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully
2012-09-29 11:07:31 [iNFO] [ForgeModLoader] Searching /Users/Buck/Library/Application Support/minecraft/mods for mods
2012-09-29 11:07:31 [FINE] [ForgeModLoader] Ignoring unknown file .DS_Store in mods directory
2012-09-29 11:07:31 [FINE] [ForgeModLoader] Found a candidate mod directory [1.3.2]Zeuscraft-Hephaestus-V09.jar
2012-09-29 11:07:31 [FINE] [ForgeModLoader] Examining directory minecraft.jar for potential mods
2012-09-29 11:07:31 [FINE] [ForgeModLoader] No mcmod.info file found in directory minecraft.jar
2012-09-29 11:07:32 [FINEST] [ForgeModLoader] Recursing into package achievement
2012-09-29 11:07:33 [FINEST] [ForgeModLoader] Recursing into package armor
2012-09-29 11:07:33 [FINEST] [ForgeModLoader] Recursing into package art
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package com
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package com.jcraft
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package com.jcraft.jogg
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package com.jcraft.jorbis
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client.modloader
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client.registry
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.asm
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.asm.transformers
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.discovery
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.discovery.asm
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.event
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.functions
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.modloader
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.network
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.registry
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.toposort
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.versioning
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.relauncher
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.server
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package environment
2012-09-29 11:07:34 [FINEST] [ForgeModLoader] Recursing into package font
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package gui
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package gui.creative_inv
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package ibxm
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package item
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package lang
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package misc
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package mob
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package mob.enderdragon
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package mob.villager
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net.minecraft
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.server
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.classloading
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client.event
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client.event.sound
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.common
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.item
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.living
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.minecart
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.player
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.world
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.oredict
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.transformers
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package paulscode
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package paulscode.sound
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package paulscode.sound.codecs
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package paulscode.sound.libraries
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package terrain
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package title
2012-09-29 11:07:35 [FINEST] [ForgeModLoader] Recursing into package title.bg
2012-09-29 11:07:36 [FINE] [ForgeModLoader] Examining directory [1.3.2]Zeuscraft-Hephaestus-V09.jar for potential mods
2012-09-29 11:07:36 [FINE] [ForgeModLoader] No mcmod.info file found in directory [1.3.2]Zeuscraft-Hephaestus-V09.jar
2012-09-29 11:07:36 [FINEST] [ForgeModLoader] Recursing into package Zeuscraft
2012-09-29 11:07:36 [FINEST] [ForgeModLoader] Recursing into package Zeuscraft.GUI
2012-09-29 11:07:36 [FINEST] [ForgeModLoader] Recursing into package Zeuscraft.Mobs
2012-09-29 11:07:36 [FINEST] [ForgeModLoader] Recursing into package zcode
2012-09-29 11:07:36 [FINEST] [ForgeModLoader] Recursing into package zcode.client
2012-09-29 11:07:36 [FINEST] [ForgeModLoader] Recursing into package zcode.common
2012-09-29 11:07:36 [FINE] [ForgeModLoader] Identified an FMLMod type mod zcode.common.Zeuscraft
2012-09-29 11:07:36 [FINEST] [ForgeModLoader] Parsed dependency info : [] [] []
2012-09-29 11:07:36 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 3 mods to load
2012-09-29 11:07:36 [FINE] [ForgeModLoader] Received a system property request ''
2012-09-29 11:07:36 [FINE] [ForgeModLoader] System property request managing the state of 0 mods
2012-09-29 11:07:36 [FINE] [ForgeModLoader] After merging, found state information for 0 mods
2012-09-29 11:07:36 [FINE] [ForgeModLoader] Activating mod FML
2012-09-29 11:07:36 [FINE] [ForgeModLoader] Activating mod Forge
2012-09-29 11:07:36 [FINE] [ForgeModLoader] Enabling mod fisherman77_Zeuscraft
2012-09-29 11:07:36 [FINE] [ForgeModLoader] Activating mod fisherman77_Zeuscraft
2012-09-29 11:07:36 [FINE] [ForgeModLoader] Verifying mod requirements are satisfied
2012-09-29 11:07:36 [FINE] [ForgeModLoader] All mod requirements are satisfied
2012-09-29 11:07:36 [FINE] [ForgeModLoader] Sorting mods into an ordered list
2012-09-29 11:07:36 [FINE] [ForgeModLoader] Mod sorting completed successfully
2012-09-29 11:07:36 [FINE] [ForgeModLoader] Mod sorting data:
2012-09-29 11:07:36 [FINE] [ForgeModLoader] 	fisherman77_Zeuscraft(Zeuscraft:Hephaestus 0.9): [1.3.2]Zeuscraft-Hephaestus-V09.jar ()
2012-09-29 11:07:36 [FINER] [ForgeModLoader] Posting state event FMLConstructionEvent to mod FML
2012-09-29 11:07:36 [FINER] [ForgeModLoader] State event FMLConstructionEvent delivered to mod FML
2012-09-29 11:07:36 [FINER] [ForgeModLoader] Posting state event FMLConstructionEvent to mod Forge
2012-09-29 11:07:36 [FINER] [ForgeModLoader] State event FMLConstructionEvent delivered to mod Forge
2012-09-29 11:07:36 [FINER] [ForgeModLoader] Posting state event FMLConstructionEvent to mod fisherman77_Zeuscraft
2012-09-29 11:07:36 [FINEST] [ForgeModLoader] Testing mod fisherman77_Zeuscraft to very it can accept it's own version in a remote connection
2012-09-29 11:07:36 [FINEST] [ForgeModLoader] The mod fisherman77_Zeuscraft accepts it's own version (Hephaestus 0.9)
2012-09-29 11:07:36 [FINE] [ForgeModLoader] Attempting to inject @SidedProxy classes into fisherman77_Zeuscraft
2012-09-29 11:07:36 [iNFO] [sTDERR] Exception in thread "Minecraft main thread" java.lang.NoClassDefFoundError: Lnet/minecraft/src/Block;
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at java.lang.Class.getDeclaredFields0(Native Method)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at java.lang.Class.getDeclaredField(Class.java:1880)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:42)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:401)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Method.java:597)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:268)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:124)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Method.java:597)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:268)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:81)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at cpw.mods.fml.common.Loader.loadMods(Loader.java:458)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:143)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.a(Minecraft.java:414)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.run(Minecraft.java:746)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at java.lang.Thread.run(Thread.java:680)
2012-09-29 11:07:36 [iNFO] [sTDERR] Caused by: java.lang.ClassNotFoundException: net.minecraft.src.Block
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:125)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	... 30 more
2012-09-29 11:07:36 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at org.objectweb.asm.ClassReader.<init>(Unknown Source)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at cpw.mods.fml.common.asm.transformers.MarkerTransformer.transform(MarkerTransformer.java:95)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:162)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:118)
2012-09-29 11:07:36 [iNFO] [sTDERR] 	... 32 more

 

 

 

I'm pretty sure that I formatted the .jar file correctly, with the zcode/client/ZClientProxy.class and also another folder in zcode: zcode/common/the-rest-of-my-classes and finally with the Zeuscraft/ folder that contains my textures.

 

The weirdest thing is that the error leads you to believe the issue might be in Forge itself, not my mod, but when my mod is not in the /mods folder, Forge works fine

Link to comment
Share on other sites

think you might have renamed some packages for the normal minecraft code

Exception in thread "Minecraft main thread" java.lang.NoClassDefFoundError: Lnet/minecraft/src/Block;

should be net/minecraft/src/Block. Try rebuilding you mcp workspace and insert your code too make sure.

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.