Posted November 7, 201311 yr Hello, I was implementing Client and Common proxies into my base files, but I am getting this error when I start the minecraft The full crash: 2013-11-07 18:10:51 [sEVERE] [ForgeModLoader] Attempted to load a proxy type testmod.client.ClientProxy into testmod.Main.proxy, but the types don't match 2013-11-07 18:10:51 [sEVERE] [ForgeModLoader] An error occured trying to load a proxy into {clientSide=testmod.client.ClientProxy, serverSide=testmod.CommonProxy}.testmod.Main cpw.mods.fml.common.LoaderException at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:68) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:524) 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:194) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174) 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:105) at cpw.mods.fml.common.Loader.loadMods(Loader.java:509) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183) at net.minecraft.client.Minecraft.startGame(Minecraft.java:472) at net.minecraft.client.Minecraft.run(Minecraft.java:807) at net.minecraft.client.main.Main.main(Main.java:93) 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:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2013-11-07 18:10:51 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue 2013-11-07 18:10:51 [sEVERE] [ForgeModLoader] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed FML{6.4.20.916} [Forge Mod Loader] (bin) Unloaded->Constructed Forge{9.11.1.916} [Minecraft Forge] (bin) Unloaded->Constructed testmod{v0.1} [My testing mod] (bin) Unloaded->Errored 2013-11-07 18:10:51 [sEVERE] [ForgeModLoader] The following problems were captured during this phase 2013-11-07 18:10:51 [sEVERE] [ForgeModLoader] Caught exception from testmod cpw.mods.fml.common.LoaderException: cpw.mods.fml.common.LoaderException at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:75) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:524) 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:194) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174) 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:105) at cpw.mods.fml.common.Loader.loadMods(Loader.java:509) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183) at net.minecraft.client.Minecraft.startGame(Minecraft.java:472) at net.minecraft.client.Minecraft.run(Minecraft.java:807) at net.minecraft.client.main.Main.main(Main.java:93) 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:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) Caused by: cpw.mods.fml.common.LoaderException at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:68) ... 33 more 2013-11-07 18:10:51 [iNFO] [sTDOUT] ---- Minecraft Crash Report ---- 2013-11-07 18:10:51 [iNFO] [sTDOUT] // This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~] 2013-11-07 18:10:51 [iNFO] [sTDOUT] 2013-11-07 18:10:51 [iNFO] [sTDOUT] Time: 7.11.13 18:10 2013-11-07 18:10:51 [iNFO] [sTDOUT] Description: There was a severe problem during mod loading that has caused the game to fail 2013-11-07 18:10:51 [iNFO] [sTDOUT] 2013-11-07 18:10:51 [iNFO] [sTDOUT] cpw.mods.fml.common.LoaderException: cpw.mods.fml.common.LoaderException 2013-11-07 18:10:51 [iNFO] [sTDOUT] at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:75) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:524) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.loadMods(Loader.java:509) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:472) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:807) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) 2013-11-07 18:10:51 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2013-11-07 18:10:51 [iNFO] [sTDOUT] Caused by: cpw.mods.fml.common.LoaderException 2013-11-07 18:10:51 [iNFO] [sTDOUT] at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:68) 2013-11-07 18:10:51 [iNFO] [sTDOUT] ... 33 more 2013-11-07 18:10:51 [iNFO] [sTDOUT] 2013-11-07 18:10:51 [iNFO] [sTDOUT] 2013-11-07 18:10:51 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows: 2013-11-07 18:10:51 [iNFO] [sTDOUT] --------------------------------------------------------------------------------------- 2013-11-07 18:10:51 [iNFO] [sTDOUT] 2013-11-07 18:10:51 [iNFO] [sTDOUT] -- System Details -- 2013-11-07 18:10:51 [iNFO] [sTDOUT] Details: 2013-11-07 18:10:51 [iNFO] [sTDOUT] Minecraft Version: 1.6.4 2013-11-07 18:10:51 [iNFO] [sTDOUT] Operating System: Windows 7 (amd64) version 6.1 2013-11-07 18:10:51 [iNFO] [sTDOUT] Java Version: 1.7.0_45, Oracle Corporation 2013-11-07 18:10:51 [iNFO] [sTDOUT] Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation 2013-11-07 18:10:51 [iNFO] [sTDOUT] Memory: 774324816 bytes (738 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) 2013-11-07 18:10:51 [iNFO] [sTDOUT] JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M 2013-11-07 18:10:51 [iNFO] [sTDOUT] AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used 2013-11-07 18:10:51 [iNFO] [sTDOUT] Suspicious classes: FML and Forge are installed 2013-11-07 18:10:51 [iNFO] [sTDOUT] IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 2013-11-07 18:10:51 [iNFO] [sTDOUT] FML: MCP v8.11 FML v6.4.20.916 Minecraft Forge 9.11.1.916 4 mods loaded, 4 mods active 2013-11-07 18:10:51 [iNFO] [sTDOUT] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed 2013-11-07 18:10:51 [iNFO] [sTDOUT] FML{6.4.20.916} [Forge Mod Loader] (bin) Unloaded->Constructed 2013-11-07 18:10:51 [iNFO] [sTDOUT] Forge{9.11.1.916} [Minecraft Forge] (bin) Unloaded->Constructed 2013-11-07 18:10:51 [iNFO] [sTDOUT] testmod{v0.1} [My testing mod] (bin) Unloaded->Errored 2013-11-07 18:10:51 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Martin\Desktop\modding\forge\mcp\jars\.\crash-reports\crash-2013-11-07_18.10.51-client.txt My Common and Client classes are like this: testmod.CommonProxy testmod.client.ClientProxy And my annotation in my Main class is: @SidedProxy(clientSide = "testmod.client.ClientProxy", serverSide = "testmod.CommonProxy") If someone helps you, click that thank you button EasyTessellator library: http://www.minecraftforge.net/forum/index.php/topic,14705.0.html
November 7, 201311 yr We need more code to help you. 1) Where is your proxy variable declared? 2) Does your client proxy extend your common proxy's class? Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
November 7, 201311 yr Author Ok so I changed the ClientProxy to extend CommonProxy and the error is a bit different: 2013-11-07 19:38:23 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue 2013-11-07 19:38:23 [sEVERE] [ForgeModLoader] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed FML{6.4.20.916} [Forge Mod Loader] (bin) Unloaded->Constructed Forge{9.11.1.916} [Minecraft Forge] (bin) Unloaded->Constructed testmod{v0.1} [My testing mod] (bin) Unloaded->Errored 2013-11-07 19:38:23 [sEVERE] [ForgeModLoader] The following problems were captured during this phase 2013-11-07 19:38:23 [sEVERE] [ForgeModLoader] Caught exception from testmod java.lang.IllegalArgumentException: Can not set static testmod.CommonProxy field testmod.Main.proxy to testmod.Main at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source) at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source) at sun.reflect.UnsafeStaticObjectFieldAccessorImpl.set(Unknown Source) at java.lang.reflect.Field.set(Unknown Source) at cpw.mods.fml.common.FMLModContainer.parseSimpleFieldAnnotation(FMLModContainer.java:449) at cpw.mods.fml.common.FMLModContainer.processFieldAnnotations(FMLModContainer.java:382) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:525) 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:194) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174) 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:105) at cpw.mods.fml.common.Loader.loadMods(Loader.java:509) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183) at net.minecraft.client.Minecraft.startGame(Minecraft.java:472) at net.minecraft.client.Minecraft.run(Minecraft.java:807) at net.minecraft.client.main.Main.main(Main.java:93) 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:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2013-11-07 19:38:23 [iNFO] [sTDOUT] ---- Minecraft Crash Report ---- 2013-11-07 19:38:23 [iNFO] [sTDOUT] // Daisy, daisy... 2013-11-07 19:38:23 [iNFO] [sTDOUT] 2013-11-07 19:38:23 [iNFO] [sTDOUT] Time: 7.11.13 19:38 2013-11-07 19:38:23 [iNFO] [sTDOUT] Description: Initializing game 2013-11-07 19:38:23 [iNFO] [sTDOUT] 2013-11-07 19:38:23 [iNFO] [sTDOUT] java.lang.IllegalArgumentException: Can not set static testmod.CommonProxy field testmod.Main.proxy to testmod.Main 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.UnsafeStaticObjectFieldAccessorImpl.set(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at java.lang.reflect.Field.set(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at cpw.mods.fml.common.FMLModContainer.parseSimpleFieldAnnotation(FMLModContainer.java:449) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at cpw.mods.fml.common.FMLModContainer.processFieldAnnotations(FMLModContainer.java:382) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:525) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.loadMods(Loader.java:509) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:472) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:807) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2013-11-07 19:38:23 [iNFO] [sTDOUT] 2013-11-07 19:38:23 [iNFO] [sTDOUT] 2013-11-07 19:38:23 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows: 2013-11-07 19:38:23 [iNFO] [sTDOUT] --------------------------------------------------------------------------------------- 2013-11-07 19:38:23 [iNFO] [sTDOUT] 2013-11-07 19:38:23 [iNFO] [sTDOUT] -- Head -- 2013-11-07 19:38:23 [iNFO] [sTDOUT] Stacktrace: 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.UnsafeStaticObjectFieldAccessorImpl.set(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at java.lang.reflect.Field.set(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at cpw.mods.fml.common.FMLModContainer.parseSimpleFieldAnnotation(FMLModContainer.java:449) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at cpw.mods.fml.common.FMLModContainer.processFieldAnnotations(FMLModContainer.java:382) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:525) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.loadMods(Loader.java:509) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:472) 2013-11-07 19:38:23 [iNFO] [sTDOUT] 2013-11-07 19:38:23 [iNFO] [sTDOUT] -- Initialization -- 2013-11-07 19:38:23 [iNFO] [sTDOUT] Details: 2013-11-07 19:38:23 [iNFO] [sTDOUT] Stacktrace: 2013-11-07 19:38:23 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:807) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) 2013-11-07 19:38:23 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2013-11-07 19:38:23 [iNFO] [sTDOUT] 2013-11-07 19:38:23 [iNFO] [sTDOUT] -- System Details -- 2013-11-07 19:38:23 [iNFO] [sTDOUT] Details: 2013-11-07 19:38:23 [iNFO] [sTDOUT] Minecraft Version: 1.6.4 2013-11-07 19:38:23 [iNFO] [sTDOUT] Operating System: Windows 7 (amd64) version 6.1 2013-11-07 19:38:23 [iNFO] [sTDOUT] Java Version: 1.7.0_45, Oracle Corporation 2013-11-07 19:38:23 [iNFO] [sTDOUT] Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation 2013-11-07 19:38:23 [iNFO] [sTDOUT] Memory: 775128504 bytes (739 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) 2013-11-07 19:38:23 [iNFO] [sTDOUT] JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M 2013-11-07 19:38:23 [iNFO] [sTDOUT] AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used 2013-11-07 19:38:23 [iNFO] [sTDOUT] Suspicious classes: FML and Forge are installed 2013-11-07 19:38:23 [iNFO] [sTDOUT] IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 2013-11-07 19:38:23 [iNFO] [sTDOUT] FML: MCP v8.11 FML v6.4.20.916 Minecraft Forge 9.11.1.916 4 mods loaded, 4 mods active 2013-11-07 19:38:23 [iNFO] [sTDOUT] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed 2013-11-07 19:38:23 [iNFO] [sTDOUT] FML{6.4.20.916} [Forge Mod Loader] (bin) Unloaded->Constructed 2013-11-07 19:38:23 [iNFO] [sTDOUT] Forge{9.11.1.916} [Minecraft Forge] (bin) Unloaded->Constructed 2013-11-07 19:38:23 [iNFO] [sTDOUT] testmod{v0.1} [My testing mod] (bin) Unloaded->Errored 2013-11-07 19:38:23 [iNFO] [sTDOUT] Launched Version: 1.6 2013-11-07 19:38:23 [iNFO] [sTDOUT] LWJGL: 2.9.0 2013-11-07 19:38:23 [iNFO] [sTDOUT] OpenGL: AMD Radeon HD 5800 Series GL version 4.2.12422 Compatibility Profile Context 13.152.0.0, ATI Technologies Inc. 2013-11-07 19:38:23 [iNFO] [sTDOUT] Is Modded: Definitely; Client brand changed to 'fml,forge' 2013-11-07 19:38:23 [iNFO] [sTDOUT] Type: Client (map_client.txt) 2013-11-07 19:38:23 [iNFO] [sTDOUT] Resource Pack: Default 2013-11-07 19:38:23 [iNFO] [sTDOUT] Current Language: English (US) 2013-11-07 19:38:23 [iNFO] [sTDOUT] Profiler Position: N/A (disabled) 2013-11-07 19:38:23 [iNFO] [sTDOUT] Vec3 Pool Size: ~~ERROR~~ NullPointerException: null 2013-11-07 19:38:23 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Martin\Desktop\modding\forge\mcp\jars\.\crash-reports\crash-2013-11-07_19.38.23-client.txt And here is the Main class: package testmod; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.enchantment.Enchantment; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.FurnaceRecipes; import cpw.mods.fml.client.registry.ClientRegistry; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; import testmod.client.ClientProxy; @Mod(modid = Main.modid, name = "My testing mod", version = "v0.1") @NetworkMod(clientSideRequired = true, serverSideRequired = false) public class Main { @Instance(value = Main.modid) @SidedProxy(clientSide = "testmod.client.ClientProxy", serverSide = "testmod.CommonProxy") public static CommonProxy proxy; public static final String modid = "testmod"; //BLOCKS public static Block testBlock; public static Block specialBlock; public static Block replaceableBlock; public static Block ladderBlock; public static Block dirBlock; public static Block blockTE; public static Block blockDirWTileEntity; public static Block blockCustomModel; //ITEMS public static Item testItem; @EventHandler public void load(FMLInitializationEvent event){ //CREATING BLOCKS testBlock = new ModBlock(600, Material.rock, "testBlock") .setUnlocalizedName("testBlock") .setCreativeTab(CreativeTabs.tabBlock) .setHardness(1.5F) .setResistance(5.0F) .setLightValue(1.0F) .setStepSound(Block.soundMetalFootstep); specialBlock = new SpecialBlock(601, Material.glass, "specialBlock") .setUnlocalizedName("specialBlock") .setCreativeTab(CreativeTabs.tabBlock) .setHardness(1.5F) .setResistance(5.0F) .setStepSound(Block.soundGlassFootstep); replaceableBlock = new RplcBlock(602, Material.rock, "testBlock1") .setUnlocalizedName("replaceableBlock") .setCreativeTab(CreativeTabs.tabBlock) .setHardness(1.5F) .setResistance(5.0F) .setStepSound(Block.soundStoneFootstep); ladderBlock = new LadderBlock(603, Material.wood, "testBlock1") .setUnlocalizedName("replaceableBlock") .setCreativeTab(CreativeTabs.tabBlock) .setHardness(1.5F) .setResistance(5.0F) .setStepSound(Block.soundStoneFootstep); dirBlock = new BlockDirTest(604, Material.wood) .setUnlocalizedName("dirBlock") .setCreativeTab(CreativeTabs.tabBlock) .setHardness(0.5F) .setResistance(3.0F) .setStepSound(Block.soundWoodFootstep); blockTE = new BlockTE(605) .setUnlocalizedName("blockTE") .setCreativeTab(CreativeTabs.tabDecorations) .setHardness(0.5F) .setResistance(3.0F) .setStepSound(Block.soundStoneFootstep); blockDirWTileEntity = new BlockDirWTileEntity(606) .setUnlocalizedName("blockWOTE") .setCreativeTab(CreativeTabs.tabDecorations) .setHardness(0.5F) .setResistance(3.0F) .setStepSound(Block.soundStoneFootstep); blockCustomModel = new BlockCustomModel(607) .setUnlocalizedName("blockCustomModel") .setCreativeTab(CreativeTabs.tabBlock); //CREATING ITEMS testItem = new ModItem(650,"testItem") .setUnlocalizedName("testItem") .setCreativeTab(CreativeTabs.tabMisc) .setMaxStackSize(32); //SHAPELESS CRAFTING RECIPES GameRegistry.addShapelessRecipe(new ItemStack(testBlock), new Object[]{ new ItemStack(Item.dyePowder,1,4), new ItemStack(Item.dyePowder,1,0), new ItemStack(Item.dyePowder,1,15) }); //SHAPED CRAFTING RECIPES GameRegistry.addShapedRecipe(new ItemStack(ladderBlock,, new Object[]{ "X X", "XXX", "X X", 'X',testBlock }); //SMELTING RECIPES FurnaceRecipes.smelting().addSmelting(testItem.itemID, new ItemStack(ladderBlock,4), 200.0F); //ENCHANTED CRAFTING (doesn´t work) ItemStack enchSign = new ItemStack(Item.sign); enchSign.addEnchantment(Enchantment.knockback, 127); GameRegistry.addShapelessRecipe(enchSign, new Object[]{ new ItemStack(Block.stone,2) }); //GAME REGISTERY GameRegistry.registerBlock(dirBlock, ItemBlockDirTest.class, modid + (dirBlock.getUnlocalizedName().substring(5))); GameRegistry.registerBlock(testBlock, ItemTestBlock.class, modid + (testBlock.getUnlocalizedName().substring(5))); GameRegistry.registerBlock(specialBlock); GameRegistry.registerBlock(replaceableBlock); GameRegistry.registerBlock(ladderBlock); GameRegistry.registerBlock(blockTE); GameRegistry.registerBlock(blockDirWTileEntity); GameRegistry.registerBlock(blockCustomModel); //LANGUAGE REGISTRY LanguageRegistry.addName(new ItemStack(testBlock,1,0), "Test Block"); LanguageRegistry.addName(new ItemStack(testBlock,1,1), "Test Block1"); LanguageRegistry.addName(new ItemStack(testBlock,1,2), "Test Block2"); LanguageRegistry.addName(new ItemStack(testBlock,1,3), "Test Block3"); LanguageRegistry.addName(specialBlock, "Special Block"); LanguageRegistry.addName(replaceableBlock, "Replaceable Block"); LanguageRegistry.addName(ladderBlock, "Ladder Block"); LanguageRegistry.addName(testItem, "Test Item"); LanguageRegistry.addName(new ItemStack(dirBlock,1,0), "Directional Testing Block 1"); LanguageRegistry.addName(new ItemStack(dirBlock,1,1), "Directional Testing Block 2"); LanguageRegistry.addName(blockTE, "Block with Tile Entity"); LanguageRegistry.addName(blockDirWTileEntity, "Directional Test With Bounds"); LanguageRegistry.addName(blockCustomModel, "Custom Model Block"); } @EventHandler public void PostInit(FMLPostInitializationEvent event){ proxy.registerRenderers(); } } If someone helps you, click that thank you button EasyTessellator library: http://www.minecraftforge.net/forum/index.php/topic,14705.0.html
November 7, 201311 yr @Instance(value = Main.modid) @SidedProxy(clientSide = "testmod.client.ClientProxy", serverSide = "testmod.CommonProxy") These annotations can't be applied to the same field.
November 7, 201311 yr Author Thanks, I didn't noticed that. Now it works. Additional off topic question: Sometimes Minecraft throws this error, but the game doesn't crash: 2013-11-07 20:28:23 [sEVERE] [ForgeModLoader] A TileEntity type testmod.TileEntityCustomModel has throw an exception trying to write state. It will not persist. Report this to the mod author java.lang.RuntimeException: class testmod.TileEntityCustomModel is missing a mapping! This is a bug! at net.minecraft.tileentity.TileEntity.writeToNBT(TileEntity.java:108) at net.minecraft.world.chunk.storage.AnvilChunkLoader.writeChunkToNBT(AnvilChunkLoader.java:317) at net.minecraft.world.chunk.storage.AnvilChunkLoader.saveChunk(AnvilChunkLoader.java:127) at net.minecraft.world.gen.ChunkProviderServer.safeSaveChunk(ChunkProviderServer.java:232) at net.minecraft.world.gen.ChunkProviderServer.saveChunks(ChunkProviderServer.java:284) at net.minecraft.world.WorldServer.saveAllChunks(WorldServer.java:899) at net.minecraft.server.MinecraftServer.saveAllWorlds(MinecraftServer.java:360) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:124) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484) at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16) Do I have to fix it? If so, how do I fix it? If someone helps you, click that thank you button EasyTessellator library: http://www.minecraftforge.net/forum/index.php/topic,14705.0.html
November 7, 201311 yr Register your tile entity. GameRegistry.registerTileEntity(...) Do I have to fix it? Was "Report this to the mod author" and "This is a bug!" not enough of a clue? Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
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.