yanksrock1019 Posted April 19, 2013 Share Posted April 19, 2013 I just finished my mod and reobfuscated, I also zipped up my class files and my textures into one zip. When I try to put it in the mods folder, though, so that forge can see it, it gives a long error code that tells me that it couldn't load the classes. HELP! Quote Don't tell me to learn the basics of java, I already know. Link to comment Share on other sites More sharing options...
yanksrock1019 Posted April 19, 2013 Author Share Posted April 19, 2013 I just finished my mod and reobfuscated, I also zipped up my class files and my textures into one zip. When I try to put it in the mods folder, though, so that forge can see it, it gives a long error code that tells me that it couldn't load the classes. HELP! Quote Don't tell me to learn the basics of java, I already know. Link to comment Share on other sites More sharing options...
Flenix Posted April 19, 2013 Share Posted April 19, 2013 Can you post up the error? Quote http://s13.postimg.org/z9mlly2av/siglogo.png[/img] My mods (Links coming soon) Cities | Roads | Remula | SilvaniaMod | MoreStats Link to comment Share on other sites More sharing options...
Flenix Posted April 19, 2013 Share Posted April 19, 2013 Can you post up the error? Quote http://s13.postimg.org/z9mlly2av/siglogo.png[/img] My mods (Links coming soon) Cities | Roads | Remula | SilvaniaMod | MoreStats Link to comment Share on other sites More sharing options...
yanksrock1019 Posted April 19, 2013 Author Share Posted April 19, 2013 Minecraft has crashed! ---------------------- Minecraft has stopped running because it encountered a problem; Failed to start game A full error report has been saved to C:\Users\Anthony\AppData\Roaming\.minecraft\crash-reports\crash-2013-04-19_19.42.54-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash --- BEGIN ERROR REPORT 9391fc6e -------- Full report at: C:\Users\Anthony\AppData\Roaming\.minecraft\crash-reports\crash-2013-04-19_19.42.54-client.txt Please show that file to Mojang, NOT just this screen! Generated 4/19/13 7:42 PM -- System Details -- Details: Minecraft Version: 1.5.1 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_13, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 755886992 bytes (720 MB) / 1029046272 bytes (981 MB) up to 1029046272 bytes (981 MB) JVM Flags: 2 total; -Xms1024M -Xms1024M 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 v7.44 FML v5.1.21.652 Minecraft Forge 7.7.1.652 4 mods loaded, 4 mods active mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed FML [Forge Mod Loader] (coremods) Unloaded->Constructed Forge [Minecraft Forge] (coremods) Unloaded->Constructed puplet [puplet_mod] (puplet.zip) Unloaded->Errored LWJGL: 2.4.2 OpenGL: Intel Bear Lake B GL version 1.4.0 - Build 8.15.10.1912, Intel Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Texture Pack: Default Profiler Position: N/A (disabled) Vec3 Pool Size: ~~ERROR~~ NullPointerException: null cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: mods.puplet.puplet_mod at cpw.mods.fml.common.LoadController.transition(LoadController.java:142) at cpw.mods.fml.common.Loader.loadMods(Loader.java:513) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:160) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:407) at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56) at net.minecraft.client.Minecraft.run(Minecraft.java:729) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: mods.puplet.puplet_mod at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:238) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:56) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:446) 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: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.propogateStateMessage(LoadController.java:165) 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: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:98) at cpw.mods.fml.common.Loader.loadMods(Loader.java:503) ... 5 more Caused by: java.lang.NullPointerException at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:227) ... 32 more --- END ERROR REPORT 8be0aee4 ---------- Quote Don't tell me to learn the basics of java, I already know. Link to comment Share on other sites More sharing options...
yanksrock1019 Posted April 19, 2013 Author Share Posted April 19, 2013 Minecraft has crashed! ---------------------- Minecraft has stopped running because it encountered a problem; Failed to start game A full error report has been saved to C:\Users\Anthony\AppData\Roaming\.minecraft\crash-reports\crash-2013-04-19_19.42.54-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash --- BEGIN ERROR REPORT 9391fc6e -------- Full report at: C:\Users\Anthony\AppData\Roaming\.minecraft\crash-reports\crash-2013-04-19_19.42.54-client.txt Please show that file to Mojang, NOT just this screen! Generated 4/19/13 7:42 PM -- System Details -- Details: Minecraft Version: 1.5.1 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_13, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 755886992 bytes (720 MB) / 1029046272 bytes (981 MB) up to 1029046272 bytes (981 MB) JVM Flags: 2 total; -Xms1024M -Xms1024M 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 v7.44 FML v5.1.21.652 Minecraft Forge 7.7.1.652 4 mods loaded, 4 mods active mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed FML [Forge Mod Loader] (coremods) Unloaded->Constructed Forge [Minecraft Forge] (coremods) Unloaded->Constructed puplet [puplet_mod] (puplet.zip) Unloaded->Errored LWJGL: 2.4.2 OpenGL: Intel Bear Lake B GL version 1.4.0 - Build 8.15.10.1912, Intel Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Texture Pack: Default Profiler Position: N/A (disabled) Vec3 Pool Size: ~~ERROR~~ NullPointerException: null cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: mods.puplet.puplet_mod at cpw.mods.fml.common.LoadController.transition(LoadController.java:142) at cpw.mods.fml.common.Loader.loadMods(Loader.java:513) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:160) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:407) at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56) at net.minecraft.client.Minecraft.run(Minecraft.java:729) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: mods.puplet.puplet_mod at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:238) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:56) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:446) 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: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.propogateStateMessage(LoadController.java:165) 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: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:98) at cpw.mods.fml.common.Loader.loadMods(Loader.java:503) ... 5 more Caused by: java.lang.NullPointerException at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:227) ... 32 more --- END ERROR REPORT 8be0aee4 ---------- Quote Don't tell me to learn the basics of java, I already know. Link to comment Share on other sites More sharing options...
Petersfun Posted April 20, 2013 Share Posted April 20, 2013 Post your source code so far the error is in your: mods.puplet.puplet_mod Quote Link to comment Share on other sites More sharing options...
Petersfun Posted April 20, 2013 Share Posted April 20, 2013 Post your source code so far the error is in your: mods.puplet.puplet_mod Quote Link to comment Share on other sites More sharing options...
yanksrock1019 Posted April 20, 2013 Author Share Posted April 20, 2013 That's the base mod, how do I post it anyway. Also, are the stuff like: ingotPuplet = new ingotPuplet(ingotPupletID).setUnlocalizedName("ingotPuplet"); supposed to go in the @Init or the @PreInit Quote Don't tell me to learn the basics of java, I already know. Link to comment Share on other sites More sharing options...
yanksrock1019 Posted April 20, 2013 Author Share Posted April 20, 2013 That's the base mod, how do I post it anyway. Also, are the stuff like: ingotPuplet = new ingotPuplet(ingotPupletID).setUnlocalizedName("ingotPuplet"); supposed to go in the @Init or the @PreInit Quote Don't tell me to learn the basics of java, I already know. Link to comment Share on other sites More sharing options...
Petersfun Posted April 20, 2013 Share Posted April 20, 2013 That's the base mod, how do I post it anyway. Also, are the stuff like: ingotPuplet = new ingotPuplet(ingotPupletID).setUnlocalizedName("ingotPuplet"); supposed to go in the @Init or the @PreInit ok i can see your doing configs for your id's, that portion of code goes in your @Init and needs to be changed to ingotPuplet = (new ingotPuplet(ingotPupletID)); Quote Link to comment Share on other sites More sharing options...
Petersfun Posted April 20, 2013 Share Posted April 20, 2013 That's the base mod, how do I post it anyway. Also, are the stuff like: ingotPuplet = new ingotPuplet(ingotPupletID).setUnlocalizedName("ingotPuplet"); supposed to go in the @Init or the @PreInit ok i can see your doing configs for your id's, that portion of code goes in your @Init and needs to be changed to ingotPuplet = (new ingotPuplet(ingotPupletID)); Quote Link to comment Share on other sites More sharing options...
yanksrock1019 Posted April 20, 2013 Author Share Posted April 20, 2013 Ok I see what you mean, but whats the difference weather I have the parenthesis around the new and stuff like that Quote Don't tell me to learn the basics of java, I already know. Link to comment Share on other sites More sharing options...
yanksrock1019 Posted April 20, 2013 Author Share Posted April 20, 2013 Ok I see what you mean, but whats the difference weather I have the parenthesis around the new and stuff like that Quote Don't tell me to learn the basics of java, I already know. Link to comment Share on other sites More sharing options...
yanksrock1019 Posted April 20, 2013 Author Share Posted April 20, 2013 What do you mean Quote Don't tell me to learn the basics of java, I already know. Link to comment Share on other sites More sharing options...
yanksrock1019 Posted April 20, 2013 Author Share Posted April 20, 2013 What do you mean Quote Don't tell me to learn the basics of java, I already know. Link to comment Share on other sites More sharing options...
yanksrock1019 Posted April 20, 2013 Author Share Posted April 20, 2013 I know what both are, but what do you mean they have to match Quote Don't tell me to learn the basics of java, I already know. Link to comment Share on other sites More sharing options...
yanksrock1019 Posted April 20, 2013 Author Share Posted April 20, 2013 I know what both are, but what do you mean they have to match Quote Don't tell me to learn the basics of java, I already know. Link to comment Share on other sites More sharing options...
NuclearFej Posted April 20, 2013 Share Posted April 20, 2013 For example, the java class net.minecraft.block.Block must be, and is, contained within a series of folders like so: net\minecraft\block\Block.java Edit: diesieben07 beat me to it. Quote Link to comment Share on other sites More sharing options...
NuclearFej Posted April 20, 2013 Share Posted April 20, 2013 For example, the java class net.minecraft.block.Block must be, and is, contained within a series of folders like so: net\minecraft\block\Block.java Edit: diesieben07 beat me to it. Quote Link to comment Share on other sites More sharing options...
yanksrock1019 Posted April 20, 2013 Author Share Posted April 20, 2013 For example, the java class net.minecraft.block.Block must be, and is, contained within a series of folders like so: net\minecraft\block\Block.java Edit: diesieben07 beat me to it. It does match Quote Don't tell me to learn the basics of java, I already know. Link to comment Share on other sites More sharing options...
yanksrock1019 Posted April 20, 2013 Author Share Posted April 20, 2013 For example, the java class net.minecraft.block.Block must be, and is, contained within a series of folders like so: net\minecraft\block\Block.java Edit: diesieben07 beat me to it. It does match Quote Don't tell me to learn the basics of java, I already know. Link to comment Share on other sites More sharing options...
yanksrock1019 Posted April 20, 2013 Author Share Posted April 20, 2013 Should I post my puplet_mod code, if so, how do I do this Quote Don't tell me to learn the basics of java, I already know. Link to comment Share on other sites More sharing options...
yanksrock1019 Posted April 20, 2013 Author Share Posted April 20, 2013 Should I post my puplet_mod code, if so, how do I do this Quote Don't tell me to learn the basics of java, I already know. Link to comment Share on other sites More sharing options...
Petersfun Posted April 20, 2013 Share Posted April 20, 2013 Petersfun: That has NOTHING to do with the error. yanksrock: You need to package your mod properly. Package structure needs to match the folder structure. lol i ment to say and you can change your code to look like that i just think it looks nicer also yanksrock post your source code copy paste it into a code bbcode and boom we can help you Quote Link to comment Share on other sites More sharing options...
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.