Jump to content

Recommended Posts

Posted

Hey, someone reported to me that when running their server, my mod Zero Quest crashes, so I ran a clean server on eclipse and got the same exact crash.

 

[08:31:58] [main/INFO] [GradleStart]: Extra: []
[08:31:59] [main/INFO] [GradleStart]: Running with arguments: [--tweakClass, net.minecraftforge.fml.common.launcher.FMLServerTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[08:31:59] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[08:31:59] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[08:31:59] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[08:31:59] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker
[08:31:59] [main/INFO] [FML]: Forge Mod Loader version 8.99.188.1495 for Minecraft 1.8 loading
[08:31:59] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre1.8.0_51
[08:31:59] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[08:32:00] [main/WARN] [FML]: The coremod codechicken.core.launch.CodeChickenCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[08:32:01] [main/WARN] [FML]: The coremod codechicken.lib.asm.CCLCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[08:32:01] [main/WARN] [FML]: The coremod codechicken.lib.asm.CCLCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[08:32:01] [main/WARN] [FML]: The coremod codechicken.nei.asm.NEICorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[08:32:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[08:32:01] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[08:32:01] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[08:32:01] [main/INFO] [GradleStart]: Injecting location in coremod codechicken.core.asm.MCPDeobfuscationTransformer.LoadPlugin
[08:32:01] [main/INFO] [GradleStart]: Injecting location in coremod codechicken.lib.asm.CCLCorePlugin
[08:32:01] [main/INFO] [GradleStart]: Injecting location in coremod codechicken.core.launch.CodeChickenCorePlugin
[08:32:01] [main/INFO] [GradleStart]: Injecting location in coremod codechicken.lib.asm.CCLCorePlugin
[08:32:01] [main/INFO] [GradleStart]: Injecting location in coremod codechicken.nei.asm.NEICorePlugin
[08:32:01] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[08:32:01] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[08:32:01] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[08:32:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[08:32:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[08:32:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[08:32:02] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[08:32:17] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[08:32:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[08:32:18] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[08:32:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[08:32:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[08:32:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[08:32:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[08:32:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[08:32:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[08:32:24] [main/INFO] [GradleStart]: Remapping AccessTransformer rules...
[08:32:24] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[08:32:24] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[08:32:31] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
[08:32:55] [server thread/INFO]: Starting minecraft server version 1.8
[08:32:57] [server thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[08:32:57] [server thread/INFO] [FML]: MinecraftForge v11.14.3.1495 Initialized
[08:32:58] [server thread/INFO] [FML]: Replaced 204 ore recipies
[08:33:00] [server thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[08:33:02] [server thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[08:33:02] [server thread/INFO] [FML]: Searching C:\Users\NovaPC\Desktop\ModStuff\Mods\ZeroQuest\eclipse\mods for mods
[08:33:02] [server thread/INFO] [FML]: Also searching C:\Users\NovaPC\Desktop\ModStuff\Mods\ZeroQuest\eclipse\mods\1.8 for mods
[08:33:36] [server thread/INFO] [FML]: Forge Mod Loader has identified 6 mods to load
[08:33:42] [server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, CodeChickenCore, NotEnoughItems, zero_quest] at CLIENT
[08:33:42] [server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, CodeChickenCore, NotEnoughItems, zero_quest] at SERVER
[08:33:49] [server thread/INFO] [FML]: Processing ObjectHolder annotations
[08:33:49] [server thread/INFO] [FML]: Found 384 ObjectHolder annotations
[08:33:50] [server thread/INFO] [FML]: Identifying ItemStackHolder annotations
[08:33:50] [server thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[08:33:53] [server thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[08:33:54] [server thread/INFO] [FML]: Applying holder lookups
[08:33:54] [server thread/INFO] [FML]: Holder lookups applied
[08:33:54] [server thread/INFO] [FML]: Injecting itemstacks
[08:33:54] [server thread/INFO] [FML]: Itemstack injection complete
[08:33:54] [server thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
[08:33:54] [server thread/ERROR] [FML]: 
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCH	mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
UCH	FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8-11.14.3.1495.jar) 
UCH	Forge{11.14.3.1495} [Minecraft Forge] (forgeSrc-1.8-11.14.3.1495.jar) 
UCH	CodeChickenCore{1.0.5.36} [CodeChicken Core] (minecraft.jar) 
UCH	NotEnoughItems{1.0.5.104} [Not Enough Items] (NotEnoughItems-1.8-1.0.5.104-dev.jar) 
UCE	zero_quest{v1.9.0} [Zero Quest] (bin) 
[08:33:54] [server thread/ERROR] [FML]: The following problems were captured during this phase
[08:33:54] [server thread/ERROR] [FML]: Caught exception from zero_quest
java.lang.NoClassDefFoundError: net/minecraft/client/renderer/block/statemap/IStateMapper
at net.novaviper.zeroquest.common.config.ConfigHandler.init(ConfigHandler.java:25) ~[ConfigHandler.class:?]
at net.novaviper.zeroquest.ZeroQuest.preInit(ZeroQuest.java:57) ~[ZeroQuest.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537) ~[FMLModContainer.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:550) [Loader.class:?]
at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88) [FMLServerHandler.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:355) [FMLCommonHandler.class:?]
at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:120) [DedicatedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:500) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_51]
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.renderer.block.statemap.IStateMapper
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]
... 34 more
Caused by: net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@4afcd809 from coremod FMLCorePlugin
at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:234) ~[forgeSrc-1.8-11.14.3.1495.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]
... 34 more
Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/renderer/block/statemap/IStateMapper for invalid side SERVER
at net.minecraftforge.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:49) ~[forgeSrc-1.8-11.14.3.1495.jar:?]
at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:230) ~[forgeSrc-1.8-11.14.3.1495.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]
... 34 more
[08:33:54] [server thread/ERROR]: Encountered an unexpected exception
net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/block/statemap/IStateMapper

at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:163) ~[LoadController.class:?]
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:553) ~[Loader.class:?]
at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88) ~[FMLServerHandler.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:355) ~[FMLCommonHandler.class:?]
at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:120) ~[DedicatedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:500) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_51]
Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/block/statemap/IStateMapper
at net.novaviper.zeroquest.common.config.ConfigHandler.init(ConfigHandler.java:25) ~[ConfigHandler.class:?]
at net.novaviper.zeroquest.ZeroQuest.preInit(ZeroQuest.java:57) ~[ZeroQuest.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537) ~[FMLModContainer.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) ~[LoadController.class:?]
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:550) ~[Loader.class:?]
... 5 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.renderer.block.statemap.IStateMapper
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]
at net.novaviper.zeroquest.common.config.ConfigHandler.init(ConfigHandler.java:25) ~[ConfigHandler.class:?]
at net.novaviper.zeroquest.ZeroQuest.preInit(ZeroQuest.java:57) ~[ZeroQuest.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537) ~[FMLModContainer.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) ~[LoadController.class:?]
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:550) ~[Loader.class:?]
... 5 more
Caused by: net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@4afcd809 from coremod FMLCorePlugin
at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:234) ~[forgeSrc-1.8-11.14.3.1495.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]
at net.novaviper.zeroquest.common.config.ConfigHandler.init(ConfigHandler.java:25) ~[ConfigHandler.class:?]
at net.novaviper.zeroquest.ZeroQuest.preInit(ZeroQuest.java:57) ~[ZeroQuest.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537) ~[FMLModContainer.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) ~[LoadController.class:?]
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:550) ~[Loader.class:?]
... 5 more
Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/renderer/block/statemap/IStateMapper for invalid side SERVER
at net.minecraftforge.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:49) ~[forgeSrc-1.8-11.14.3.1495.jar:?]
at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:230) ~[forgeSrc-1.8-11.14.3.1495.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]
at net.novaviper.zeroquest.common.config.ConfigHandler.init(ConfigHandler.java:25) ~[ConfigHandler.class:?]
at net.novaviper.zeroquest.ZeroQuest.preInit(ZeroQuest.java:57) ~[ZeroQuest.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537) ~[FMLModContainer.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) ~[LoadController.class:?]
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:550) ~[Loader.class:?]
... 5 more
[08:33:55] [server thread/ERROR]: This crash report has been saved to: C:\Users\NovaPC\Desktop\ModStuff\Mods\ZeroQuest\eclipse\.\crash-reports\crash-2015-07-24_08.33.54-server.txt

 

