Natural fire aspect?

Started by JaxxHunter on

Topic category: Advanced modding

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Natural fire aspect?
Tue, 01/24/2017 - 13:33 (edited)

(Testing environment fixed. Looking only for working fire code.)

I'm trying to make a natural item set mobs on fire when hitting them, and finally got a possible answer through a wild goose chase. Global events > When entity is attacked > Title "itemInPlayersHand[] == mcreator_blazeSword.block > Custom code "target.setFire(4)"

Trying to make it set fire to the target for 4 seconds.

The only problem is that I can't test to see if it works. All it does is crash, and say "Gradle task failed! (for unknown reason)" The console report is here: Executing gradle command: clean runClient

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Pylo\MCreator171>cd forge
C:\Pylo\MCreator171\forge>SET "JAVA_HOME=C:\Pylo\MCreator171\jdk64\"
C:\Pylo\MCreator171\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator171\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator171\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.14/userguide/gradle_daemon.html.
This mapping 'snapshot_20160518' was designed for MC 1.9.4! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-35fdca6        
  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: 575/1112   51%
Current status: 1061/1112   95%
:makeStart
:runClient
2017-01-22 14:58:02,829 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-01-22 14:58:02,829 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[14:58:02] [main/INFO] [GradleStart]: Extra: []
[14:58:02] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/dustin/.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]
[14:58:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[14:58:03] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[14:58:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[14:58:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[14:58:03] [main/INFO] [FML]: Forge Mod Loader version 12.18.2.2099 for Minecraft 1.10.2 loading
[14:58:03] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_101, running on Windows 7:amd64:6.1, installed at C:\Pylo\MCreator171\jdk64\jre
[14:58:03] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[14:58:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[14:58:03] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[14:58:03] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[14:58:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[14:58:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[14:58:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[14:58:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[14:58:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[14:58:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[14:58:03] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[14:58:04] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[14:58:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[14:58:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[14:58:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[14:58:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[14:58:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[14:58:04] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
2017-01-22 14:58:05,345 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-01-22 14:58:05,385 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-01-22 14:58:05,385 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[14:58:05] [Client thread/INFO]: Setting user: Player990
[14:58:10] [Client thread/WARN]: Skipping bad option: lastServer:
[14:58:10] [Client thread/WARN]: Skipping bad option: streamPreferredServer:
[14:58:10] [Client thread/INFO]: LWJGL Version: 2.9.4
[14:58:11] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:221
// Ouch. That hurt :(
Time: 1/22/17 2:58 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.10.2
   Operating System: Windows 7 (amd64) version 6.1
   Java Version: 1.8.0_101, Oracle Corporation
   Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
   Memory: 350828936 bytes (334 MB) / 565706752 bytes (539 MB) up to 1786249216 bytes (1703 MB)
   JVM Flags: 0 total; 
   IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
   FML: 
   Loaded coremods (and transformers): 
   GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.1.11079 Compatibility Profile Context' Renderer: 'AMD Radeon HD 6530D Graphics'
[14:58:11] [Client thread/INFO] [FML]: MinecraftForge v12.18.2.2099 Initialized
[14:58:11] [Client thread/INFO] [FML]: Replaced 232 ore recipes
[14:58:12] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[14:58:12] [Client thread/INFO] [FML]: Searching C:\Pylo\MCreator171\forge\run\mods for mods
[14:58:13] [Client thread/WARN] [FML]: ****************************************
[14:58:13] [Client thread/WARN] [FML]: * The modid TestEnvironmentMod is not the same as it's lowercase version. Lowercasing will be enforced in 1.11
[14:58:13] [Client thread/WARN] [FML]: *  at net.minecraftforge.fml.common.FMLModContainer.sanityCheckModId(FMLModContainer.java:141)
[14:58:13] [Client thread/WARN] [FML]: *  at net.minecraftforge.fml.common.FMLModContainer.(FMLModContainer.java:126)
[14:58:13] [Client thread/WARN] [FML]: *  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[14:58:13] [Client thread/WARN] [FML]: *  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[14:58:13] [Client thread/WARN] [FML]: *  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[14:58:13] [Client thread/WARN] [FML]: *  at java.lang.reflect.Constructor.newInstance(Constructor.java:423)...
[14:58:13] [Client thread/WARN] [FML]: ****************************************
[14:58:13] [Client thread/INFO] [TestEnvironmentMod]: Mod TestEnvironmentMod is missing the required element 'name'. Substituting TestEnvironmentMod
[14:58:13] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[14:58:19] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, TestEnvironmentMod] at CLIENT
[14:58:19] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, TestEnvironmentMod] at SERVER
[14:58:20] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TestEnvironmentMod
[14:58:20] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[14:58:20] [Client thread/INFO] [FML]: Found 423 ObjectHolder annotations
[14:58:20] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[14:58:20] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[14:58:20] [Client thread/INFO] [FML]: Applying holder lookups
[14:58:20] [Client thread/INFO] [FML]: Holder lookups applied
[14:58:20] [Client thread/INFO] [FML]: Applying holder lookups
[14:58:20] [Client thread/INFO] [FML]: Holder lookups applied
[14:58:20] [Client thread/INFO] [FML]: Applying holder lookups
[14:58:20] [Client thread/INFO] [FML]: Holder lookups applied
[14:58:20] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[14:58:20] [Client thread/INFO] [FML]: Applying holder lookups
[14:58:20] [Client thread/INFO] [FML]: Holder lookups applied
[14:58:20] [Client thread/INFO] [FML]: Injecting itemstacks
[14:58:20] [Client thread/INFO] [FML]: Itemstack injection complete
[14:58:21] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotio…
[14:58:21] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: OUTDATED Target: 12.18.3.2185
[14:58:22] [Sound Library Loader/INFO]: Starting up SoundSystem...
[14:58:22] [Thread-8/INFO]: Initializing LWJGL OpenAL
[14:58:22] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[14:58:22] [Thread-8/INFO]: OpenAL initialized.
[14:58:23] [Sound Library Loader/INFO]: Sound engine started
[14:58:26] [Client thread/INFO] [FML]: Max texture size: 16384
[14:58:26] [Client thread/INFO]: Created: 16x16 textures-atlas
[14:58:28] [Client thread/INFO] [FML]: OBJLoader: Domain testenvironmentmod has been added.
[14:58:28] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue
[14:58:28] [Client thread/ERROR] [FML]: 
   States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
   UCHI   mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
   UCHI   FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.10.2-12.18.2.2099.jar) 
   UCHI   Forge{12.18.2.2099} [Minecraft Forge] (forgeSrc-1.10.2-12.18.2.2099.jar) 
   UCHE   TestEnvironmentMod{1.0} [TestEnvironmentMod] (modid-1.0.jar) 
[14:58:28] [Client thread/ERROR] [FML]: The following problems were captured during this phase
[14:58:28] [Client thread/ERROR] [FML]: Caught exception from TestEnvironmentMod
java.lang.ArrayIndexOutOfBoundsException: 3
   at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:231) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?]
   at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:230) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?]
   at net.minecraftforge.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:225) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?]
   at mod.mcreator.mcreator_blazeSword.load(mcreator_blazeSword.java:34) ~[modid-1.0.jar:?]
   at mod.mcreator.TestEnvironmentMod.load(TestEnvironmentMod.java:109) ~[modid-1.0.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.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:599) ~[forgeSrc-1.10.2-12.18.2.2099.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:239) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?]
   at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217) ~[forgeSrc-1.10.2-12.18.2.2099.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.initializeMods(Loader.java:790) [Loader.class:?]
   at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:324) [FMLClientHandler.class:?]
   at net.minecraft.client.Minecraft.startGame(Minecraft.java:561) [Minecraft.class:?]
   at net.minecraft.client.Minecraft.run(Minecraft.java:386) [Minecraft.class:?]
   at net.minecraft.client.main.Main.main(Main.java:118) [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/:?]
[14:58:28] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:649
// Why is it breaking :(
Time: 1/22/17 2:58 PM
Description: Initializing game
java.lang.ArrayIndexOutOfBoundsException: 3
   at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:231)
   at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:230)
   at net.minecraftforge.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:225)
   at mod.mcreator.mcreator_blazeSword.load(mcreator_blazeSword.java:34)
   at mod.mcreator.TestEnvironmentMod.load(TestEnvironmentMod.java:109)
   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.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:599)
   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:239)
   at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217)
   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.initializeMods(Loader.java:790)
   at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:324)
   at net.minecraft.client.Minecraft.startGame(Minecraft.java:561)
   at net.minecraft.client.Minecraft.run(Minecraft.java:386)
   at net.minecraft.client.main.Main.main(Main.java:118)
   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)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
   at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:231)
   at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:230)
   at net.minecraftforge.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:225)
   at mod.mcreator.mcreator_blazeSword.load(mcreator_blazeSword.java:34)
   at mod.mcreator.TestEnvironmentMod.load(TestEnvironmentMod.java:109)
   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)
