Mod Crashing

Started by Art602 on Sun, 04/24/2016 - 20:35

Topic category: Help with MCreator modding

Last seen on 17:42, 17. Apr 2017
Joined Jan 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Mod Crashing
Sun, 04/24/2016 - 20:35

My mod The Adventure Mod which I JUST updated using MCreator v1.6.6 crashes Minecraft when I open a world or join a server plz help. :(

Last seen on 12:59, 12. Apr 2019
Joined Dec 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Crash log?
Sun, 04/24/2016 - 20:38

Crash log?

Last seen on 17:42, 17. Apr 2017
Joined Jan 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
This is from the test client:
Sun, 04/24/2016 - 21:18

This is from the test client:

BOOTING UP GRADLE...
Data loaded, MCreator gradle console ready [ver 1.007]! [boot took 1 milliseconds]
RIGHT click once to copy log to the clipboard or twice to clear the log.
   
Executing gradle command: clean runClient
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator166>cd forge
C:\Pylo\MCreator166\forge>SET "JAVA_HOME=C:\Pylo\MCreator166\jdk32\"
C:\Pylo\MCreator166\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator166\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator166\forge>SET "JAVA_OPTS=-Xmx1024m -Xms512m"
C:\Pylo\MCreator166\forge>gradlew clean runClient
This mapping 'stable_20' was designed for MC 1.8.8! Use at your own peril.
#################################################
         ForgeGradle 2.1-SNAPSHOT-da90449        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
               Powered by MCP unknown               
             http://modcoderpack.com             
         by: Searge, ProfMobius, Fesh0r,         
         R4wk, ZeuX, IngisKahn, bspkrs           
#################################################
:clean
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
:compileJava
:processResources
:classes
:jar
:getVersionJson
:extractNatives SKIPPED
:extractUserdev UP-TO-DATE
:getAssetIndex UP-TO-DATE
:getAssets
Current status: 543/734   73%
:makeStart
:runClient
2016-04-24 17:19:03,512 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2016-04-24 17:19:03,512 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[17:19:03] [main/INFO] [GradleStart]: Extra: []
[17:19:03] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --accessToken{REDACTED}, --assetIndex, 1.8, --assetsDir, C:/Users/Art602/.gradle/caches/minecraft/assets, --version, 1.8.9, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[17:19:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[17:19:03] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[17:19:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[17:19:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[17:19:03] [main/INFO] [FML]: Forge Mod Loader version 11.15.1.1722 for Minecraft 1.8.9 loading
[17:19:03] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.7.0_60, running on Windows 8.1:x86:6.3, installed at C:\Pylo\MCreator166\jdk32\jre
[17:19:03] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[17:19:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[17:19:03] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[17:19:03] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[17:19:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:19:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[17:19:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[17:19:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:19:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:19:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[17:19:03] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[17:19:04] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[17:19:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[17:19:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[17:19:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[17:19:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[17:19:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[17:19:04] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
2016-04-24 17:19:04,888 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2016-04-24 17:19:04,909 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2016-04-24 17:19:04,910 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[17:19:05] [Client thread/INFO]: Setting user: Player640
[17:19:06] [Client thread/INFO]: LWJGL Version: 2.9.4
[17:19:07] [Client thread/WARN] [FML]: =============================================================
[17:19:07] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
[17:19:07] [Client thread/WARN] [FML]: Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V
[17:19:07] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead
[17:19:07] [Client thread/WARN] [FML]: =============================================================
[17:19:07] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246
// Sorry :(
Time: 4/24/16 5:19 PM
Description: Loading screen debug info
This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
    Minecraft Version: 1.8.9
    Operating System: Windows 8.1 (x86) version 6.3
    Java Version: 1.7.0_60, Oracle Corporation
    Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    Memory: 80299896 bytes (76 MB) / 171216896 bytes (163 MB) up to 259522560 bytes (247 MB)
    JVM Flags: 0 total;
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML:
    Loaded coremods (and transformers):
    GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 20.19.15.4331' Renderer: 'Intel(R) HD Graphics 4600'
[17:19:07] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1722 Initialized
[17:19:07] [Client thread/INFO] [FML]: Replaced 204 ore recipies
[17:19:07] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[17:19:07] [Client thread/INFO] [FML]: Searching C:\Pylo\MCreator166\forge\run\mods for mods
[17:19:08] [Client thread/INFO] [TestEnvironmentMod]: Mod TestEnvironmentMod is missing the required element 'name'. Substituting TestEnvironmentMod
[17:19:08] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[17:19:08] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, TestEnvironmentMod] at CLIENT
[17:19:08] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, TestEnvironmentMod] at SERVER
[17:19:09] [Client thread/WARN] [FML]: The mod FMLMod:TestEnvironmentMod{1.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.
[17:19:09] [Client thread/WARN] [FML]: The mod FMLMod:TestEnvironmentMod{1.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.
[17:19:09] [Client thread/WARN] [FML]: The mod FMLMod:TestEnvironmentMod{1.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.
[17:19:09] [Client thread/WARN] [FML]: The mod FMLMod:TestEnvironmentMod{1.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.
[17:19:09] [Client thread/WARN] [FML]: The mod FMLMod:TestEnvironmentMod{1.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.
[17:19:09] [Client thread/WARN] [FML]: The mod FMLMod:TestEnvironmentMod{1.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.
[17:19:09] [Client thread/WARN] [FML]: The mod FMLMod:TestEnvironmentMod{1.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.
[17:19:09] [Client thread/WARN] [FML]: The mod FMLMod:TestEnvironmentMod{1.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.
[17:19:09] [Client thread/WARN] [FML]: The mod FMLMod:TestEnvironmentMod{1.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.
[17:19:09] [Client thread/WARN] [FML]: The mod FMLMod:TestEnvironmentMod{1.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.
[17:19:09] [Client thread/WARN] [FML]: The mod FMLMod:TestEnvironmentMod{1.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.
[17:19:09] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TestEnvironmentMod
[17:19:09] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[17:19:09] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
[17:19:09] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[17:19:09] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[17:19:09] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[17:19:09] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotio…
[17:19:09] [Client thread/INFO] [FML]: Applying holder lookups
[17:19:09] [Client thread/INFO] [FML]: Holder lookups applied
[17:19:09] [Client thread/INFO] [FML]: Injecting itemstacks
[17:19:09] [Client thread/INFO] [FML]: Itemstack injection complete
[17:19:09] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null
[17:19:09] [Sound Library Loader/INFO]: Starting up SoundSystem...
[17:19:10] [Thread-9/INFO]: Initializing LWJGL OpenAL
[17:19:10] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[17:19:10] [Thread-9/INFO]: OpenAL initialized.
[17:19:10] [Sound Library Loader/INFO]: Sound engine started
[17:19:10] [Client thread/WARN]: File testenvironmentmod:sounds/Art602 Voice.m4a.ogg does not exist, cannot add it to event testenvironmentmod:mod.art602.talk
[17:19:10] [Client thread/WARN]: File testenvironmentmod:sounds/Art602 Hurt.m4a.ogg does not exist, cannot add it to event testenvironmentmod:mod.art602.hurt
[17:19:10] [Client thread/WARN]: File testenvironmentmod:sounds/Art602 Death.m4a.ogg does not exist, cannot add it to event testenvironmentmod:mod.art602.death
[17:19:14] [Client thread/INFO] [FML]: Max texture size: 16384
[17:19:14] [Client thread/INFO]: Created: 16x16 textures-atlas
[17:19:15] [Client thread/INFO] [FML]: OBJLoader: Domain testenvironmentmod has been added.
[17:19:15] [Client thread/INFO] [FML]: Injecting itemstacks
[17:19:15] [Client thread/INFO] [FML]: Itemstack injection complete
[17:19:15] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[17:19:15] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TestEnvironmentMod
[17:19:15] [Client thread/INFO]: SoundSystem shutting down...
[17:19:15] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[17:19:15] [Sound Library Loader/INFO]: Starting up SoundSystem...
[17:19:15] [Thread-11/INFO]: Initializing LWJGL OpenAL
[17:19:15] [Thread-11/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[17:19:15] [Thread-11/INFO]: OpenAL initialized.
[17:19:16] [Sound Library Loader/INFO]: Sound engine started
[17:19:16] [Client thread/WARN]: File testenvironmentmod:sounds/Art602 Voice.m4a.ogg does not exist, cannot add it to event testenvironmentmod:mod.art602.talk
[17:19:16] [Client thread/WARN]: File testenvironmentmod:sounds/Art602 Hurt.m4a.ogg does not exist, cannot add it to event testenvironmentmod:mod.art602.hurt
[17:19:16] [Client thread/WARN]: File testenvironmentmod:sounds/Art602 Death.m4a.ogg does not exist, cannot add it to event testenvironmentmod:mod.art602.death
[17:19:19] [Client thread/INFO] [FML]: Max texture size: 16384
[17:19:20] [Client thread/INFO]: Created: 512x512 textures-atlas
[17:19:20] [Client thread/ERROR] [FML]: Exception loading model for variant testenvironmentmod:happyland_trigger#inventory
java.lang.Exception: Could not load model definition for variant testenvironmentmod:happyland_trigger#inventory
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:219) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:256) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:120) ~[ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:130) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:772) [Minecraft.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:326) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_60]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_60]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_60]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_60]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model testenvironmentmod:blockstates/happyland_trigger.json
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
    ... 22 more
Caused by: java.io.FileNotFoundException: testenvironmentmod:blockstates/happyland_trigger.json
    at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
    ... 22 more
[17:19:20] [Client thread/ERROR] [FML]: Exception loading model for variant testenvironmentmod:happyland_portal#inventory
java.lang.Exception: Could not load model definition for variant testenvironmentmod:happyland_portal#inventory
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:219) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:256) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:120) ~[ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:130) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:772) [Minecraft.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:326) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_60]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_60]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_60]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_60]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model testenvironmentmod:blockstates/happyland_portal.json
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
    ... 22 more
Caused by: java.io.FileNotFoundException: testenvironmentmod:blockstates/happyland_portal.json
    at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
    ... 22 more
[17:19:20] [Client thread/ERROR] [FML]: Exception loading model for variant testenvironmentmod:happyland_portal#axis=z
java.lang.Exception: Could not load model definition for variant testenvironmentmod:happyland_portal#axis=z
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:219) ~[ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelBakery.loadVariants(ModelBakery.java:109) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:174) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:119) ~[ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:130) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:772) [Minecraft.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:326) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_60]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_60]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_60]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_60]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model testenvironmentmod:blockstates/happyland_portal.json
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
    ... 23 more