My code in the main class is like this:

 

package net.novaviper.zeroquest;

import java.io.File;

import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item.ToolMaterial;
import net.minecraftforge.common.util.EnumHelper;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.Mod.Instance;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
import net.novaviper.zeroquest.common.CommonProxy;
import net.novaviper.zeroquest.common.api.ZeroQuestAPI;
import net.novaviper.zeroquest.common.command.CommandZeroQuest;
import net.novaviper.zeroquest.common.config.ConfigEvent;
import net.novaviper.zeroquest.common.config.ConfigHandler;
import net.novaviper.zeroquest.common.creativetab.DarkQuestTab;
import net.novaviper.zeroquest.common.creativetab.ZeroQuestTab;
import net.novaviper.zeroquest.common.events.AchievementEvents;
import net.novaviper.zeroquest.common.events.BlastResistanceEvent;
import net.novaviper.zeroquest.common.events.FOVEvent;
import net.novaviper.zeroquest.common.events.FireEventHandler;
import net.novaviper.zeroquest.common.handlers.ConnectionHandler;
import net.novaviper.zeroquest.common.handlers.FuelHandler;
import net.novaviper.zeroquest.common.helper.LogHelper;
import net.novaviper.zeroquest.common.lib.Constants;
import net.novaviper.zeroquest.common.lib.IDs;
import net.novaviper.zeroquest.common.lib.OreDic;
import net.novaviper.zeroquest.common.lib.Registers;
import net.novaviper.zeroquest.common.message.PacketHandler;
import net.novaviper.zeroquest.common.world.WorldProviderDarkax;
import net.novaviper.zeroquest.common.world.WorldProviderNillax;
import net.novaviper.zeroquest.common.world.gen.WorldGenZQuest;

