Posted March 5, 201312 yr I recently exported my mod and am now trying to get it to work on the client. I installed everything correctly but there is still an error. Here is the error: Error Log from Minecraft Client: 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\jacks_000\AppData\Roaming\.minecraft\crash-reports\crash-2013-03-04_21.22.28-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 11cf44c1 -------- Full report at: C:\Users\jacks_000\AppData\Roaming\.minecraft\crash-reports\crash-2013-03-04_21.22.28-client.txt Please show that file to Mojang, NOT just this screen! Generated 3/4/13 9:22 PM -- System Details -- Details: Minecraft Version: 1.4.7 Operating System: Windows 8 (amd64) version 6.2 Java Version: 1.7.0_13, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 368774032 bytes (351 MB) / 514523136 bytes (490 MB) up to 954466304 bytes (910 MB) JVM Flags: 2 total; -Xms512m -Xmx1024m 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.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 4 mods loaded, 4 mods active mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized JV's ToolPack [JV's ToolPack] (JV'sToolPack.zip) Unloaded->Constructed->Pre-initialized->Errored LWJGL: 2.4.2 OpenGL: AMD Radeon HD 7570 GL version 4.2.11750 Compatibility Profile Context, ATI Technologies Inc. Is Modded: Definitely; Client brand changed to 'forge,fml' 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.VerifyError: (class: tutorialtest/ItemTutorialHelmet, method: getArmorTextureFile signature: (Lur;)Ljava/lang/String;) Bad access to protected data at cpw.mods.fml.common.LoadController.transition(LoadController.java:117) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:658) at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:207) at net.minecraft.client.Minecraft.a(Minecraft.java:456) at asq.a(SourceFile:56) at net.minecraft.client.Minecraft.run(Minecraft.java:744) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.VerifyError: (class: tutorialtest/ItemTutorialHelmet, method: getArmorTextureFile signature: (Lur;)Ljava/lang/String;) Bad access to protected data at tutorialtest.mod_tutorial.load(mod_tutorial.java:182) 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:485) 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: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(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: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.initializeMods(Loader.java:657) ... 5 more --- END ERROR REPORT 967c111b ---------- Here is the line in my code it is referring to somewhere in the error code (Line 182 in mod_tutorial): TutorialHelmet = new ItemTutorialHelmet(508,EnumArmorMaterial.BLUE, ModLoader.addArmor("Tut"),0).setItemName("TutHelm").setIconIndex(0).setCreativeTab(tabJVCraft); Here is my ItemTutorialHelmet class: package tutorialtest; import net.minecraft.item.EnumArmorMaterial; import net.minecraft.item.ItemArmor; import net.minecraft.item.ItemStack; import net.minecraftforge.common.IArmorTextureProvider; public class ItemTutorialHelmet extends ItemArmor implements IArmorTextureProvider{ public ItemTutorialHelmet(int par1, EnumArmorMaterial par2EnumArmorMaterial, int par3, int par4) { super(par1, par2EnumArmorMaterial, par3, par4); } public String getTextureFile(){ return ClientProxy.ITEMS_PNG; } public String getArmorTextureFile(ItemStack par1){ if ( par1.itemID==mod_tutorial.TutorialHelmet.iconIndex|| par1.itemID==mod_tutorial.TutorialPlate.iconIndex|| par1.itemID==mod_tutorial.TutorialBoots.iconIndex){ return "/armor/Tut_1.png"; }if(par1.itemID==mod_tutorial.TutorialLegs.iconIndex){ return "/armor/Tut_2.png"; }return "/armor/Tut_1.png"; } } I hope you can help. Im really not sure what the problem is on this one. Any advice would be great. Also, if you need to see any more script ASK! I will gladly give you more!!
March 5, 201312 yr you messed up on putting the textures in the right place so check your spelling and if that doesn't work post your clientproxy Creator of Jobo's ModLoader If I helped you could you please click the thank you button and applaud my karma.
March 5, 201312 yr Author The weird thing is I have 8 armor sets all modded the same except for iconindex, texture, id, and name but still. This error only pops up for one item which is weird unless its just covering for all the others so if I were to fix this one the next one in line I need to fix would pop up also I don't know. Heres my client proxy you asked for: package tutorialtest; import cpw.mods.fml.client.registry.RenderingRegistry; import net.minecraftforge.client.MinecraftForgeClient; public class ClientProxy extends CommonProxy { public static String BLOCKS_PNG = "/tutorial/generic/block.png"; public static String ITEMS_PNG = "/tutorial/generic/items.png"; public static String FURNACE_PNG = "/tutorial/generic/furnace.png"; public static void registerRenderThings() { MinecraftForgeClient.preloadTexture(BLOCKS_PNG); MinecraftForgeClient.preloadTexture(ITEMS_PNG); MinecraftForgeClient.preloadTexture(FURNACE_PNG); } public int addArmor(String armor) { return RenderingRegistry.addNewArmourRendererPrefix(armor); } } And don't worry I have everything in the right place. If it weren't I would assume there would be more errors unless it only shows one error at a time. Just to make sure I have my tutorial/generic/items.png in my zipped folder(JV'sModPack) in the .minecraft/mods folder. I also have it in the .minecraft just incase it wasent loading from JV'sModPack. Hope you can help Jdb100 or whoever is there to help! Thanks!
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.