-
[1.9] Stone Crash
My game is crashing whenever I run my mod -Crash Report- It seems I have registered stone again - yet I have never done anything involving stone at all! It references my main class so here it is: package com.Niobiumstar.init; import net.minecraft.entity.EnumCreatureType; 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.registry.EntityRegistry; import com.Niobiumstar.proxy.CommonProxy; @Mod(modid = SmiteMod.MODID, name = SmiteMod.MODNAME, version = SmiteMod.VERSION) public class SmiteMod { public static final String MODID = "smitemod"; public static final String MODNAME = "Smite Mod"; public static final String VERSION = "1.0.0"; public static final String FORGEVERSION = "1.9-12.16.0.1854"; @SidedProxy(clientSide="com.Niobiumstar.proxy.ClientProxy", serverSide="com.Niobiumstar.proxy.ServerProxy") public static CommonProxy proxy; @Instance public static SmiteMod instance = new SmiteMod(); public static Object modInstance; @EventHandler public void preInit(FMLPreInitializationEvent e) { ModBlocks.initBlocks(); ModBlocks.initItemBlocks(); ModItems.initItems(); ModItems.registerItems(); ModBlocks.registerBlocks(); ModEntities.registerEntities(); proxy.preInit(e); } @EventHandler public void init(FMLInitializationEvent e) { proxy.init(e); } @EventHandler public void postInit(FMLPostInitializationEvent e) { proxy.postInit(e); } } Thx
-
Main Class Crash?
Fixed - Created New Workspace and all works fine.
-
Main Class Crash?
I have a 'good' mod that I am working on where my entity isn't working very well. I created a new project to test out new ways of trying to do things, possibly finding ways to solve things in my main mod. However, whenever I try to run it, this happens. It says there is an error in the project, but doesn't tell me whatsoever. It's not in any of the classes i'm pretty sure.
-
Main Class Crash?
Umm, I started a test mod and it crashes ery time :'( Exception in thread "main" [15:45:04] [main/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: java.lang.reflect.InvocationTargetException [15:45:04] [main/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [15:45:04] [main/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [15:45:04] [main/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [15:45:04] [main/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.reflect.Method.invoke(Unknown Source) [15:45:04] [main/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [15:45:04] [main/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at GradleStart.main(GradleStart.java:26) [15:45:04] [main/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: Caused by: java.lang.NoSuchMethodError: com.google.common.base.Objects.firstNonNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; [15:45:04] [main/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.google.common.cache.CacheBuilder.getKeyStrength(CacheBuilder.java:529) [15:45:04] [main/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.google.common.cache.LocalCache.<init>(LocalCache.java:242) [15:45:04] [main/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.google.common.cache.LocalCache$LocalLoadingCache.<init>(LocalCache.java:4814) [15:45:04] [main/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.google.common.cache.CacheBuilder.build(CacheBuilder.java:789) [15:45:04] [main/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.fml.common.asm.ASMTransformerWrapper.<clinit>(ASMTransformerWrapper.java:39) [15:45:04] [main/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper.injectIntoClassLoader(CoreModManager.java:124) [15:45:04] [main/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [15:45:04] [main/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [15:45:04] [main/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: ... 6 more Any help?
IPS spam blocked by CleanTalk.