Jump to content

Recommended Posts

Posted

So I'm attempting to make a user-configurable crafting recipe, and I'm running into this crash:

 

[19:02:03] [main/INFO] [GradleStart]: Extra: []
[19:02:03] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --accessToken, {REDACTED}, --assetIndex, 1.8, --assetsDir, C:/Users/George/.gradle/caches/minecraft/assets, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[19:02:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[19:02:03] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[19:02:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[19:02:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[19:02:04] [main/INFO] [FML]: Forge Mod Loader version 8.99.205.1502 for Minecraft 1.8 loading
[19:02:04] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.7.0_79, running on Windows 8.1:x86:6.3, installed at C:\Program Files (x86)\Java\jre7
[19:02:04] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[19:02:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[19:02:04] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[19:02:04] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[19:02:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:02:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[19:02:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[19:02:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:02:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:02:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[19:02:05] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[19:02:14] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[19:02:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[19:02:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[19:02:15] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[19:02:15] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[19:02:15] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[19:02:15] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[19:02:17] [Client thread/INFO]: Setting user: Player562
[19:02:26] [Client thread/INFO]: LWJGL Version: 2.9.1
[19:02:28] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:235]: ---- Minecraft Crash Report ----
// This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]

Time: 8/26/15 7:02 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
Operating System: Windows 8.1 (x86) version 6.3
Java Version: 1.7.0_79, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 852128488 bytes (812 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: 
Loaded coremods (and transformers): 
GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13399 Compatibility Profile Context 15.200.1062.1003' Renderer: 'AMD Radeon HD 8650G'
[19:02:29] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[19:02:29] [Client thread/INFO] [FML]: MinecraftForge v11.14.3.1502 Initialized
[19:02:29] [Client thread/INFO] [FML]: Replaced 204 ore recipies
[19:02:29] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[19:02:30] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[19:02:30] [Client thread/INFO] [FML]: Searching C:\Users\George\Desktop\Projects\Minecraft\Robot Sculptures\eclipse\mods for mods
[19:02:37] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[19:02:38] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, robotsculptures] at CLIENT
[19:02:38] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, robotsculptures] at SERVER
[19:02:40] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Robot Sculptures
[19:02:40] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[19:02:40] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
[19:02:40] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[19:02:40] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[19:02:40] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[19:02:40] [Client thread/INFO] [sTDOUT]: [lordmastodon.robotsculptures.handler.ConfigurationHandler:loadConfiguration:35]: Loaded Configuration
[19:02:40] [Client thread/INFO] [FML]: Applying holder lookups
[19:02:40] [Client thread/INFO] [FML]: Holder lookups applied
[19:02:40] [Client thread/INFO] [FML]: Injecting itemstacks
[19:02:40] [Client thread/INFO] [FML]: Itemstack injection complete
[19:02:42] [sound Library Loader/INFO]: Starting up SoundSystem...
[19:02:42] [Thread-9/INFO]: Initializing LWJGL OpenAL
[19:02:42] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[19:02:43] [Thread-9/INFO]: OpenAL initialized.
[19:02:43] [sound Library Loader/INFO]: Sound engine started
[19:03:24] [Client thread/INFO] [FML]: Max texture size: 4096
[19:03:24] [Client thread/INFO]: Created: 16x16 textures-atlas
[19:03:28] [Client thread/INFO] [FML]: Injecting itemstacks
[19:03:28] [Client thread/INFO] [FML]: Itemstack injection complete
[19:03:29] [Client thread/INFO] [sTDOUT]: [lordmastodon.robotsculptures.handler.ConfigurationHandler:loadConfiguration:35]: Loaded Configuration
[19:03:29] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from POSTINITIALIZATION to AVAILABLE. Loading cannot continue
[19:03:29] [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
UCHIJ	mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
UCHIJ	FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8-11.14.3.1502.jar) 
UCHIJ	Forge{11.14.3.1502} [Minecraft Forge] (forgeSrc-1.8-11.14.3.1502.jar) 
UCHIE	robotsculptures{1.0.0} [Robot Sculptures] (bin) 
[19:03:29] [Client thread/ERROR] [FML]: The following problems were captured during this phase
[19:03:29] [Client thread/ERROR] [FML]: Caught exception from robotsculptures
java.lang.NullPointerException
at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:270) ~[forgeSrc-1.8-11.14.3.1502.jar:?]
at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:242) ~[forgeSrc-1.8-11.14.3.1502.jar:?]
at net.minecraftforge.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:237) ~[forgeSrc-1.8-11.14.3.1502.jar:?]
at lordmastodon.robotsculptures.crafting.RSCraftingRecipes.register(RSCraftingRecipes.java:12) ~[bin/:?]
at lordmastodon.robotsculptures.RobotSculptures.postInit(RobotSculptures.java:51) ~[bin/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_79]
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537) ~[forgeSrc-1.8-11.14.3.1502.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_79]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[forgeSrc-1.8-11.14.3.1502.jar:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[forgeSrc-1.8-11.14.3.1502.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_79]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:736) [Loader.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:316) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:528) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_79]
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 net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
[19:03:29] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: ---- Minecraft Crash Report ----
// I blame Dinnerbone.

Time: 8/26/15 7:03 PM
Description: Initializing game

java.lang.NullPointerException: Initializing game
at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:270)
at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:242)
at net.minecraftforge.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:237)
at lordmastodon.robotsculptures.crafting.RSCraftingRecipes.register(RSCraftingRecipes.java:12)
at lordmastodon.robotsculptures.RobotSculptures.postInit(RobotSculptures.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:212)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:119)
at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:736)
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:316)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:528)
at net.minecraft.client.Minecraft.run(Minecraft.java:356)
at net.minecraft.client.main.Main.main(Main.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
at GradleStart.main(Unknown Source)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:270)
at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:242)
at net.minecraftforge.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:237)
at lordmastodon.robotsculptures.crafting.RSCraftingRecipes.register(RSCraftingRecipes.java:12)
at lordmastodon.robotsculptures.RobotSculptures.postInit(RobotSculptures.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:212)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:119)
at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:736)
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:316)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:528)