@Mod(modid = Constants.modid, name = Constants.name, version = Constants.version, useMetadata = true, guiFactory = Constants.guiFactory)
public class ZeroQuest {
@Instance(value = Constants.modid)
public static ZeroQuest instance;

@SidedProxy(clientSide = Constants.clientProxy, serverSide = Constants.serverProxy)
public static CommonProxy proxy;

// Put sounds from Sound in sounds.json

public static CreativeTabs ZeroTab;
public static CreativeTabs DarkTab;

public static ToolMaterial nileEssence;
public static ToolMaterial darkEssence;

@EventHandler
public void preInit(FMLPreInitializationEvent event) {
	ConfigHandler.init(new File(event.getModConfigurationDirectory().getAbsolutePath() + File.separator + Constants.modid + File.separator + Constants.modid + ".cfg"));
	if (Constants.DEF_MODCHECKER == true) {
		Registers.addFMLCommonEventBus(new ModVersionCheck(Constants.version, "ZeroQuest", Constants.isBeta));
	}
	LogHelper.info("-----PRE-CONTENT LOAD INITATING-----");
	LogHelper.info("Loading Main Stuff...");
	this.ZeroTab = new ZeroQuestTab(CreativeTabs.getNextID());
	if (Constants.DEF_DARKLOAD == true) {
		this.DarkTab = new DarkQuestTab(CreativeTabs.getNextID());
	}
	Registers.addGuiHandler(Constants.modid, proxy);
	proxy.registerMoreThings();
	LogHelper.info("Load Stuff Loaded Successfully!");
	LogHelper.info("Loading Block, Liquids, Recipes, Events and Items...");
	nileEssence = EnumHelper.addToolMaterial("NileEssence", 4, 4000, 20.0F, 4.0F, 30);
	ModBlocks.load();
	ModItems.load();
	ModEntities.loadCreatures();
	ModEntities.loadOthers();
	Registers.addForgeEventBus(new FOVEvent());
	Registers.addForgeEventBus(new BlastResistanceEvent());
	Registers.addFMLCommonEventBus(new ConfigEvent());
	ZeroQuestCrafting.loadRecipes();
	if (Constants.DEF_DARKLOAD == true) {
		darkEssence = EnumHelper.addToolMaterial("DarkEssence", 4, 5000, 21.0F, 5.0F, 40);
		ModBlocks.loadDarkBlocks();
		ModItems.loadDarkItems();
		ZeroQuestCrafting.loadDarkRecipes();
		ModEntities.loadDarkCreatures();
	}

	Registers.addFMLCommonEventBus(new ConnectionHandler());
	LogHelper.info("Blocks, Recipes, Entites, Events and Items Loaded Successfully!");
	LogHelper.info("-----PRE-CONTENT LOAD FINISHED-----");
}

@EventHandler
public void load(FMLInitializationEvent event) {
	LogHelper.info("-----CONTENT LOAD INITATING-----");
	LogHelper.info("Loading Packets...");
	PacketHandler.registerPackets();
	LogHelper.info("Packets Loaded Successfully!");
	LogHelper.info("Loading Renderers, Achievements, Biomes and Ore Dictionary...");
	OreDic.loadOre();
	ModAchievements.load();
	Registers.addFMLCommonEventBus(new AchievementEvents());
	ModBiomes.loadBiomes();
	if (event.getSide().isClient()) {
		Registers.addForgeEventBus(new FireEventHandler());
		ModBlocks.loadRenderers();
		ModItems.loadRenderers();
		proxy.registerStateMappings();
		if (Constants.DEF_DARKLOAD == true) {
			ModItems.loadDarkRenderers();
			ModBlocks.loadDarkRenderers();
			proxy.registerStateMappingsForDark();
		}
	}
	proxy.registerRenderThings();
	LogHelper.info("Renderers, Achievements, Biomes and Ore Dictionary Loaded Successfully!");
	LogHelper.info("Loading Crucial Stuff and Dimensions...");
	proxy.registerChestItems();
	Registers.addFuelHandler(new FuelHandler());
	Registers.addWorldGenerator(new WorldGenZQuest(), 0);
	ModEntities.loadSpawns();
	Registers.addDimensionProviderType(IDs.Nillax, WorldProviderNillax.class, false);
	Registers.addDimension(IDs.Nillax, IDs.Nillax);
	LogHelper.info("Crucial Stuff and Dimensions Loaded Successfully!");

	if (Constants.DEF_DARKLOAD == true) {
		LogHelper.warn("Dark Elemental Load is ENABLED!");
		LogHelper.info("Initating Dark Elemental Load!");
		ModBiomes.loadDarkBiomes();
		ModAchievements.loadDark();
		OreDic.loadDarkOre();
		Registers.addDimensionProviderType(IDs.Darkax, WorldProviderDarkax.class, false);
		Registers.addDimension(IDs.Darkax, IDs.Darkax);
		ModEntities.loadDarkSpawns();
		LogHelper.info("Dark Elements Loaded Successfully!");
	}
	else {
		LogHelper.warn("Dark Elemental Load is not ENABLED! Change configurations to enable!");
		LogHelper.info("Skipping Dark Elemental Load");

	}
	LogHelper.info("-----CONTENT LOAD FINSHED-----");
}

@EventHandler
public void PostInt(FMLPostInitializationEvent event) {
	LogHelper.info("-----POST-CONTENT LOAD INITATING-----");
	LogHelper.info("Loading Talents and Item Lists...");
	ZeroQuestAPI.breedList.registerItem(ModItems.dogTreat);
	ZeroQuestAPI.begNileList.registerItem(ModItems.toy);
	ZeroQuestAPI.begNileList.registerItem(ModItems.nileBone);
	if (Constants.DEF_DARKLOAD == true) {
		ZeroQuestAPI.begDarkList.registerItem(ModItems.darkBone);
	}
	ModTalents.loadTalents();
	LogHelper.info("Talents and Item Lists Loaded Successfully!");
	LogHelper.info("-----POST-CONTENT LOAD FINSHED-----");

}

@EventHandler
public void serverStart(FMLServerStartingEvent event) {
	LogHelper.info("-----SERVER CONTENT LOAD INITATING-----");
	LogHelper.info("Loading Commands...");
	Registers.addCommand(new CommandZeroQuest());
	LogHelper.info("Commands Loaded Successfully!");
	LogHelper.info("-----SERVER CONTENT LOAD FINSHED-----");

}
}

 

