Posted July 21, 201312 yr I have made some custom block and item models. And i have ran the mod in eclipse just fine, but when I run it in minecraft, it gives me the following error: cpw.mods.fml.common.LoaderException: java.lang.NoSuchFieldError: textureWidth at cpw.mods.fml.common.LoadController.transition(LoadController.java:148) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:698) at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:222) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:506) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796) at net.minecraft.client.main.Main.main(SourceFile:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:57) at net.minecraft.launchwrapper.Launch.main(Launch.java:18) Caused by: java.lang.NoSuchFieldError: textureWidth at codelyoko.client.ModelTowerFloor.<init>(ModelTowerFloor.java:14) at codelyoko.client.TileEntityRenderTowerFloor.<clinit>(TileEntityRenderTowerFloor.java:22) at codelyoko.client.LyokoClientProxy.registerRenders(LyokoClientProxy.java:13) at codelyoko.common.Lyoko.load(Lyoko.java:98) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:540) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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:313) 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:193) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:173) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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:313) 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:104) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:697) ... 10 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.6.2 Operating System: Windows Vista (amd64) version 6.0 Java Version: 1.7.0_25, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 58727536 bytes (56 MB) / 285147136 bytes (271 MB) up to 954466304 bytes (910 MB) JVM Flags: 1 total; -Xmx1G AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Suspicious classes: FML and Forge are installed IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v8.04 FML v6.2.19.789 Minecraft Forge 9.10.0.789 8 mods loaded, 8 mods active mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized FML{6.2.19.789} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized Forge{9.10.0.789} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized codelyoko{1.0} [Code: CRAFT] (codecraft.zip) Unloaded->Constructed->Pre-initialized->Errored ComputerCraft{1.55} [ComputerCraft] (ComputerCraft1.55.zip) Unloaded->Constructed->Pre-initialized->Initialized CCTurtle{1.55} [ComputerCraft Turtles] (ComputerCraft1.55.zip) Unloaded->Constructed->Pre-initialized->Initialized mod_UgoCraft{MC1.6.2-2.0.0} [mod_UgoCraft] (UgoCraft_Client_MC1.6.2-2.0.0.zip) Unloaded->Constructed->Pre-initialized->Initialized mod_ZanMinimap{0.9.4} [Zan's Minimap] (ZansMinimap1.6.2.zip) Unloaded->Constructed->Pre-initialized->Initialized [shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]
July 21, 201312 yr Author I'd also like to note that this never happened until i moved the model files into my Cient package [shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]
July 21, 201312 yr recheck that the package names and location of all classes you moved are correctly updated then. And that the folder structure in the .zip file is the same as the package structure in eclipse. If you guys dont get it.. then well ya.. try harder...
July 21, 201312 yr When reobfuscating, use reobfuscate_srg.bat or reobfuscate_srg.sh rather than just reobfuscate.bat or reobfuscate.sh . Its what is recomended by VSWE (Steve's carts author). It works for me every time where using the one without _srg makes me crash. Lets make forge modding the best it can be!
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.