-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.run(Minecraft.java:356)
at net.minecraft.client.main.Main.main(Main.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
at GradleStart.main(Unknown Source)

-- System Details --
Details:
Minecraft Version: 1.8
Operating System: Windows 8.1 (x86) version 6.3
Java Version: 1.7.0_79, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 818333080 bytes (780 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.3.1502 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
UCHIJ	mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
UCHIJ	FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8-11.14.3.1502.jar) 
UCHIJ	Forge{11.14.3.1502} [Minecraft Forge] (forgeSrc-1.8-11.14.3.1502.jar) 
UCHIE	robotsculptures{1.0.0} [Robot Sculptures] (bin) 
Loaded coremods (and transformers): 
GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13399 Compatibility Profile Context 15.200.1062.1003' Renderer: 'AMD Radeon HD 8650G'
Launched Version: 1.8
LWJGL: 2.9.1
OpenGL: AMD Radeon HD 8650G GL version 4.5.13399 Compatibility Profile Context 15.200.1062.1003, 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: No
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)
[19:03:29] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\George\Desktop\Projects\Minecraft\Robot Sculptures\eclipse\.\crash-reports\crash-2015-08-26_19.03.29-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed

 

Sorry if that's a really friggin' long crash report, but it's just the whole log because there's a bunch of messages that show the debugging in action. Here's the class that registers the crafting recipe:

 

package lordmastodon.robotsculptures.crafting;

import lordmastodon.robotsculptures.block.RSBlocks;
import lordmastodon.robotsculptures.handler.ConfigurationHandler;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.common.registry.GameRegistry;

public class RSCraftingRecipes {

public static void register() {
	//Ken Sculpture Recipe
	GameRegistry.addRecipe(new ItemStack(RSBlocks.ken_sculpture), 
			"ABC",
			"DEF",
			"GHI",
			'A', ConfigurationHandler.kenSculptureRecipeItems[0],
			'B', ConfigurationHandler.kenSculptureRecipeItems[1],
			'C', ConfigurationHandler.kenSculptureRecipeItems[2],
			'D', ConfigurationHandler.kenSculptureRecipeItems[3],
			'E', ConfigurationHandler.kenSculptureRecipeItems[4],
			'F', ConfigurationHandler.kenSculptureRecipeItems[5],
			'G', ConfigurationHandler.kenSculptureRecipeItems[6],
			'H', ConfigurationHandler.kenSculptureRecipeItems[7],
			'I', ConfigurationHandler.kenSculptureRecipeItems[8]);
}

}

 

Here's the class that actually uses RSCraftingRecipes:

 

package lordmastodon.robotsculptures;

import lordmastodon.robotsculptures.block.RSBlocks;
import lordmastodon.robotsculptures.constants.ModConstants;
import lordmastodon.robotsculptures.crafting.RSCraftingRecipes;
import lordmastodon.robotsculptures.creativetab.SculpturesTab;
import lordmastodon.robotsculptures.handler.ConfigurationHandler;
import lordmastodon.robotsculptures.proxy.CommonProxy;
import lordmastodon.robotsculptures.tileentity.RSTileEntities;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.Mod.Instance;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.registry.GameRegistry;