I moved it to where the renderer loaders are at and it still crashes. Anyone know why?

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

Posted

Also here is my Config Handler and Registers:

package net.novaviper.zeroquest.common.config;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

import net.minecraftforge.common.config.Configuration;
import net.novaviper.zeroquest.common.lib.Constants;
import net.novaviper.zeroquest.common.lib.IDs;
import net.novaviper.zeroquest.common.lib.Registers;

public class ConfigHandler {

// Add more Categories for GuiFactory\\
public static Configuration config;
public static final String CATEGORY_LOAD = "load";
public static final String CATEGORY_FUNCTION = "function";
public static final String CATEGORY_MISC = "miscellaneous";
public static final String CATEGORY_DIMENSION = "dimensions";
public static final String CATEGORY_BIOME = "biomes";

public static void init(File file) {
	config = new Configuration(file, Constants.configVersion);
	loadConfig();
	Registers.addFMLCommonEventBus(new ConfigEvent());
}

public static void loadConfig() {
	config.addCustomCategoryComment(CATEGORY_FUNCTION, "Here you can manage all mod and entity functions");
	config.addCustomCategoryComment(CATEGORY_LOAD, "Here you can manage what the mod loads into the game");
	config.addCustomCategoryComment(CATEGORY_MISC, "Here you can manage the miscellaneous functions of the mod");
	config.addCustomCategoryComment(CATEGORY_DIMENSION, "Here you can manage the mod's dimension factors");
	config.addCustomCategoryComment(CATEGORY_BIOME, "Here you can manage the mod's biome factors");

	//@formatter:off
	/*=================================Function Configurations==========================================*/
	//@formatter:on
	List<String> orderFunc = new ArrayList<String>();
	Constants.DEF_MODCHECKER = config.get(CATEGORY_FUNCTION, "ModCheck", Constants.DEF_MODCHECKER).setLanguageKey(Constants.guiKey + "ModCheck").getBoolean(Constants.DEF_MODCHECKER);
	orderFunc.add("ModCheck");
	Constants.DEF_HEALING = config.get(CATEGORY_FUNCTION, "Healing", Constants.DEF_HEALING).setLanguageKey(Constants.guiKey + "Healing").getBoolean(Constants.DEF_HEALING);
	orderFunc.add("Healing");
	Constants.DEF_SNOWSTEP = config.get(CATEGORY_FUNCTION, "SnowStep", Constants.DEF_SNOWSTEP).setLanguageKey(Constants.guiKey + "SnowStep").getBoolean(Constants.DEF_SNOWSTEP);
	orderFunc.add("SnowStep");
	Constants.DEF_GRASSSTEP = config.get(CATEGORY_FUNCTION, "GrassStep", Constants.DEF_GRASSSTEP).setLanguageKey(Constants.guiKey + "GrassStep").getBoolean(Constants.DEF_GRASSSTEP);
	orderFunc.add("GrassStep");

	config.setCategoryPropertyOrder(CATEGORY_FUNCTION, orderFunc);

	//@formatter:off
	/*=================================Load Configurations==========================================*/
	//@formatter:on
	List<String> orderLoad = new ArrayList<String>();
	Constants.DEF_DARKLOAD = config.get(CATEGORY_LOAD, "DarkElements", Constants.DEF_DARKLOAD).setLanguageKey(Constants.guiKey + "DarkElements").setRequiresMcRestart(true).getBoolean(Constants.DEF_DARKLOAD);
	orderLoad.add("DarkElements");
	Constants.DEF_STARTING_ITEMS = config.get(CATEGORY_LOAD, "StartingItems", Constants.DEF_STARTING_ITEMS).setLanguageKey(Constants.guiKey + "StartingItems").getBoolean(Constants.DEF_STARTING_ITEMS);
	orderLoad.add("StartingItems");

	config.setCategoryPropertyOrder(CATEGORY_LOAD, orderLoad);

	//@formatter:off
	/*=================================Miscellaneous Configurations==========================================*/
	//@formatter:on
	List<String> orderMisc = new ArrayList<String>();
	Constants.DEF_HOWL = config.get(CATEGORY_MISC, "Howl", Constants.DEF_HOWL).setLanguageKey(Constants.guiKey + "Howl").getBoolean(Constants.DEF_HOWL);
	orderMisc.add("Howl");
	Constants.DEF_IS_HUNGER_ON = config.get(CATEGORY_MISC, "HungerDecay", Constants.DEF_IS_HUNGER_ON).setLanguageKey(Constants.guiKey + "HungerDecay").getBoolean(Constants.DEF_IS_HUNGER_ON);
	orderMisc.add("HungerDecay");

	config.setCategoryPropertyOrder(CATEGORY_MISC, orderMisc);
	//@formatter:off
	/*=================================DimensionsConfigurations==========================================*/
	//@formatter:on
	List<String> orderDimensions = new ArrayList<String>();
	IDs.Nillax = config.get(CATEGORY_DIMENSION, "NillaxID", IDs.Nillax).setLanguageKey(Constants.guiKey + "NillaxID").setRequiresMcRestart(true).getInt(IDs.Nillax);
	orderDimensions.add("NillaxID");
	IDs.Darkax = config.get(CATEGORY_DIMENSION, "DarkaxID", IDs.Darkax).setLanguageKey(Constants.guiKey + "DarkaxID").setRequiresMcRestart(true).getInt(IDs.Darkax);
	orderDimensions.add("DarkaxID");

	config.setCategoryPropertyOrder(CATEGORY_DIMENSION, orderDimensions);

	//@formatter:off
	/*=================================BiomesConfigurations==========================================*/
	//@formatter:on
	List<String> orderBiomes = new ArrayList<String>();
	IDs.bioZone = config.get(CATEGORY_BIOME, "BioZoneID", IDs.bioZone).setLanguageKey(Constants.guiKey + "BioZoneID").setRequiresMcRestart(true).getInt(IDs.bioZone);
	orderBiomes.add("BioZoneID");
	IDs.redSeed = config.get(CATEGORY_BIOME, "RedSeedID", IDs.redSeed).setLanguageKey(Constants.guiKey + "RedSeedID").setRequiresMcRestart(true).getInt(IDs.redSeed);
	orderBiomes.add("RedSeedID");
	IDs.blueTaiga = config.get(CATEGORY_BIOME, "BlueTaigaID", IDs.blueTaiga).setLanguageKey(Constants.guiKey + "BlueTaigaID").setRequiresMcRestart(true).getInt(IDs.blueTaiga);
	orderBiomes.add("BlueTaigaID");
	IDs.blueTaigaHills = config.get(CATEGORY_BIOME, "BlueTaigaHillsID", IDs.blueTaigaHills).setLanguageKey(Constants.guiKey + "BlueTaigaHillsID").setRequiresMcRestart(true).getInt(IDs.blueTaigaHills);
	orderBiomes.add("BlueTaigaHillsID");
	IDs.blueColdTaiga = config.get(CATEGORY_BIOME, "BlueColdTaigaID", IDs.blueColdTaiga).setLanguageKey(Constants.guiKey + "BlueColdTaigaID").setRequiresMcRestart(true).getInt(IDs.blueColdTaiga);
	orderBiomes.add("BlueColdTaigaID");
	IDs.blueColdTaigaHills = config.get(CATEGORY_BIOME, "BlueColdTaigaHillsID", IDs.blueColdTaigaHills).setLanguageKey(Constants.guiKey + "BlueColdTaigaHillsID").setRequiresMcRestart(true).getInt(IDs.blueColdTaigaHills);
	orderBiomes.add("BlueColdTaigaHillsID");
	IDs.blueMegaTaiga = config.get(CATEGORY_BIOME, "BlueMegaTaigaID", IDs.blueMegaTaiga).setLanguageKey(Constants.guiKey + "BlueMegaTaigaID").setRequiresMcRestart(true).getInt(IDs.blueMegaTaiga);
	orderBiomes.add("BlueMegaTaigaID");
	IDs.blueMegaTaigaHills = config.get(CATEGORY_BIOME, "BlueMegaTaigaHillsID", IDs.blueMegaTaigaHills).setLanguageKey(Constants.guiKey + "BlueMegaTaigaHillsID").setRequiresMcRestart(true).getInt(IDs.blueMegaTaigaHills);
	orderBiomes.add("BlueMegaTaigaHillsID");
	IDs.pinkZone = config.get(CATEGORY_BIOME, "PinkZoneID", IDs.pinkZone).setLanguageKey(Constants.guiKey + "PinkZoneID").setRequiresMcRestart(true).getInt(IDs.pinkZone);
	orderBiomes.add("PinkZoneID");
	IDs.destroZone = config.get(CATEGORY_BIOME, "DestroZoneID", IDs.destroZone).setLanguageKey(Constants.guiKey + "DestroZoneID").setRequiresMcRestart(true).getInt(IDs.destroZone);
	orderBiomes.add("DestroZoneID");
	IDs.destroZoneHills = config.get(CATEGORY_BIOME, "DestroZoneHillsID", IDs.destroZoneHills).setLanguageKey(Constants.guiKey + "DestroZoneHillsID").setRequiresMcRestart(true).getInt(IDs.destroZoneHills);
	orderBiomes.add("DestroZoneHillsID");
	IDs.walRockland = config.get(CATEGORY_BIOME, "WalRocklandID", IDs.walRockland).setLanguageKey(Constants.guiKey + "WalRocklandID").setRequiresMcRestart(true).getInt(IDs.walRockland);
	orderBiomes.add("WalRocklandID");
	IDs.nileSavanna = config.get(CATEGORY_BIOME, "NileSavannaID", IDs.nileSavanna).setLanguageKey(Constants.guiKey + "NileSavannaID").setRequiresMcRestart(true).getInt(IDs.nileSavanna);
	orderBiomes.add("NileSavannaID");
	IDs.nileSavannaPlateau = config.get(CATEGORY_BIOME, "NileSavannaPlateauID", IDs.nileSavannaPlateau).setLanguageKey(Constants.guiKey + "NileSavannaPlateauID").setRequiresMcRestart(true).getInt(IDs.nileSavannaPlateau);
	orderBiomes.add("NileSavannaPlateauID");
	IDs.nileJungle = config.get(CATEGORY_BIOME, "NileJungleID", IDs.nileJungle).setLanguageKey(Constants.guiKey + "NileJungleID").setRequiresMcRestart(true).getInt(IDs.nileJungle);
	orderBiomes.add("NileJungleID");
	IDs.nileJungleHills = config.get(CATEGORY_BIOME, "NileJungleHillsID", IDs.nileJungleHills).setLanguageKey(Constants.guiKey + "NileJungleHillsID").setRequiresMcRestart(true).getInt(IDs.nileJungleHills);
	orderBiomes.add("NileJungleHillsID");
	IDs.nileJungleEdge = config.get(CATEGORY_BIOME, "NileJungleEdgeID", IDs.nileJungleEdge).setLanguageKey(Constants.guiKey + "NileJungleEdgeID").setRequiresMcRestart(true).getInt(IDs.nileJungleEdge);
	orderBiomes.add("NileJungleEdgeID");
	IDs.nileSwampland = config.get(CATEGORY_BIOME, "NileSwamplandID", IDs.nileSwampland).setLanguageKey(Constants.guiKey + "NileSwamplandID").setRequiresMcRestart(true).getInt(IDs.nileSwampland);
	orderBiomes.add("NileSwamplandID");
	IDs.nileMesa = config.get(CATEGORY_BIOME, "NileMesaID", IDs.nileMesa).setLanguageKey(Constants.guiKey + "NileMesaID").setRequiresMcRestart(true).getInt(IDs.nileMesa);
	orderBiomes.add("NileMesaID");
	IDs.nileMesaPlateau_F = config.get(CATEGORY_BIOME, "NileMesaPlateauFID", IDs.nileMesaPlateau_F).setLanguageKey(Constants.guiKey + "NileMesaPlateauFID").setRequiresMcRestart(true).getInt(IDs.nileMesaPlateau_F);
	orderBiomes.add("NileMesaPlateauFID");
	IDs.nileMesaPlateau = config.get(CATEGORY_BIOME, "NileMesaPlateauID", IDs.nileMesaPlateau).setLanguageKey(Constants.guiKey + "NileMesaPlateauID").setRequiresMcRestart(true).getInt(IDs.nileMesaPlateau);
	orderBiomes.add("NileMesaPlateauID");
	IDs.nileMountains = config.get(CATEGORY_BIOME, "NileMountainsID", IDs.nileMountains).setLanguageKey(Constants.guiKey + "NileMountainsID").setRequiresMcRestart(true).getInt(IDs.nileMountains);
	orderBiomes.add("NileMountainsID");
	IDs.nileMountainsEdge = config.get(CATEGORY_BIOME, "NileMountainsEdgeID", IDs.nileMountainsEdge).setLanguageKey(Constants.guiKey + "NileMountainsEdgeID").setRequiresMcRestart(true).getInt(IDs.nileMountainsEdge);
	orderBiomes.add("NileMountainsEdgeID");
	IDs.nileMountainsPlus = config.get(CATEGORY_BIOME, "NileMountainsPlusID", IDs.nileMountainsPlus).setLanguageKey(Constants.guiKey + "NileMountainsPlusID").setRequiresMcRestart(true).getInt(IDs.nileMountainsPlus);
	orderBiomes.add("NileMountainsPlusID");
	IDs.darkWasteland = config.get(CATEGORY_BIOME, "DarkaxBiomeID", IDs.darkWasteland).setLanguageKey(Constants.guiKey + "DarkaxBiomeID").setRequiresMcRestart(true).getInt(IDs.darkWasteland);
	orderBiomes.add("DarkaxBiomeID");

	config.setCategoryPropertyOrder(CATEGORY_BIOME, orderBiomes);

	if (config.hasChanged()) {
		config.save();
	}
}
}

 

