This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
GameRegistry.addShapelessRecipe(new ItemStack(AlagaesiaCore.whiteBrightsteel, 1), Item.dyePowder, 1, 15, bs);
GameRegistry.addShapelessRecipe(new ItemStack(AlagaesiaCore.whiteBrightsteel, 1), new Object[] {new ItemStack(Item.dyePowder, 1, 15), bs});
+1 to anyone who can help. Here is my code, and my error under that:
And the Error.
[Spoiler]
2013-05-15 07:29:27 [INFO] [STDERR] java.lang.RuntimeException: Invalid shapeless recipy!
2013-05-15 07:29:27 [INFO] [STDERR] at net.minecraft.item.crafting.CraftingManager.addShapelessRecipe(CraftingManager.java:248)
2013-05-15 07:29:27 [INFO] [STDERR] at cpw.mods.fml.common.registry.GameRegistry.addShapelessRecipe(GameRegistry.java:249)
2013-05-15 07:29:27 [INFO] [STDERR] at AlagaesiaCraft.AlagaesiaCore.load(AlagaesiaCore.java:89)
2013-05-15 07:29:27 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-05-15 07:29:27 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-05-15 07:29:27 [INFO] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-05-15 07:29:27 [INFO] [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
2013-05-15 07:29:27 [INFO] [STDERR] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:494)
2013-05-15 07:29:27 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-05-15 07:29:27 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-05-15 07:29:27 [INFO] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-05-15 07:29:27 [INFO] [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
2013-05-15 07:29:27 [INFO] [STDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-05-15 07:29:27 [INFO] [STDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-05-15 07:29:27 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
2013-05-15 07:29:27 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-05-15 07:29:27 [INFO] [STDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-05-15 07:29:27 [INFO] [STDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
2013-05-15 07:29:27 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-05-15 07:29:27 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-05-15 07:29:27 [INFO] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-05-15 07:29:27 [INFO] [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
2013-05-15 07:29:27 [INFO] [STDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-05-15 07:29:27 [INFO] [STDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-05-15 07:29:27 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
2013-05-15 07:29:27 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-05-15 07:29:27 [INFO] [STDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-05-15 07:29:27 [INFO] [STDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
2013-05-15 07:29:27 [INFO] [STDERR] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:690)
2013-05-15 07:29:27 [INFO] [STDERR] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206)
2013-05-15 07:29:27 [INFO] [STDERR] at net.minecraft.client.Minecraft.startGame(Minecraft.java:447)
2013-05-15 07:29:27 [INFO] [STDERR] at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
2013-05-15 07:29:27 [INFO] [STDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:732)
2013-05-15 07:29:27 [INFO] [STDERR] at java.lang.Thread.run(Unknown Source
[spoiler]
*edited sorry bout that
double edit: I'm assuming that 'bs' is a local item or block variable