@Mod(modid = ModConstants.MOD_ID, name = ModConstants.MOD_NAME, version = ModConstants.MOD_VERSION, acceptedMinecraftVersions = ModConstants.ACCEPTED_MINECRAFT_VERSIONS, guiFactory = ModConstants.GUI_FACTORY_PATH)
public class RobotSculptures {

@SidedProxy(clientSide = ModConstants.CLIENT_PROXY_PATH, serverSide = ModConstants.COMMON_PROXY_PATH)
public static CommonProxy proxy;

@Instance(ModConstants.MOD_ID)
public static RobotSculptures instance;

public static final SculpturesTab modTab = new SculpturesTab("tabSculptures");

@EventHandler
public void preInit(FMLPreInitializationEvent event) {
	RSBlocks.init();
	RSBlocks.register();

	ConfigurationHandler.init();
	FMLCommonHandler.instance().bus().register(new ConfigurationHandler());
}

@EventHandler
public void init(FMLInitializationEvent event) {
	proxy.registerRenders();

	RSTileEntities.register();
}

@EventHandler
public void postInit(FMLPostInitializationEvent event) {
	ConfigurationHandler.loadConfiguration();

	RSCraftingRecipes.register();
}

}

 

And finally here's ConfigurationHandler:

 

package lordmastodon.robotsculptures.handler;

import java.util.ArrayList;
import java.util.List;

import lordmastodon.robotsculptures.block.RSBlocks;
import lordmastodon.robotsculptures.client.gui.RSGuiConfig;
import lordmastodon.robotsculptures.constants.ModConstants;
import net.minecraft.item.Item;
import net.minecraftforge.fml.client.event.ConfigChangedEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.registry.GameRegistry;

public class ConfigurationHandler {

public static boolean kenSculptureExplosions = true;
public static boolean kenSculptureFuse = true;
public static int kenSculptureFuseLength = 60;
public static double kenSculptureExplosionStrength = 3;

public static Item[] kenSculptureRecipeItems = new Item[9];

public static void init () {
	loadConfiguration();
}

@SubscribeEvent
public void onConfigurationChangedEvent(ConfigChangedEvent.OnConfigChangedEvent event) {
	if (event.modID.equalsIgnoreCase(ModConstants.MOD_ID)) {
		loadConfiguration();
	}
}

public static void loadConfiguration() { 
	System.out.println("Loaded Configuration");

	//KEN_SCULPTURE_CATEGORY
	kenSculptureExplosions = (Boolean) RSGuiConfig.kenSculptureExplosions.get();
	kenSculptureFuse = (Boolean) RSGuiConfig.kenSculptureFuse.get();
	kenSculptureFuseLength = (Integer) RSGuiConfig.kenSculptureFuseLength.get();
	kenSculptureExplosionStrength = (Double) RSGuiConfig.kenSculptureExplosionStrength.get();

	//KEN_SCULPTURE_RECIPE_CATEGORY
	for(int i = 0; i < kenSculptureRecipeItems.length; i++) {
		Object[] list = RSGuiConfig.kenSculptureRecipeIngredients.getList();

		if(list[i].toString() != "") {
			String listString = (String) list[i].toString();
			String modid = "";

			if (listString.indexOf(":") != -1) {
				modid = listString.substring(0, listString.indexOf(":"));
			} else {
				System.out.println("Item modid: " + listString.indexOf(":"));
				throw new IllegalArgumentException("You haven't provided a modid for your item.");
			}

			kenSculptureRecipeItems[i] = GameRegistry.findItem(modid, list[i].toString());
		}
	}
}

}

 

Some final notes:

1. If you need the RSGuiConfig, let me know.

2. The problem is a NullPointerException here:

GameRegistry.addRecipe(new ItemStack(RSBlocks.ken_sculpture)

.

 

Thanks in advance!

Who are you? Why have you brought me here? And why are there so many PewDiePie fanboys surrounding meeeeeeeee....... *falls into pit and dies*.

 

Also this. Check it out.

width=700 height=200http://i.imgur.com/J4rrGt6.png[/img]

Posted

This exception is thrown when the ingredient

ItemStack

for one of the characters in the pattern string is

null

(a character with a

null

ingredient is not the same as a character with no ingredient specified). For this recipe, I think you'll need to assemble the pattern strings dynamically - for each ingredient index: if the ingredient for the index exists, use the corresponding character; else use a space.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.