package net.novaviper.zeroquest.common.lib;

import net.minecraft.block.Block;
import net.minecraft.block.properties.IProperty;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.block.statemap.StateMap;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.client.resources.model.ModelBakery;
import net.minecraft.client.resources.model.ModelResourceLocation;
import net.minecraft.client.settings.KeyBinding;
import net.minecraft.command.ICommand;
import net.minecraft.command.ServerCommandManager;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityList;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.server.MinecraftServer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.WorldProvider;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.common.DimensionManager;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidContainerRegistry;
import net.minecraftforge.fluids.FluidRegistry;
import net.minecraftforge.fluids.FluidStack;
import net.minecraftforge.fml.client.registry.ClientRegistry;
import net.minecraftforge.fml.client.registry.RenderingRegistry;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.common.IFuelHandler;
import net.minecraftforge.fml.common.IWorldGenerator;
import net.minecraftforge.fml.common.network.IGuiHandler;
import net.minecraftforge.fml.common.network.NetworkRegistry;
import net.minecraftforge.fml.common.registry.EntityRegistry;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.novaviper.zeroquest.common.api.interfaces.ITalent;
import net.novaviper.zeroquest.common.api.registry.TalentRegistry;
import net.novaviper.zeroquest.common.handlers.BucketHandler;