Caused by: java.io.FileNotFoundException: testenvironmentmod:blockstates/happyland_portal.json
    at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
    ... 23 more
[17:19:20] [Client thread/ERROR] [FML]: Exception loading model for variant testenvironmentmod:happyland_portal#axis=x
java.lang.Exception: Could not load model definition for variant testenvironmentmod:happyland_portal#axis=x
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:219) ~[ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelBakery.loadVariants(ModelBakery.java:109) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:174) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:119) ~[ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:130) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:772) [Minecraft.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:326) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_60]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_60]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_60]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_60]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model testenvironmentmod:blockstates/happyland_portal.json
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
    ... 23 more
Caused by: java.io.FileNotFoundException: testenvironmentmod:blockstates/happyland_portal.json
    at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
    ... 23 more
[17:19:20] [Client thread/ERROR] [FML]: Supressed additional 8 model loading errors for domain testenvironmentmod
[17:19:21] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
[17:19:25] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
[17:19:25] [Server thread/INFO]: Starting integrated minecraft server version 1.8.9
[17:19:25] [Server thread/INFO]: Generating keypair
[17:19:25] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[17:19:25] [Server thread/INFO] [FML]: Applying holder lookups
[17:19:25] [Server thread/INFO] [FML]: Holder lookups applied
[17:19:25] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@1ecb022)
[17:19:26] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.util.ReportedException: Exception initializing level
    at net.minecraft.world.WorldServer.initialize(WorldServer.java:816) ~[WorldServer.class:?]
    at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:90) ~[IntegratedServer.class:?]
    at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:127) ~[IntegratedServer.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:508) [MinecraftServer.class:?]
    at java.lang.Thread.run(Thread.java:745) [?:1.7.0_60]
