Posted May 6, 201510 yr Ehm how can i use thsi GameRegistry.addShapedRecipe(new ItemStack(BetterArmourAndTools.emeraldSword, 1), "S", "D", 'S', BetterArmourAndTools.emeraldSword, 'E', Items.dye, 9); i want to create a pink sword with dye 9 for pink but i crash when this code in there [07:18:51] [main/INFO] [GradleStart]: Extra: [] [07:18:51] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --accessToken, {REDACTED}, --assetIndex, 1.7.10, --assetsDir, C:/Users/Marius/.gradle/caches/minecraft/assets, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [07:18:51] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [07:18:51] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [07:18:51] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [07:18:51] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [07:18:51] [main/INFO] [FML]: Forge Mod Loader version 7.10.97.1343 for Minecraft 1.7.10 loading [07:18:51] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.7.0_76, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre7 [07:18:51] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [07:18:51] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [07:18:51] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin [07:18:51] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [07:18:51] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [07:18:51] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [07:18:51] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [07:18:51] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [07:18:51] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [07:18:51] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [07:18:51] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [07:18:52] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [07:18:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [07:18:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [07:18:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [07:18:52] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [07:18:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [07:18:52] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [07:18:53] [main/INFO]: Setting user: Player703 [07:18:53] [Client thread/INFO]: LWJGL Version: 2.9.1 [07:18:54] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [07:18:54] [Client thread/INFO] [FML]: MinecraftForge v10.13.2.1343 Initialized [07:18:54] [Client thread/INFO] [FML]: Replaced 183 ore recipies [07:18:54] [Client thread/INFO] [FML]: Preloading CrashReport classes [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.World$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.World$2 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.World$3 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.World$4 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.chunk.Chunk$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.crash.CrashReportCategory$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.crash.CrashReportCategory$2 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.crash.CrashReportCategory$3 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.entity.Entity$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.entity.Entity$2 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.entity.EntityTracker$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.gen.layer.GenLayer$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.gen.layer.GenLayer$2 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.entity.player.InventoryPlayer$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.gen.structure.MapGenStructure$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.gen.structure.MapGenStructure$2 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.gen.structure.MapGenStructure$3 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.server.MinecraftServer$3 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.server.MinecraftServer$4 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.server.MinecraftServer$5 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.nbt.NBTTagCompound$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.nbt.NBTTagCompound$2 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.network.NetHandlerPlayServer$2 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.network.NetworkSystem$3 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.tileentity.TileEntity$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.tileentity.TileEntity$2 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.tileentity.TileEntity$3 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.storage.WorldInfo$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.storage.WorldInfo$2 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.storage.WorldInfo$3 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.storage.WorldInfo$4 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.storage.WorldInfo$5 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.storage.WorldInfo$6 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.storage.WorldInfo$7 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.storage.WorldInfo$8 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.world.storage.WorldInfo$9 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.Minecraft$3 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.Minecraft$4 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.Minecraft$5 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.Minecraft$6 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.Minecraft$7 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.Minecraft$8 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.Minecraft$9 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.Minecraft$10 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.Minecraft$11 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.Minecraft$12 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.Minecraft$13 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.Minecraft$14 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.Minecraft$15 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.multiplayer.WorldClient$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.multiplayer.WorldClient$2 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.multiplayer.WorldClient$3 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.multiplayer.WorldClient$4 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.particle,EffectRenderer$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.particle,EffectRenderer$2 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.particle,EffectRenderer$3 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.particle,EffectRenderer$4 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.renderer.EntityRenderer$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.renderer.EntityRenderer$2 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.renderer.EntityRenderer$3 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.server.integrated.IntegratedServer$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.server.integrated.IntegratedServer$2 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.renderer.RenderGlobal$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.renderer.entity.RenderItem$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.renderer.entity.RenderItem$2 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.renderer.entity.RenderItem$3 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.renderer.entity.RenderItem$4 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.renderer.texture.TextureAtlasSprite$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.renderer.texture.TextureManager$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.renderer.texture.TextureMap$1 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.renderer.texture.TextureMap$2 [07:18:54] [Client thread/INFO] [FML]: net.minecraft.client.renderer.texture.TextureMap$3 [07:18:54] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [07:18:54] [Client thread/INFO] [FML]: Searching C:\Users\Marius\Desktop\Tutorial\eclipse\mods for mods [07:18:56] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [07:18:56] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, BetterArmourAndTools] at CLIENT [07:18:56] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, BetterArmourAndTools] at SERVER [07:18:56] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:BetterArmourAndTools [07:18:56] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [07:18:56] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [07:18:56] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [07:18:56] [Client thread/INFO] [FML]: Applying holder lookups [07:18:56] [Client thread/INFO] [FML]: Holder lookups applied [07:18:56] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue [07:18:56] [Client thread/ERROR] [FML]: mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized FML{7.10.97.1343} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1343-1.7.10.jar) Unloaded->Constructed->Pre-initialized Forge{10.13.2.1343} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1343-1.7.10.jar) Unloaded->Constructed->Pre-initialized BetterArmourAndTools{1.0} [betterArmourAndTools] (bin) Unloaded->Constructed->Errored [07:18:56] [Client thread/ERROR] [FML]: The following problems were captured during this phase [07:18:56] [Client thread/ERROR] [FML]: Caught exception from BetterArmourAndTools java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Character at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:209) ~[forgeSrc-1.7.10-10.13.2.1343-1.7.10.jar:?] at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:244) ~[forgeSrc-1.7.10-10.13.2.1343-1.7.10.jar:?] at com.BetterArmourAndTools.main.Crafting.addCraftingRecipes(Crafting.java:71) ~[bin/:?] at com.BetterArmourAndTools.main.Crafting.mainRegistry(Crafting.java:15) ~[bin/:?] at com.BetterArmourAndTools.main.mainRegistry.PreLoad(mainRegistry.java:53) ~[bin/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_76] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_76] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_76] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_76] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) ~[forgeSrc-1.7.10-10.13.2.1343-1.7.10.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_76] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_76] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_76] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_76] 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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[forgeSrc-1.7.10-10.13.2.1343-1.7.10.jar:?] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[forgeSrc-1.7.10-10.13.2.1343-1.7.10.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_76] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_76] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_76] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_76] 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 cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?] at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513) [Loader.class:?] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_76] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_76] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_76] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_76] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?] at GradleStart.main(Unknown Source) [start/:?] [07:18:56] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ---- // This doesn't make any sense! Time: 06.05.15 07:18 Description: Initializing game java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Character at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:209) at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:244) at com.BetterArmourAndTools.main.Crafting.addCraftingRecipes(Crafting.java:71) at com.BetterArmourAndTools.main.Crafting.mainRegistry(Crafting.java:15) at com.BetterArmourAndTools.main.mainRegistry.PreLoad(mainRegistry.java:53) 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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) 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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) 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 cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239) at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) at net.minecraft.client.Minecraft.run(Minecraft.java:931) at net.minecraft.client.main.Main.main(Main.java:164) 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:209) at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:244) at com.BetterArmourAndTools.main.Crafting.addCraftingRecipes(Crafting.java:71) at com.BetterArmourAndTools.main.Crafting.mainRegistry(Crafting.java:15) at com.BetterArmourAndTools.main.mainRegistry.PreLoad(mainRegistry.java:53) 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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) 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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) 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 cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239) at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:931) at net.minecraft.client.main.Main.main(Main.java:164) 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.7.10 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.7.0_76, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 1622855976 bytes (1547 MB) / 2027421696 bytes (1933 MB) up to 7270301696 bytes (6933 MB) JVM Flags: 3 total; -Xincgc -Xmx7000M -Xms2000M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.97.1343 Minecraft Forge 10.13.2.1343 4 mods loaded, 4 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized FML{7.10.97.1343} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1343-1.7.10.jar) Unloaded->Constructed->Pre-initialized Forge{10.13.2.1343} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1343-1.7.10.jar) Unloaded->Constructed->Pre-initialized BetterArmourAndTools{1.0} [betterArmourAndTools] (bin) Unloaded->Constructed->Errored Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: GeForce GTX 780/PCIe/SSE2 GL version 4.5.0 NVIDIA 347.52, NVIDIA Corporation GL Caps: Using GL 1.3 multitexturing. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Anisotropic filtering is supported and maximum anisotropy is 16. Shaders are available because OpenGL 2.1 is supported. 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) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1) [07:18:56] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Marius\Desktop\Tutorial\eclipse\.\crash-reports\crash-2015-05-06_07.18.56-client.txt NEWB! in java im sorry
May 6, 201510 yr For us to help you, you need to post your code as well. There are lots of tutorials on recipes, such as: http://bedrockminer.jimdo.com/modding-tutorials/basic-modding-1-7/crafting-recipes/ But your error might be more of a Java mistake than recipe issue. So post your code. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
May 6, 201510 yr Author For us to help you, you need to post your code as well. There are lots of tutorials on recipes, such as: http://bedrockminer.jimdo.com/modding-tutorials/basic-modding-1-7/crafting-recipes/ But your error might be more of a Java mistake than recipe issue. So post your code. this is my code duh! here is more //Emerald Tools GameRegistry.addShapedRecipe(new ItemStack(BetterArmourAndTools.emeraldAxe, 1), "EE ", "ES ", " S ", 'E', Items.emerald, 'S', Items.stick); GameRegistry.addShapedRecipe(new ItemStack(BetterArmourAndTools.emeraldAxe, 1), " EE", " SE", " S ", 'E', Items.emerald, 'S', Items.stick); GameRegistry.addShapedRecipe(new ItemStack(BetterArmourAndTools.emeraldHoe, 1), "EE ", " S ", " S ", 'S', Items.stick, 'E', Items.emerald); GameRegistry.addShapedRecipe(new ItemStack(BetterArmourAndTools.emeraldHoe, 1), " EE", " S ", " S ", 'S', Items.stick, 'E', Items.emerald); GameRegistry.addShapedRecipe(new ItemStack(BetterArmourAndTools.emeraldPickaxe, 1), "EEE", " S ", " S ", 'S', Items.stick, 'E', Items.emerald); GameRegistry.addShapedRecipe(new ItemStack(BetterArmourAndTools.emeraldShovel, 1), "E", "S", "S", 'S', Items.stick, 'E', Items.emerald); GameRegistry.addShapedRecipe(new ItemStack(BetterArmourAndTools.emeraldSword, 1), "E", "E", "S", 'S', Items.stick, 'E', Items.emerald); GameRegistry.addShapedRecipe(new ItemStack(BetterArmourAndTools.emeraldSword, 1), "S", "D", 'S', BetterArmourAndTools.emeraldSword, 'E', Items.dye, 9); this all work but the last one is fail NEWB! in java im sorry
May 6, 201510 yr For us to help you, you need to post your code as well. There are lots of tutorials on recipes, such as: http://bedrockminer.jimdo.com/modding-tutorials/basic-modding-1-7/crafting-recipes/ But your error might be more of a Java mistake than recipe issue. So post your code. this is my code duh! *snip* ...where did you declare the 'D' charecter in the last one. If my post helped you, please press that "Thank You"-button to show your appreciation. Also if you don't know Java, I would suggest you read the official tutorials by Oracle to get an idea of how to do this. Thanks, and good modding! Also if you haven't, set up a Git repo for your mod not only for convinience but also to make it easier to help you.
May 6, 201510 yr you should really look on more tuts apperantly you dont understand how recipes work I'm beginner in java and in minecraft modding. Please be specific. Any code examples are appreciated. Sorry for my english i'm from Czech republic. Please hit that thank you button if i helped
May 7, 201510 yr You need to wrap Items.dye, 9 inside of an item stack. So it would be: new ItemStack(Items.dye, 1, 9) The second parameter is the stack size, so just set that to 1.
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.