public class Registers {

public static final String tag = "EntityName";
public static int startEntityId = 300;

// Zero Quest Registers\\
public static void addGuiHandler(Object mod, IGuiHandler handler) {
	NetworkRegistry.INSTANCE.registerGuiHandler(mod, handler);
}

public static void addWorldGenerator(IWorldGenerator generator, int modGenerationWeight) {
	GameRegistry.registerWorldGenerator(generator, modGenerationWeight);
}

public static void addFuelHandler(IFuelHandler handler) {
	GameRegistry.registerFuelHandler(handler);
}

public static void addCommand(ICommand command) {
	MinecraftServer server = MinecraftServer.getServer();
	ServerCommandManager cmdman = (ServerCommandManager) server.getCommandManager();
	cmdman.registerCommand(command);
}

public static void addForgeEventBus(Object target) {
	MinecraftForge.EVENT_BUS.register(target);
}

public static void addFMLCommonEventBus(Object target) {
	FMLCommonHandler.instance().bus().register(target);
}

public static void addDimensionProviderType(int id, Class<? extends WorldProvider> provider, boolean keepLoaded) {
	DimensionManager.registerProviderType(id, provider, keepLoaded);
}

public static void addDimension(int id, int providerType) {
	DimensionManager.registerDimension(id, providerType);
}

// Block Registers\\
public static void addBlock(Block block, String name) {
	GameRegistry.registerBlock(block, name);
}

public static void addBlockWithClass(Block block, Class itemClass, String name) {
	GameRegistry.registerBlock(block, itemClass, name);
}

public static void addBlockRender(Block block, int metadata, String blockString, String location) {
	Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(block), metadata, new ModelResourceLocation(blockString, location));
}