Caused by: java.lang.IllegalArgumentException: n must be positive
    at java.util.Random.nextInt(Random.java:300) ~[?:1.7.0_60]
    at mod.mcreator.mcreator_sapphireOre.generateSurface(mcreator_sapphireOre.java:131) ~[mcreator_sapphireOre.class:?]
    at mod.mcreator.TestEnvironmentMod.generate(TestEnvironmentMod.java:339) ~[TestEnvironmentMod.class:?]
    at net.minecraftforge.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:112) ~[GameRegistry.class:?]
    at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:284) ~[ChunkProviderServer.class:?]
    at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1156) ~[Chunk.class:?]
    at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:187) ~[ChunkProviderServer.class:?]
    at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:129) ~[ChunkProviderServer.class:?]
    at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:99) ~[ChunkProviderServer.class:?]
    at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:200) ~[ChunkProviderServer.class:?]
    at net.minecraft.world.World.getChunkFromChunkCoords(World.java:336) ~[World.class:?]
    at net.minecraft.world.World.getChunkFromBlockCoords(World.java:328) ~[World.class:?]
    at net.minecraft.world.World.getBlockState(World.java:889) ~[World.class:?]
    at net.minecraft.world.World.isAirBlock(World.java:250) ~[World.class:?]
    at net.minecraft.world.World.getGroundAboveSeaLevel(World.java:228) ~[World.class:?]
    at net.minecraft.world.WorldProvider.canCoordinateBeSpawn(WorldProvider.java:86) ~[WorldProvider.class:?]
    at net.minecraft.world.WorldServer.createSpawnPosition(WorldServer.java:875) ~[WorldServer.class:?]
    at net.minecraft.world.WorldServer.initialize(WorldServer.java:794) ~[WorldServer.class:?]
    ... 4 more