AL lib: (EE) alc_cleanup: 1 device not closed
   at net.minecraftforge.fml.common.FMLModContainer.   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
handleModStateEvent(FMLModContainer.java:599)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
FAILURE: Build failed with an exception.
   at sun.reflect.DExecution failed for task ':runClient'.
elegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
* What went wrong:
> Process 'command 'C:\Pylo\MCreator171\jdk64\bin\java.exe'' finished with non-zero exit value -1
   at java.lang.reflect.Method.invoke(Method.java:498)
* Try:
   at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.   at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)

   at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
   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:239)
   at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217)
   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.initializeMods(Loader.java:790)
   at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:324)
   at net.minecraft.client.Minecraft.startGame(Minecraft.java:561)
-- Initialization --
Details:
Stacktrace:
   at net.minecraft.client.Minecraft.run(Minecraft.java:386)
   at net.minecraft.client.main.Main.main(Main.java:118)
   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)
-- System Details --
Details:
   Minecraft Version: 1.10.2
   Operating System: Windows 7 (amd64) version 6.1
   Java Version: 1.8.0_101, Oracle Corporation
   Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
   Memory: 518344416 bytes (494 MB) / 821035008 bytes (783 MB) up to 1786249216 bytes (1703 MB)
   JVM Flags: 0 total; 
   IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
   FML: MCP 9.32 Powered by Forge 12.18.2.2099 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
   UCHI   mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
   UCHI   FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.10.2-12.18.2.2099.jar) 
   UCHI   Forge{12.18.2.2099} [Minecraft Forge] (forgeSrc-1.10.2-12.18.2.2099.jar) 
   UCHE   TestEnvironmentMod{1.0} [TestEnvironmentMod] (modid-1.0.jar) 
   Loaded coremods (and transformers): 
   GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.1.11079 Compatibility Profile Context' Renderer: 'AMD Radeon HD 6530D Graphics'
   Launched Version: 1.10.2
   LWJGL: 2.9.4
   OpenGL: AMD Radeon HD 6530D Graphics GL version 4.1.11079 Compatibility Profile Context, ATI Technologies Inc.
   GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
   Using VBOs: Yes
   Is Modded: Definitely; Client brand changed to 'fml,forge'
   Type: Client (map_client.txt)
   Resource Packs: 
   Current Language: English (US)
   Profiler Position: N/A (disabled)
   CPU: 4x AMD A6-3650 APU with Radeon(tm) HD Graphics