// Entity Registers\\
public static void addEntitySpawn(Class entityClass, int weightedProb, int min, int max, EnumCreatureType typeOfCreature, BiomeGenBase... biomes) {
	EntityRegistry.addSpawn(entityClass, weightedProb, min, max, typeOfCreature, biomes);
}

public static void addEntity(Class entityClass, String saveName, int id, Object mod) {
	EntityRegistry.registerModEntity(entityClass, saveName, id, mod, 120, 1, true);
}

public static void addEntityEgg(Class<? extends Entity> entity, int main, int spots) {
	int id = getUniqueEntityId();
	EntityList.idToClassMapping.put(id, entity);
	EntityList.entityEggs.put(id, new EntityList.EntityEggInfo(id, main, spots));
}

public static void addTileEntity(Class entityTileClass, String saveName) {
	GameRegistry.registerTileEntity(entityTileClass, saveName);
}

public static void addProjectileEntity(Class entityClass, String saveName, int id, Object mod) {
	EntityRegistry.registerModEntity(entityClass, saveName, id, mod, 128, 1, true);
}

public static int getUniqueEntityId() {
	do {
		startEntityId++;
	}
	while (EntityList.getStringFromID(startEntityId) != null);

	return startEntityId;
}

// Item Registers\\
public static void addItem(Item item, String name) {
	GameRegistry.registerItem(item, name);
}