[17:19:26] [Server thread/ERROR]: This crash report has been saved to: C:\Pylo\MCreator166\forge\run\.\crash-reports\crash-2016-04-24_17.19.26-server.txt
[17:19:26] [Server thread/INFO] [FML]: Applying holder lookups
[17:19:26] [Server thread/INFO] [FML]: Holder lookups applied
[17:19:26] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded.
[17:19:26] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
[17:19:27] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612
// Why is it breaking :(
Time: 4/24/16 5:19 PM
Description: Exception initializing level
java.lang.IllegalArgumentException: n must be positive
    at java.util.Random.nextInt(Random.java:300)
    at mod.mcreator.mcreator_sapphireOre.generateSurface(mcreator_sapphireOre.java:131)
    at mod.mcreator.TestEnvironmentMod.generate(TestEnvironmentMod.java:339)
    at net.minecraftforge.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:112)
    at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:284)
    at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1156)
    at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:187)
    at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:129)
    at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:99)
    at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:200)
    at net.minecraft.world.World.getChunkFromChunkCoords(World.java:336)
    at net.minecraft.world.World.getChunkFromBlockCoords(World.java:328)
    at net.minecraft.world.World.getBlockState(World.java:889)
    at net.minecraft.world.World.isAirBlock(World.java:250)
    at net.minecraft.world.World.getGroundAboveSeaLevel(World.java:228)
    at net.minecraft.world.WorldProvider.canCoordinateBeSpawn(WorldProvider.java:86)
    at net.minecraft.world.WorldServer.createSpawnPosition(WorldServer.java:875)
    at net.minecraft.world.WorldServer.initialize(WorldServer.java:794)
    at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:90)
    at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:127)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:508)
    at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
    at java.util.Random.nextInt(Random.java:300)
    at mod.mcreator.mcreator_sapphireOre.generateSurface(mcreator_sapphireOre.java:131)
    at mod.mcreator.TestEnvironmentMod.generate(TestEnvironmentMod.java:339)
    at net.minecraftforge.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:112)
    at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:284)
    at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1156)
    at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:187)
    at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:129)
    at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:99)
    at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:200)
    at net.minecraft.world.World.getChunkFromChunkCoords(World.java:336)
    at net.minecraft.world.World.getChunkFromBlockCoords(World.java:328)
    at net.minecraft.world.World.getBlockState(World.java:889)
    at net.minecraft.world.World.isAirBlock(World.java:250)
    at net.minecraft.world.World.getGroundAboveSeaLevel(World.java:228)
    at net.minecraft.world.WorldProvider.canCoordinateBeSpawn(WorldProvider.java:86)
    at net.minecraft.world.WorldServer.createSpawnPosition(WorldServer.java:875)
-- Affected level --
Details:
    Level name: New World
    All players: 0 total; []
    Chunk stats: ServerChunkCache: 34 Drop: 0
    Level seed: -160512864956129915
    Level generator: ID 01 - flat, ver 0. Features enabled: true
    Level generator options:
    Level spawn location: 0.00,0.00,0.00 - World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 0 game time, 0 day time
    Level dimension: 0
    Level storage version: 0x04ABD - Anvil
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
    at net.minecraft.world.WorldServer.initialize(WorldServer.java:794)
    at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:90)
    at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:127)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:508)
    at java.lang.Thread.run(Thread.java:745)
-- System Details --
Details:
    Minecraft Version: 1.8.9
    Operating System: Windows 8.1 (x86) version 6.3
    Java Version: 1.7.0_60, Oracle Corporation
    Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    Memory: 104627760 bytes (99 MB) / 259522560 bytes (247 MB) up to 259522560 bytes (247 MB)
    JVM Flags: 0 total;
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.19 Powered by Forge 11.15.1.1722 4 mods loaded, 4 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHIJAA    mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
    UCHIJAA    FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1722.jar)
    UCHIJAA    Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar)
    UCHIJAA    TestEnvironmentMod{1.0} [TestEnvironmentMod] (modid-1.0.jar)
    Loaded coremods (and transformers):
    GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
    Profiler Position: N/A (disabled)
    Player Count: 0 / 8; []
    Type: Integrated Server (map_client.txt)
    Is Modded: Definitely; Client brand changed to 'fml,forge'
[17:19:27] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612
AL lib: (EE) alc_cleanup: 1 device not closed
:runClient FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Pylo\MCreator166\jdk32\bin\java.exe'' finished with non-zero exit value -1
BUILD FAILED
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 39.407 secs
C:\Pylo\MCreator166\forge>
Task completed with return code 0 in 40388 milliseconds