[14:58:28] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:649
:runClient FAILED
BUILD FAILED
Total time: 43.266 secs
C:\Pylo\MCreator171\forge>
Task completed with return code 0 in 46111 milliseconds

I know it's not exactly tailored to 1.11.2, so i downgraded to 1.10.2 & loaded a new world, but it still doesn't work. I'm just here asking how to get the Test environment working, and have someone fix my code if anything's wrong with it. (note: i do NOT want it to have Fire-aspect, because it needs to be enchantable without exploiting crafting recipes.)

Edited by JaxxHunter on Tue, 01/24/2017 - 13:33
Joined Dec 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Change the recipe for the
Mon, 01/23/2017 - 19:21

Change the recipe for the blazesword.

 

"net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:231)
   at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:230)
   at net.minecraftforge.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:225)
   at mod.mcreator.mcreator_blazeSword.load(mcreator_blazeSword.java:34)"

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is that what was causing the
Mon, 01/23/2017 - 22:59

Is that what was causing the crash? I was just posting the start report, so i don't know too much about it. (willing to learn if necessary)

About the sword, i have 2 separate mods for it: The physical sword & it's recipe. It's not needed, but i heard once that you can put natural properties on them, but all it did was let me put Fire aspect on it, which i don't want. Before trying anything else, i'll do that.

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's trying to recompile my
Mon, 01/23/2017 - 23:19