public static void addItemRender(Item item, int metadata, String itemString, String location) {
	Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, metadata, new ModelResourceLocation(itemString, location));
}

public static void addItemVariant(Item item, String... names) {
	ModelBakery.addVariantName(item, names);
}
// Liquids Registers\\
public static void putLiquidsInBuckets(Block liquid, Item liquidBucket) {
	BucketHandler.INSTANCE.buckets.put(liquid, liquidBucket);
}

// Talent Registers\\
public static void registerTalent(ITalent talent) {
	TalentRegistry.registerTalent(talent);
}

//Fluid Registers\\
public static void addFluidContainer(FluidStack stack, ItemStack filledContainer, ItemStack emptyContainer) {
	FluidContainerRegistry.registerFluidContainer(stack, filledContainer, emptyContainer);
}

public static void addFluid(Fluid fluid) {
	FluidRegistry.registerFluid(fluid);
}

// Recipes Registers\\
public static void addSmelting(ItemStack input, ItemStack output, float xp) {
	GameRegistry.addSmelting(input, output, xp);
}

public static void addShapedRecipe(ItemStack output, Object... params) {
	GameRegistry.addShapedRecipe(output, params);
}

public static void addShapelessRecipe(ItemStack output, Object... params) {
	GameRegistry.addShapelessRecipe(output, params);
}

public static void addRecipe(ItemStack output, Object... params) {
	GameRegistry.addRecipe(output, params);
}

// Client Registers\\
public static void addKeyBinding(KeyBinding key) {
	ClientRegistry.registerKeyBinding(key);
}

public static void bindTileEntitySpecialRenderer(Class<? extends TileEntity> tileentity, TileEntitySpecialRenderer render) {
	ClientRegistry.bindTileEntitySpecialRenderer(tileentity, render);
}

public static void addEntityRender(Class entityClass, Render render) {
	RenderingRegistry.registerEntityRenderingHandler(entityClass, render);
}

public static void addStateMapperToIgnore(Block block, IProperty property) {
	ModelLoader.setCustomStateMapper(block, (new StateMap.Builder()).addPropertiesToIgnore(new IProperty[] { property }).build());
}
}

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

Posted

Dude, it seems that you are trying to access IStateManager from the server side, go to the error locations line 57 in ConfigHandler as dictated by the crash code and attempt to fix it. Issues like these get infinitely harder without the actual IDE debugging for you, if you know what you are doing then you should be able to do it yourself. Try to scan through all peices of code ad use the search function to see which one uses IStateManager and fix that.

 

BTW your mod looks crazy immersive, I can't wait to see it released :D

if(pain == 0)

{

   gain = 0;

}

Posted

Instead of making all of those static methods in Registry, move them into your ClientProxy and make them non-static, at least all of the ones that access client-only classes such as the one registering custom state mappers.

 

The way you have it now, even if you only access those methods from the client side, the Registry class still tries to load all of the classes on the server because it thinks it will need them.

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.