Topic category: Troubleshooting, bugs, and solutions
Full Crash Log:
Executing gradle command: clean runClient
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. Alle Rechte vorbehalten.
C:\Pylo\MCreator170>cd forge
C:\Pylo\MCreator170\forge>SET "JAVA_HOME=C:\Pylo\MCreator170\jdk64\"
C:\Pylo\MCreator170\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator170\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator170\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" clean runClient
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.7/userguide/gradle_daemon.html.
This mapping 'snapshot_20160518' was designed for MC 1.9.4! Use at your own peril.
#################################################
ForgeGradle 2.2-SNAPSHOT-f1643ac
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP unknown
http://modcoderpack.com
by: Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
#################################################
:clean
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev UP-TO-DATE
:downloadClient SKIPPED
:downloadServer SKIPPED
:splitServerJar SKIPPED
:mergeJars SKIPPED
:applyBinaryPatches SKIPPED
:extractDependencyATs SKIPPED
:extractMcpData SKIPPED
:extractMcpMappings SKIPPED
:genSrgs SKIPPED
:deobfMcMCP SKIPPED
:sourceApiJava
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
:compileJava
:processResources
:classes
:jar
:extractNatives SKIPPED
:getAssetIndex UP-TO-DATE
:getAssets
Current status: 659/1112 59%
:makeStart
:runClient
2016-12-30 18:24:08,198 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[18:24:08] [main/INFO]: Extra: []
[18:24:08] [main/INFO]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Abdullah/.gradle/caches/minecraft/assets, --assetIndex, 1.10, --accessToken{REDACTED}, --version, 1.10.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[18:24:08] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[18:24:08] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[18:24:08] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[18:24:08] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[18:24:08] [main/INFO]: Forge Mod Loader version 12.18.1.2011 for Minecraft 1.10.2 loading
[18:24:08] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_101, running on Windows 10:amd64:10.0, installed at C:\Pylo\MCreator170\jdk64\jre
[18:24:08] [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[18:24:08] [main/INFO]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[18:24:08] [main/INFO]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[18:24:08] [main/INFO]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[18:24:08] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:24:08] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[18:24:08] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[18:24:08] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:24:08] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:24:08] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:24:08] [main/ERROR]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[18:24:09] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing
[18:24:09] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:24:09] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[18:24:10] [main/INFO]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
2016-12-30 18:24:10,401 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2016-12-30 18:24:10,458 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[18:24:10] [main/INFO]: Remapping AccessTransformer rules...
[18:24:10] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[18:24:10] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[18:24:10] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[18:24:11] [Client thread/INFO]: Setting user: Player976
[18:24:17] [Client thread/WARN]: Skipping bad option: lastServer:
[18:24:17] [Client thread/INFO]: LWJGL Version: 2.9.4
[18:24:17] [Client thread/INFO]: [net.minecraftforge.fml.client.SplashProgress:start:219
// Uh... Did I do that?
Time: 30.12.16 18:24
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.10.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_101, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 101753120 bytes (97 MB) / 556793856 bytes (531 MB) up to 1886912512 bytes (1799 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.4.0 - Build 20.19.15.4300' Renderer: 'Intel(R) HD Graphics 5500'
[18:24:17] [Client thread/INFO]: MinecraftForge v12.18.1.2011 Initialized
[18:24:18] [Client thread/INFO]: Replaced 233 ore recipes
[18:24:18] [Client thread/INFO]: Found 0 mods from the command line. Injecting into mod discoverer
[18:24:18] [Client thread/INFO]: Searching C:\Pylo\MCreator170\forge\run\mods for mods
[18:24:19] [Client thread/INFO]: Mod TestEnvironmentMod is missing the required element 'name'. Substituting TestEnvironmentMod
[18:24:20] [Client thread/INFO]: Forge Mod Loader has identified 5 mods to load
[18:24:20] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge, TestEnvironmentMod, worldedit] at CLIENT
[18:24:20] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge, TestEnvironmentMod, worldedit] at SERVER
[18:24:22] [Client thread/ERROR]: Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue
[18:24:22] [Client thread/ERROR]:
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UC mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UC FML{8.0.99.99} [Forge Mod Loader] (forgeBin-1.10.2-12.18.1.2011.jar)
UC Forge{12.18.1.2011} [Minecraft Forge] (forgeBin-1.10.2-12.18.1.2011.jar)
UE TestEnvironmentMod{1.0} [TestEnvironmentMod] (modid-1.0.jar)
UC worldedit{6.1.4} [WorldEdit] (WorldEdit-1.10.2.jar)
[18:24:22] [Client thread/ERROR]: The following problems were captured during this phase
[18:24:22] [Client thread/ERROR]: Caught exception from TestEnvironmentMod
java.lang.ExceptionInInitializerError
at mod.mcreator.TestEnvironmentMod.<init>(TestEnvironmentMod.java:111) ~[modid-1.0.jar:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_101]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_101]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_101]
at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_101]
at net.minecraftforge.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:193) ~[forgeBin-1.10.2-12.18.1.2011.jar:?]
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:551) ~[forgeBin-1.10.2-12.18.1.2011.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
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:235) ~[forgeBin-1.10.2-12.18.1.2011.jar:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:213) ~[forgeBin-1.10.2-12.18.1.2011.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
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:142) [LoadController.class:?]
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:531) [Loader.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:216) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:439) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:351) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(SourceFile:124) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
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.8.0_101]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.lang.IllegalArgumentException: The name testenvironmentmod:greenhelmet has been registered twice, for mod.mcreator.mcreator_forgottenEmeraldArmor$1@7802fc4e and mod.mcreator.mcreator_greenGelArmor$1@70ad9a9b.
at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:444) ~[FMLControlledNamespacedRegistry.class:?]
at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:800) ~[FMLControlledNamespacedRegistry.class:?]
at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:250) ~[GameData.class:?]
at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:153) ~[GameRegistry.class:?]
at net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:424) ~[GameRegistry.class:?]
at mod.mcreator.mcreator_greenGelArmor.<clinit>(mcreator_greenGelArmor.java:128) ~[mcreator_greenGelArmor.class:?]
... 46 more
[18:24:22] [Client thread/INFO]: [net.minecraft.init.Bootstrap:printToSYSOUT:560
// But it works on my machine.
Time: 30.12.16 18:24
Description: There was a severe problem during mod loading that has caused the game to fail
net.minecraftforge.fml.common.LoaderException: java.lang.ExceptionInInitializerError
at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:186)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:562)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:216)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:439)
at net.minecraft.client.Minecraft.run(Minecraft.java:351)
at net.minecraft.client.main.Main.main(SourceFile:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:26)
Caused by: java.lang.ExceptionInInitializerError
at mod.mcreator.TestEnvironmentMod.<init>(TestEnvironmentMod.java:111)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at net.minecraftforge.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:193)
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:235)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:213)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:142)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:531)
... 16 more
Caused by: java.lang.IllegalArgumentException: The name testenvironmentmod:greenhelmet has been registered twice, for mod.mcreator.mcreator_forgottenEmeraldArmor$1@7802fc4e and mod.mcreator.mcreator_greenGelArmor$1@70ad9a9b.
at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:444)
at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:800)
at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:250)
at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:153)
at net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:424)
at mod.mcreator.mcreator_greenGelArmor.<clinit>(mcreator_greenGelArmor.java:128)
... 46 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.10.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_101, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 409075208 bytes (390 MB) / 719847424 bytes (686 MB) up to 1886912512 bytes (1799 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.32 Powered by Forge 12.18.1.2011 5 mods loaded, 5 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UC mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UC FML{8.0.99.99} [Forge Mod Loader] (forgeBin-1.10.2-12.18.1.2011.jar)
UC Forge{12.18.1.2011} [Minecraft Forge] (forgeBin-1.10.2-12.18.1.2011.jar)
UE TestEnvironmentMod{1.0} [TestEnvironmentMod] (modid-1.0.jar)
UC worldedit{6.1.4} [WorldEdit] (WorldEdit-1.10.2.jar)
Loaded coremods (and transformers):
GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 20.19.15.4300' Renderer: 'Intel(R) HD Graphics 5500'
[18:24:22] [Client thread/INFO]: [net.minecraft.init.Bootstrap:printToSYSOUT:560
:runClient FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Pylo\MCreator170\jdk64\bin\java.exe'' finished with non-zero exit value -1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1 mins 31.762 secs
C:\Pylo\MCreator170\forge>
Task completed with return code 0 in 92368 milliseconds
Executing gradle command: clean runClient
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. Alle Rechte vorbehalten.
C:\Pylo\MCreator170>cd forge
C:\Pylo\MCreator170\forge>SET "JAVA_HOME=C:\Pylo\MCreator170\jdk64\"
C:\Pylo\MCreator170\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator170\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator170\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" clean runClient
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.7/userguide/gradle_daemon.html.
This mapping 'snapshot_20160518' was designed for MC 1.9.4! Use at your own peril.
#################################################
ForgeGradle 2.2-SNAPSHOT-f1643ac
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP unknown
http://modcoderpack.com
by: Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
#################################################
:clean
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev UP-TO-DATE
:downloadClient SKIPPED
:downloadServer SKIPPED
:splitServerJar SKIPPED
:mergeJars SKIPPED
:applyBinaryPatches SKIPPED
:extractDependencyATs SKIPPED
:extractMcpData SKIPPED
:extractMcpMappings SKIPPED
:genSrgs SKIPPED
:deobfMcMCP SKIPPED
:sourceApiJava
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
:compileJava
:processResources
:classes
:jar
:extractNatives SKIPPED
:getAssetIndex UP-TO-DATE
:getAssets
Current status: 761/1112 68%
:makeStart
:runClient
2016-12-30 18:25:43,588 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[18:25:43] [main/INFO]: Extra: []
[18:25:43] [main/INFO]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Abdullah/.gradle/caches/minecraft/assets, --assetIndex, 1.10, --accessToken{REDACTED}, --version, 1.10.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[18:25:43] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[18:25:43] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[18:25:43] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[18:25:43] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[18:25:43] [main/INFO]: Forge Mod Loader version 12.18.1.2011 for Minecraft 1.10.2 loading
[18:25:43] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_101, running on Windows 10:amd64:10.0, installed at C:\Pylo\MCreator170\jdk64\jre
[18:25:43] [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[18:25:43] [main/INFO]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[18:25:43] [main/INFO]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[18:25:43] [main/INFO]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[18:25:43] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:25:43] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[18:25:43] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[18:25:43] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:25:43] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:25:43] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:25:43] [main/ERROR]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[18:25:44] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing
[18:25:44] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:25:44] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[18:25:45] [main/INFO]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
2016-12-30 18:25:45,262 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2016-12-30 18:25:45,310 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[18:25:45] [main/INFO]: Remapping AccessTransformer rules...
[18:25:45] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[18:25:45] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[18:25:45] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[18:25:46] [Client thread/INFO]: Setting user: Player594
[18:25:49] [Client thread/WARN]: Skipping bad option: lastServer:
[18:25:49] [Client thread/INFO]: LWJGL Version: 2.9.4
[18:25:50] [Client thread/INFO]: [net.minecraftforge.fml.client.SplashProgress:start:219
// You're mean.
Time: 30.12.16 18:25
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.10.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_101, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 116516216 bytes (111 MB) / 568328192 bytes (542 MB) up to 1886912512 bytes (1799 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.4.0 - Build 20.19.15.4300' Renderer: 'Intel(R) HD Graphics 5500'
[18:25:50] [Client thread/INFO]: MinecraftForge v12.18.1.2011 Initialized
[18:25:50] [Client thread/INFO]: Replaced 233 ore recipes
[18:25:50] [Client thread/INFO]: Found 0 mods from the command line. Injecting into mod discoverer
[18:25:50] [Client thread/INFO]: Searching C:\Pylo\MCreator170\forge\run\mods for mods
[18:25:52] [Client thread/INFO]: Mod TestEnvironmentMod is missing the required element 'name'. Substituting TestEnvironmentMod
[18:25:52] [Client thread/INFO]: Forge Mod Loader has identified 5 mods to load
[18:25:52] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge, TestEnvironmentMod, worldedit] at CLIENT
[18:25:52] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge, TestEnvironmentMod, worldedit] at SERVER
[18:25:54] [Client thread/ERROR]: Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue
[18:25:54] [Client thread/ERROR]:
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UC mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UC FML{8.0.99.99} [Forge Mod Loader] (forgeBin-1.10.2-12.18.1.2011.jar)
UC Forge{12.18.1.2011} [Minecraft Forge] (forgeBin-1.10.2-12.18.1.2011.jar)
UE TestEnvironmentMod{1.0} [TestEnvironmentMod] (modid-1.0.jar)
UC worldedit{6.1.4} [WorldEdit] (WorldEdit-1.10.2.jar)
[18:25:54] [Client thread/ERROR]: The following problems were captured during this phase
[18:25:54] [Client thread/ERROR]: Caught exception from TestEnvironmentMod
java.lang.ExceptionInInitializerError
at mod.mcreator.TestEnvironmentMod.<init>(TestEnvironmentMod.java:111) ~[modid-1.0.jar:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_101]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_101]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_101]
at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_101]
at net.minecraftforge.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:193) ~[forgeBin-1.10.2-12.18.1.2011.jar:?]
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:551) ~[forgeBin-1.10.2-12.18.1.2011.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
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:235) ~[forgeBin-1.10.2-12.18.1.2011.jar:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:213) ~[forgeBin-1.10.2-12.18.1.2011.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
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:142) [LoadController.class:?]
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:531) [Loader.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:216) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:439) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:351) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(SourceFile:124) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
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.8.0_101]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.lang.IllegalArgumentException: The name testenvironmentmod:greenhelmet has been registered twice, for mod.mcreator.mcreator_forgottenEmeraldArmor$1@7802fc4e and mod.mcreator.mcreator_greenGelArmor$1@70ad9a9b.
at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:444) ~[FMLControlledNamespacedRegistry.class:?]
at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:800) ~[FMLControlledNamespacedRegistry.class:?]
at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:250) ~[GameData.class:?]
at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:153) ~[GameRegistry.class:?]
at net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:424) ~[GameRegistry.class:?]
at mod.mcreator.mcreator_greenGelArmor.<clinit>(mcreator_greenGelArmor.java:128) ~[mcreator_greenGelArmor.class:?]
... 46 more
[18:25:54] [Client thread/INFO]: [net.minecraft.init.Bootstrap:printToSYSOUT:560
// This doesn't make any sense!
Time: 30.12.16 18:25
Description: There was a severe problem during mod loading that has caused the game to fail
net.minecraftforge.fml.common.LoaderException: java.lang.ExceptionInInitializerError
at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:186)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:562)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:216)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:439)
at net.minecraft.client.Minecraft.run(Minecraft.java:351)
at net.minecraft.client.main.Main.main(SourceFile:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:26)
Caused by: java.lang.ExceptionInInitializerError
at mod.mcreator.TestEnvironmentMod.<init>(TestEnvironmentMod.java:111)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at net.minecraftforge.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:193)
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:235)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:213)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:142)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:531)
... 16 more
Caused by: java.lang.IllegalArgumentException: The name testenvironmentmod:greenhelmet has been registered twice, for mod.mcreator.mcreator_forgottenEmeraldArmor$1@7802fc4e and mod.mcreator.mcreator_greenGelArmor$1@70ad9a9b.
at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:444)
at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:800)
at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:250)
at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:153)
at net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:424)
at mod.mcreator.mcreator_greenGelArmor.<clinit>(mcreator_greenGelArmor.java:128)
... 46 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.10.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_101, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 461195224 bytes (439 MB) / 720371712 bytes (687 MB) up to 1886912512 bytes (1799 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.32 Powered by Forge 12.18.1.2011 5 mods loaded, 5 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UC mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UC FML{8.0.99.99} [Forge Mod Loader] (forgeBin-1.10.2-12.18.1.2011.jar)
UC Forge{12.18.1.2011} [Minecraft Forge] (forgeBin-1.10.2-12.18.1.2011.jar)
UE TestEnvironmentMod{1.0} [TestEnvironmentMod] (modid-1.0.jar)
UC worldedit{6.1.4} [WorldEdit] (WorldEdit-1.10.2.jar)
Loaded coremods (and transformers):
GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 20.19.15.4300' Renderer: 'Intel(R) HD Graphics 5500'
[18:25:54] [Client thread/INFO]: [net.minecraft.init.Bootstrap:printToSYSOUT:560
:runClient FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
BUILD FAILED
> Process 'command 'C:\Pylo\MCreator170\jdk64\bin\java.exe'' finished with non-zero exit value -1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 1 mins 8.888 secs
C:\Pylo\MCreator170\forge>
Task completed with return code 0 in 69467 milliseconds
The reason that I can't understand
Caused by: java.lang.IllegalArgumentException: The name testenvironmentmod:greenhelmet has been registered twice, for mod.mcreator.mcreator_forgottenEmeraldArmor$1@7802fc4e and mod.mcreator.mcreator_greenGelArmor$1@70ad9a9b.
at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:444)
at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:800)
at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:250)
at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:153)
at net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:424)
at mod.mcreator.mcreator_greenGelArmor.<clinit>(mcreator_greenGelArmor.java:128)
... 46 more
There must be a problem with my armor sets. I remade all my armor sets and it apppers again. Why?
Code of forgottenEmeraldArmor and greenGelArmor, please?
ForgottenEmeraldArmor
[spoiler]
package mod.mcreator;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.common.util.EnumHelper;
import net.minecraft.world.World;
import net.minecraft.potion.PotionEffect;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.Item;
import net.minecraft.inventory.EntityEquipmentSlot;
import net.minecraft.init.MobEffects;
import net.minecraft.init.Items;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.client.Minecraft;
import java.util.Random;
public class mcreator_forgottenEmeraldArmor {
public mcreator_forgottenEmeraldArmor() {
}
public static Item helmet;
public static Item body;
public static Item legs;
public static Item boots;
public static Object instance;
public void load(FMLInitializationEvent event) {
if (event.getSide() == Side.CLIENT) {
Minecraft.getMinecraft().getRenderItem().getItemModelMesher()
.register(helmet, 0, new ModelResourceLocation("TestEnvironmentMod:greenhelmet", "inventory"));
Minecraft.getMinecraft().getRenderItem().getItemModelMesher()
.register(body, 0, new ModelResourceLocation("TestEnvironmentMod:greenchestplate", "inventory"));
Minecraft.getMinecraft().getRenderItem().getItemModelMesher()
.register(legs, 0, new ModelResourceLocation("TestEnvironmentMod:greenleggings", "inventory"));
Minecraft.getMinecraft().getRenderItem().getItemModelMesher()
.register(boots, 0, new ModelResourceLocation("TestEnvironmentMod:greenboots", "inventory"));
}
GameRegistry.addRecipe(new ItemStack(helmet, 1),
new Object[]{"012", "3X5", "XXX", Character.valueOf('0'), Items.EMERALD, Character.valueOf('1'), mcreator_forgottenEmerald.block,
Character.valueOf('2'), Items.EMERALD, Character.valueOf('3'), mcreator_forgottenEmerald.block, Character.valueOf('5'),
mcreator_forgottenEmerald.block,});
GameRegistry.addRecipe(
new ItemStack(body, 1),
new Object[]{"0X2", "345", "678", Character.valueOf('0'), Items.EMERALD, Character.valueOf('2'), Items.EMERALD,
Character.valueOf('3'), Items.EMERALD, Character.valueOf('4'), mcreator_forgottenEmerald.block, Character.valueOf('5'),
Items.EMERALD, Character.valueOf('6'), mcreator_forgottenEmerald.block, Character.valueOf('7'),
mcreator_forgottenEmerald.block, Character.valueOf('8'), mcreator_forgottenEmerald.block,});
GameRegistry.addRecipe(new ItemStack(legs, 1),
new Object[]{"012", "3X5", "6X8", Character.valueOf('0'), Items.EMERALD, Character.valueOf('1'), mcreator_forgottenEmerald.block,
Character.valueOf('2'), Items.EMERALD, Character.valueOf('3'), mcreator_forgottenEmerald.block, Character.valueOf('5'),
mcreator_forgottenEmerald.block, Character.valueOf('6'), mcreator_forgottenEmerald.block, Character.valueOf('8'),
mcreator_forgottenEmerald.block,});
GameRegistry.addRecipe(
new ItemStack(boots, 1),
new Object[]{"XXX", "3X5", "6X8", Character.valueOf('3'), Items.EMERALD, Character.valueOf('5'), Items.EMERALD,
Character.valueOf('6'), mcreator_forgottenEmerald.block, Character.valueOf('8'), mcreator_forgottenEmerald.block,});
helmet.setCreativeTab(CreativeTabs.COMBAT);
body.setCreativeTab(CreativeTabs.COMBAT);
legs.setCreativeTab(CreativeTabs.COMBAT);
boots.setCreativeTab(CreativeTabs.COMBAT);
}
public void generateNether(World world, Random random, int chunkX, int chunkZ) {
}
public void generateSurface(World world, Random random, int chunkX, int chunkZ) {
}
public int addFuel(ItemStack fuel) {
return 0;
}
public void serverLoad(FMLServerStartingEvent event) {
}
public void preInit(FMLPreInitializationEvent event) {
}
public void registerRenderers() {
}
static {
ItemArmor.ArmorMaterial enuma = EnumHelper.addArmorMaterial("FORGOTTENEMERALDARMOR", "greenarmor", 33, new int[]{2, 7, 5, 3}, 36, null,
1.2999999999999998f);
int armorPreffix = 0;
helmet = (new ItemArmor(enuma, armorPreffix, EntityEquipmentSlot.HEAD) {
public void onArmorTick(World world, EntityPlayer entity, ItemStack itemStack) {
int i = (int) entity.posX;
int j = (int) entity.posY;
int k = (int) entity.posZ;
if (true) {
if (entity instanceof EntityLivingBase)
((EntityLivingBase) entity).addPotionEffect(new PotionEffect(MobEffects.HASTE, 2, 4));
}
}
}).setUnlocalizedName("greenhelmet");
helmet.setMaxStackSize(1);
body = (new ItemArmor(enuma, armorPreffix, EntityEquipmentSlot.CHEST) {
public void onArmorTick(World world, EntityPlayer entity, ItemStack itemStack) {
int i = (int) entity.posX;
int j = (int) entity.posY;
int k = (int) entity.posZ;
if (true) {
if (entity instanceof EntityLivingBase)
((EntityLivingBase) entity).addPotionEffect(new PotionEffect(MobEffects.REGENERATION, 2, 4));
}
}
}).setUnlocalizedName("greenchestplate");
body.setMaxStackSize(1);
legs = (new ItemArmor(enuma, armorPreffix, EntityEquipmentSlot.LEGS) {
public void onArmorTick(World world, EntityPlayer entity, ItemStack itemStack) {
int i = (int) entity.posX;
int j = (int) entity.posY;
int k = (int) entity.posZ;
if (true) {
if (entity instanceof EntityLivingBase)
((EntityLivingBase) entity).addPotionEffect(new PotionEffect(MobEffects.ABSORPTION, 2, 4));
}
}
}).setUnlocalizedName("greenleggings");
legs.setMaxStackSize(1);
boots = (new ItemArmor(enuma, armorPreffix, EntityEquipmentSlot.FEET) {
public void onArmorTick(World world, EntityPlayer entity, ItemStack itemStack) {
int i = (int) entity.posX;
int j = (int) entity.posY;
int k = (int) entity.posZ;
if (true) {
if (entity instanceof EntityLivingBase)
((EntityLivingBase) entity).addPotionEffect(new PotionEffect(MobEffects.SPEED, 2, 4));
}
}
}).setUnlocalizedName("greenboots");
boots.setMaxStackSize(1);
GameRegistry.registerItem(helmet, "greenhelmet");
GameRegistry.registerItem(body, "greenchestplate");
GameRegistry.registerItem(legs, "greenleggings");
GameRegistry.registerItem(boots, "greenboots");
}
}
[/spoiler]
Green Gel Armor:
[spoiler]
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.common.util.EnumHelper;
import net.minecraft.world.World;
import net.minecraft.potion.PotionEffect;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.Item;
import net.minecraft.inventory.EntityEquipmentSlot;
import net.minecraft.init.MobEffects;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.client.Minecraft;
import java.util.Random;
public class mcreator_greenGelArmor {
public mcreator_greenGelArmor() {
}
public static Item helmet;
public static Item body;
public static Item legs;
public static Item boots;
public static Object instance;
public void load(FMLInitializationEvent event) {
if (event.getSide() == Side.CLIENT) {
Minecraft.getMinecraft().getRenderItem().getItemModelMesher()
.register(helmet, 0, new ModelResourceLocation("TestEnvironmentMod:greenhelmet", "inventory"));
Minecraft.getMinecraft().getRenderItem().getItemModelMesher()
.register(body, 0, new ModelResourceLocation("TestEnvironmentMod:greenchestplate", "inventory"));
Minecraft.getMinecraft().getRenderItem().getItemModelMesher()
.register(legs, 0, new ModelResourceLocation("TestEnvironmentMod:greenleggings", "inventory"));
Minecraft.getMinecraft().getRenderItem().getItemModelMesher()
.register(boots, 0, new ModelResourceLocation("TestEnvironmentMod:greenboots", "inventory"));
}
GameRegistry.addRecipe(new ItemStack(helmet, 1),
new Object[]{"X1X", "3X5", "XXX", Character.valueOf('1'), mcreator_greenGel.block, Character.valueOf('3'), mcreator_greenGel.block,
Character.valueOf('5'), mcreator_greenGel.block,});
GameRegistry.addRecipe(new ItemStack(body, 1),
new Object[]{"0X2", "X4X", "678", Character.valueOf('0'), mcreator_greenGel.block, Character.valueOf('2'), mcreator_greenGel.block,
Character.valueOf('4'), mcreator_greenGel.block, Character.valueOf('6'), mcreator_greenGel.block, Character.valueOf('7'),
mcreator_greenGel.block, Character.valueOf('8'), mcreator_greenGel.block,});
GameRegistry.addRecipe(new ItemStack(legs, 1),
new Object[]{"X1X", "3X5", "6X8", Character.valueOf('1'), mcreator_greenGel.block, Character.valueOf('3'), mcreator_greenGel.block,
Character.valueOf('5'), mcreator_greenGel.block, Character.valueOf('6'), mcreator_greenGel.block, Character.valueOf('8'),
mcreator_greenGel.block,});
GameRegistry.addRecipe(new ItemStack(boots, 1),
new Object[]{"XXX", "3X5", "6X8", Character.valueOf('3'), mcreator_greenGel.block, Character.valueOf('5'), mcreator_greenGel.block,
Character.valueOf('6'), mcreator_greenGel.block, Character.valueOf('8'), mcreator_greenGel.block,});
helmet.setCreativeTab(CreativeTabs.COMBAT);
body.setCreativeTab(CreativeTabs.COMBAT);
legs.setCreativeTab(CreativeTabs.COMBAT);
boots.setCreativeTab(CreativeTabs.COMBAT);
}
public void generateNether(World world, Random random, int chunkX, int chunkZ) {
}
public void generateSurface(World world, Random random, int chunkX, int chunkZ) {
}
public int addFuel(ItemStack fuel) {
return 0;
}
public void serverLoad(FMLServerStartingEvent event) {
}
public void preInit(FMLPreInitializationEvent event) {
}
public void registerRenderers() {
}
static {
ItemArmor.ArmorMaterial enuma = EnumHelper.addArmorMaterial("GREENGELARMOR", "greenarmor", 10, new int[]{1, 4, 3, 1}, 9, null, 0.0f);
int armorPreffix = 0;
helmet = (new ItemArmor(enuma, armorPreffix, EntityEquipmentSlot.HEAD) {
public void onArmorTick(World world, EntityPlayer entity, ItemStack itemStack) {
int i = (int) entity.posX;
int j = (int) entity.posY;
int k = (int) entity.posZ;
}
}).setUnlocalizedName("greenhelmet");
helmet.setMaxStackSize(1);
body = (new ItemArmor(enuma, armorPreffix, EntityEquipmentSlot.CHEST) {
public void onArmorTick(World world, EntityPlayer entity, ItemStack itemStack) {
int i = (int) entity.posX;
int j = (int) entity.posY;
int k = (int) entity.posZ;
if (true) {
if (entity instanceof EntityLivingBase)
((EntityLivingBase) entity).addPotionEffect(new PotionEffect(MobEffects.JUMP_BOOST, 2, 3));
}
}
}).setUnlocalizedName("greenchestplate");
body.setMaxStackSize(1);
legs = (new ItemArmor(enuma, armorPreffix, EntityEquipmentSlot.LEGS) {
public void onArmorTick(World world, EntityPlayer entity, ItemStack itemStack) {
int i = (int) entity.posX;
int j = (int) entity.posY;
int k = (int) entity.posZ;
}
}).setUnlocalizedName("greenleggings");
legs.setMaxStackSize(1);
boots = (new ItemArmor(enuma, armorPreffix, EntityEquipmentSlot.FEET) {
public void onArmorTick(World world, EntityPlayer entity, ItemStack itemStack) {
int i = (int) entity.posX;
int j = (int) entity.posY;
int k = (int) entity.posZ;
}
}).setUnlocalizedName("greenboots");
boots.setMaxStackSize(1);
GameRegistry.registerItem(helmet, "greenhelmet");
GameRegistry.registerItem(body, "greenchestplate");
GameRegistry.registerItem(legs, "greenleggings");
GameRegistry.registerItem(boots, "greenboots");
}
}
[/spoiler]
HOW? How did you create two armors with same name? It isn't possible in MCreator.
@#4 its actually a duplication glich, ive done it acidentally. it creates two mod elements with the same name and same data, if you change one, the other is changed too. it creates a whole host of errors tho, it might be a different glich that hes ahvign but the one i jsut describes is hella annouying (it made me delete over 50 mod elements :( )
@#1 if you change the mit wont do anything, if those are the conflicting peices you will have to completely delete them and try again
The Green Gel Armor will now replaced with Purple Gel Armor to getting work.