It's trying to recompile my workspace, but one line keeps making it fail. It requires a semicolon, but i have no idea where to put it, if that's even the problem.

[spoiler]warning: [options] bootstrap class path not set in conjunction with -source 1.6
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\mcreator_GlobalEventsTestEnvironmentMod.java:24: error: ';' expected
target.setfire(80)
                  ^
1 error
1 warning

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.[/spoiler]

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's trying to recompile my
Mon, 01/23/2017 - 23:20

It's trying to recompile my workspace, but one line keeps making it fail. It requires a semicolon, but i have no idea where to put it, if that's even the problem.

[spoiler]warning: [options] bootstrap class path not set in conjunction with -source 1.6
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\mcreator_GlobalEventsTestEnvironmentMod.java:24: error: ';' expected
target.setfire(80)
                  ^
1 error
1 warning

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.[/spoiler]

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
...you really REALLY need to
Mon, 01/23/2017 - 23:47

...you really REALLY need to fix your forums. I can't edit or delete posts.

Anyways, i'm stupid. It's apparently supposed to go after the (80); but i tried editing the code. doesn't work. Clicked save aswell. doesn't work. Deleting the code entirely & replacing it with the same one w/semicolon. doesn't work.

I don't get it! What the heck am i doing wrong?!?!?

Joined Dec 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i noticed that the custom
Tue, 01/24/2017 - 00:04

i noticed that the custom recipe mod type has caused erros. i haven't had time to look into it, but if deleting the recipe element doesn't fix the problem then go back to an older .mcr save and recreate the swrod without the seprate recipe element. If you don't have a .mcr save then i don't know what to tell you until i look into it, other than i recommend you do contstant .mcr backups for every one or two mods elements. I would also say to do one everytime before you edit code that you are not sure about. 

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can't i just delete the
Tue, 01/24/2017 - 05:51

Can't i just delete the workspace and start over? Or maybe even reinstalling it?

From then on, i'll take your advice. (it's just, how exactly do i do that?)

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Update: A new error has
Tue, 01/24/2017 - 06:35

Update: A new error has occurred:[spoiler]

Note: C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\mcreator_blazeSword.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
1 warning

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

[/spoiler]

I restarted to factory build, and made just those 2 mods. (1 mod and a global event) Now what?

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oops, i highlighted the wrong
Tue, 01/24/2017 - 13:23

Oops, i highlighted the wrong part. I think that missing symbol problem's fixed. I just hit Delete all mods for the workspace, and placed a } before my code.

The test environment is running, but... no fire. I can craft the sword & it works like it's supposed to, but the }target.setFire(80); doesn't seem to be working. At this point, i can't continue unless someone corrects my code.

(talking with no listeners actually works wonders! i should try it more often!)

Joined Dec 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Oops, i highlighted the wrong
Tue, 01/24/2017 - 23:29

@#10 To make a backup just go to the menu page and hit export workspace to .mcr. To load the backup hit import .mcr to workspace and then select the saved .mcr file.

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:Oops, i highlighted the wrong
Wed, 01/25/2017 - 02:08

@#10.1 Okay, thanks.

It's official. I'm not making a blaze sword, unless it's enchanted with Fire Aspect. If someone could provide me with working code that only works for this 1 item, i'm using enchantment.