BoonieQuafter-CrAfTeR Posted March 30, 2015 Posted March 30, 2015 Basically what is happening is when I try to craft a block in my mod, on placing the last item in the crafting table I immediately crash . This doesn't happen with my items just my blocks. for example if I craft an item with items from my mod to create and item from my mod it works. but with the blocks it crashes. I've seen other threads about this on google, but they date back awhile, so take a look at my class for blocks and my craftingmanager, tell me what I need to do to fix this please, I would really appreciate it. thank you for your time. CraftingManager Class package com.OlympiansMod.Main; import com.OlympiansMod.Block.ModBlocks; import com.OlympiansMod.Item.ModItems; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import cpw.mods.fml.common.registry.GameRegistry; public class CraftingManager { public static void mainRegistry(){ addCraftingRec(); addSmeltingRec(); } public static void addCraftingRec(){ //Shaped GameRegistry.addRecipe(new ItemStack(ModBlocks.CBronzeBlock, 1), new Object[]{"XXX","XXX","XXX", 'X', ModItems.CelestialBronzeIngot}); GameRegistry.addRecipe(new ItemStack(ModItems.BallPointPen, 1), new Object[]{" C "," O "," O ", 'C', ModItems.CelestialBronzeIngot, 'O', Blocks.obsidian}); //Shapeless GameRegistry.addShapelessRecipe(new ItemStack(ModItems.CelestialBronzeIngot, 9), new ItemStack(Blocks.obsidian)); GameRegistry.addShapelessRecipe(new ItemStack(Items.diamond, 64), new ItemStack(Blocks.dirt)); } public static void addSmeltingRec(){ GameRegistry.addSmelting(ModItems.CelestialBronzeIngot, new ItemStack(ModBlocks.CBronzeOre), 20.0f); } } ModBlocks Class package com.OlympiansMod.Block; import com.OlympiansMod.lib.Refstrings; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import cpw.mods.fml.common.registry.GameRegistry; public class ModBlocks { public static void MainRegistry() { initializeBlock(); registerBlock(); } public static Block CBronzeBlock; public static Block CBronzeOre; public static void initializeBlock() { CBronzeBlock = new CBronzeBlock(Material.iron).setBlockName("CBronzeBlock").setCreativeTab(CreativeTabs.tabBlock).setBlockTextureName(Refstrings.MODID + ":CBronzeBlock").setHardness(3); CBronzeOre = new CBronzeOre(Material.iron).setBlockName("CBronzeOre").setCreativeTab(CreativeTabs.tabBlock).setBlockTextureName(Refstrings.MODID + ":CBronzeOre").setHardness(4); } public static void registerBlock() { GameRegistry.registerBlock(CBronzeBlock, CBronzeBlock.getUnlocalizedName()); GameRegistry.registerBlock(CBronzeOre, CBronzeOre.getUnlocalizedName()); } } CrAsH rEpOrT [21:37:21] [main/INFO] [GradleStart]: Extra: [] [21:37:21] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Boone.mcfuzz/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker] [21:37:21] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [21:37:21] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [21:37:21] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker [21:37:21] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [21:37:21] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1230 for Minecraft 1.7.10 loading [21:37:21] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_25, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre1.8.0_25 [21:37:21] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [21:37:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker [21:37:22] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin [21:37:22] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [21:37:22] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [21:37:22] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [21:37:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [21:37:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [21:37:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [21:37:22] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [21:37:27] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [21:37:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [21:37:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [21:37:28] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [21:37:28] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [21:37:28] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [21:37:31] [main/INFO]: Setting user: Player671 [21:37:35] [Client thread/INFO]: LWJGL Version: 2.9.1 [21:37:37] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [21:37:37] [Client thread/INFO] [FML]: MinecraftForge v10.13.2.1230 Initialized [21:37:37] [Client thread/INFO] [FML]: Replaced 182 ore recipies [21:37:38] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [21:37:38] [Client thread/INFO] [FML]: Searching C:\Users\Boone.mcfuzz\Desktop\Olympians Mod\eclipse\mods for mods [21:37:48] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [21:37:48] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, theolympiansmod] at CLIENT [21:37:48] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, theolympiansmod] at SERVER [21:37:49] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:The Olympians Mod [21:37:50] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [21:37:50] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [21:37:50] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [21:37:50] [Client thread/INFO] [FML]: Applying holder lookups [21:37:50] [Client thread/INFO] [FML]: Holder lookups applied [21:37:50] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [21:37:50] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem... [21:37:50] [Thread-6/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [21:37:50] [Thread-6/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [21:37:51] [Thread-6/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [21:37:51] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [21:37:51] [sound Library Loader/INFO]: Sound engine started [21:37:56] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [21:37:56] [Client thread/INFO]: Created: 256x256 textures/items-atlas [21:37:56] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [21:37:56] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:The Olympians Mod [21:37:57] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [21:37:57] [Client thread/INFO]: Created: 256x256 textures/items-atlas [21:37:57] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [21:37:57] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down... [21:37:58] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com [21:37:58] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [21:37:58] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [21:37:58] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem... [21:37:58] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [21:37:58] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [21:37:58] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [21:37:58] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [21:37:58] [sound Library Loader/INFO]: Sound engine started [21:38:06] [server thread/INFO]: Starting integrated minecraft server version 1.7.10 [21:38:06] [server thread/INFO]: Generating keypair [21:38:07] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance [21:38:07] [server thread/INFO] [FML]: Applying holder lookups [21:38:07] [server thread/INFO] [FML]: Holder lookups applied [21:38:07] [server thread/INFO] [FML]: Loading dimension 0 (Snub) (net.minecraft.server.integrated.IntegratedServer@51a5273c) [21:38:07] [server thread/INFO] [FML]: Loading dimension 1 (Snub) (net.minecraft.server.integrated.IntegratedServer@51a5273c) [21:38:07] [server thread/INFO] [FML]: Loading dimension -1 (Snub) (net.minecraft.server.integrated.IntegratedServer@51a5273c) [21:38:07] [server thread/INFO]: Preparing start region for level 0 [21:38:08] [server thread/INFO]: Preparing spawn area: 15% [21:38:09] [server thread/INFO]: Preparing spawn area: 43% [21:38:11] [server thread/INFO]: Changing view distance to 12, from 10 [21:38:12] [Netty Client IO #0/INFO] [FML]: Server protocol version 1 [21:38:12] [Netty IO #1/INFO] [FML]: Client protocol version 1 [21:38:12] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected] [21:38:12] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT [21:38:12] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER [21:38:12] [server thread/INFO] [FML]: [server thread] Server side modded connection established [21:38:12] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established [21:38:12] [server thread/INFO]: Player671[local:E:4fe46f45] logged in with entity id 164 at (261.8814432389071, 66.0, 19.853033225675894) [21:38:12] [server thread/INFO]: Player671 joined the game [21:38:24] [server thread/INFO]: Player671 has just earned the achievement [Taking Inventory] [21:38:24] [Client thread/INFO]: [CHAT] Player671 has just earned the achievement [Taking Inventory] [21:38:37] [server thread/INFO]: Stopping server [21:38:37] [server thread/INFO]: Saving players [21:38:37] [server thread/INFO]: Saving worlds [21:38:37] [server thread/INFO]: Saving chunks for level 'Snub'/Overworld [21:38:38] [server thread/INFO]: Saving chunks for level 'Snub'/Nether [21:38:38] [server thread/INFO]: Saving chunks for level 'Snub'/The End [21:38:38] [server thread/INFO] [FML]: Unloading dimension 0 [21:38:38] [server thread/INFO] [FML]: Unloading dimension -1 [21:38:38] [server thread/INFO] [FML]: Unloading dimension 1 [21:38:38] [server thread/INFO] [FML]: Applying holder lookups [21:38:38] [server thread/INFO] [FML]: Holder lookups applied [21:38:39] [Client thread/FATAL]: Reported exception thrown! net.minecraft.util.ReportedException: Rendering item at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1168) ~[EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1057) ~[Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] 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(GradleStartCommon.java:78) [start/:?] at GradleStart.main(GradleStart.java:45) [start/:?] Caused by: java.lang.NullPointerException at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:265) ~[itemStack.class:?] at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:419) ~[RenderItem.class:?] at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585) ~[RenderItem.class:?] at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:287) ~[GuiContainer.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:114) ~[GuiContainer.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) ~[EntityRenderer.class:?] ... 11 more [21:38:39] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ---- // Daisy, daisy... Time: 3/29/15 9:38 PM Description: Rendering item java.lang.NullPointerException: Rendering item at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:265) at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:419) at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585) at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:287) at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:114) at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1057) at net.minecraft.client.Minecraft.run(Minecraft.java:951) 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(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:265) at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:419) -- Item being rendered -- Details: Item Type: null Item Aux: ~~ERROR~~ NullPointerException: null Item NBT: null Item Foil: ~~ERROR~~ NullPointerException: null Stacktrace: at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585) at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:287) at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:114) -- Screen render details -- Details: Screen name: net.minecraft.client.gui.inventory.GuiCrafting Mouse location: Scaled: (202, 103). Absolute: (404, 272) Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2 -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityClientPlayerMP['Player671'/164, l='MpServer', x=261.88, y=67.62, z=19.85]] Chunk stats: MultiplayerChunkCache: 571, 571 Level seed: 0 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: World: (256,64,16), Chunk: (at 0,4,0 in 16,1; contains blocks 256,0,16 to 271,255,31), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 14021 game time, 14021 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 72 total; [EntityCreeper['Creeper'/128, l='MpServer', x=309.50, y=64.00, z=-43.50], EntitySquid['Squid'/129, l='MpServer', x=319.16, y=56.00, z=-5.59], EntityChicken['Chicken'/130, l='MpServer', x=320.47, y=62.49, z=11.47], EntityChicken['Chicken'/131, l='MpServer', x=314.47, y=62.45, z=13.56], EntitySquid['Squid'/132, l='MpServer', x=306.25, y=41.91, z=30.38], EntitySquid['Squid'/133, l='MpServer', x=312.28, y=44.94, z=34.75], EntityZombie['Zombie'/141, l='MpServer', x=327.25, y=28.00, z=-54.59], EntityZombie['Zombie'/142, l='MpServer', x=331.34, y=28.00, z=-58.66], EntitySkeleton['Skeleton'/143, l='MpServer', x=330.13, y=28.00, z=-54.63], EntityCreeper['Creeper'/144, l='MpServer', x=321.00, y=20.00, z=41.44], EntityChicken['Chicken'/147, l='MpServer', x=336.34, y=64.00, z=-4.66], EntityZombie['Zombie'/539, l='MpServer', x=228.50, y=31.00, z=9.50], EntitySpider['Spider'/29, l='MpServer', x=190.78, y=12.00, z=53.50], EntityBat['Bat'/30, l='MpServer', x=189.22, y=16.00, z=76.63], EntityBat['Bat'/31, l='MpServer', x=184.00, y=32.18, z=92.75], EntityCreeper['Creeper'/35, l='MpServer', x=204.25, y=13.23, z=15.44], EntitySkeleton['Skeleton'/36, l='MpServer', x=207.69, y=12.00, z=22.31], EntityClientPlayerMP['Player671'/164, l='MpServer', x=261.88, y=67.62, z=19.85], EntitySquid['Squid'/38, l='MpServer', x=201.25, y=45.31, z=11.34], EntityBat['Bat'/40, l='MpServer', x=201.75, y=20.10, z=36.25], EntitySquid['Squid'/49, l='MpServer', x=212.84, y=51.13, z=-33.59], EntitySquid['Squid'/50, l='MpServer', x=217.19, y=57.16, z=-34.47], EntityBat['Bat'/51, l='MpServer', x=211.72, y=13.00, z=22.25], EntityBat['Bat'/52, l='MpServer', x=209.25, y=12.10, z=18.75], EntityCreeper['Creeper'/53, l='MpServer', x=208.50, y=20.00, z=34.50], EntitySquid['Squid'/54, l='MpServer', x=207.78, y=59.38, z=43.34], EntityBat['Bat'/55, l='MpServer', x=224.22, y=17.92, z=43.69], EntityBat['Bat'/56, l='MpServer', x=227.66, y=21.10, z=56.50], EntityBat['Bat'/57, l='MpServer', x=205.25, y=14.76, z=52.41], EntityZombie['Zombie'/58, l='MpServer', x=224.41, y=21.00, z=59.88], EntityBat['Bat'/59, l='MpServer', x=225.25, y=25.70, z=81.28], EntityBat['Bat'/60, l='MpServer', x=217.00, y=13.67, z=94.38], EntityZombie['Zombie'/61, l='MpServer', x=215.30, y=11.00, z=94.70], EntityZombie['Zombie'/62, l='MpServer', x=212.25, y=18.00, z=78.62], EntityZombie['Zombie'/63, l='MpServer', x=210.50, y=20.00, z=83.50], EntityBat['Bat'/64, l='MpServer', x=210.50, y=20.85, z=85.44], EntityZombie['Zombie'/66, l='MpServer', x=218.50, y=17.00, z=94.69], EntitySkeleton['Skeleton'/69, l='MpServer', x=218.88, y=19.00, z=99.38], EntitySquid['Squid'/72, l='MpServer', x=239.34, y=55.31, z=-31.81], EntitySquid['Squid'/73, l='MpServer', x=238.66, y=50.38, z=-20.91], EntitySquid['Squid'/74, l='MpServer', x=223.53, y=54.38, z=-28.88], EntityCreeper['Creeper'/75, l='MpServer', x=226.22, y=32.00, z=9.44], EntityCreeper['Creeper'/76, l='MpServer', x=224.97, y=32.00, z=11.53], EntityZombie['Zombie'/77, l='MpServer', x=226.50, y=32.00, z=10.69], EntityCreeper['Creeper'/78, l='MpServer', x=224.31, y=17.00, z=44.31], EntitySkeleton['Skeleton'/79, l='MpServer', x=236.50, y=29.00, z=52.50], EntityBat['Bat'/80, l='MpServer', x=219.88, y=24.23, z=81.66], EntitySkeleton['Skeleton'/87, l='MpServer', x=248.50, y=17.00, z=34.50], EntitySquid['Squid'/88, l='MpServer', x=241.44, y=51.03, z=63.63], EntitySquid['Squid'/89, l='MpServer', x=254.22, y=41.34, z=79.72], EntityChicken['Chicken'/95, l='MpServer', x=271.63, y=64.00, z=-16.59], EntitySkeleton['Skeleton'/96, l='MpServer', x=271.50, y=64.00, z=-15.50], EntitySquid['Squid'/97, l='MpServer', x=257.50, y=46.00, z=46.50], EntityZombie['Zombie'/99, l='MpServer', x=265.53, y=12.00, z=58.31], EntityZombie['Zombie'/100, l='MpServer', x=268.50, y=17.00, z=63.50], EntityZombie['Zombie'/101, l='MpServer', x=270.50, y=17.00, z=62.78], EntityZombie['Zombie'/102, l='MpServer', x=270.44, y=17.00, z=61.34], EntityZombie['Zombie'/103, l='MpServer', x=267.41, y=17.00, z=63.91], EntityChicken['Chicken'/106, l='MpServer', x=277.25, y=62.42, z=-28.78], EntityChicken['Chicken'/107, l='MpServer', x=284.47, y=62.63, z=-23.44], EntityChicken['Chicken'/108, l='MpServer', x=280.56, y=63.00, z=-19.34], EntityPig['Pig'/109, l='MpServer', x=287.88, y=64.00, z=-2.72], EntityChicken['Chicken'/110, l='MpServer', x=287.41, y=64.00, z=-4.41], EntityPig['Pig'/111, l='MpServer', x=293.31, y=63.00, z=-2.22], EntitySkeleton['Skeleton'/112, l='MpServer', x=289.06, y=24.00, z=90.50], EntityZombie['Zombie'/116, l='MpServer', x=298.50, y=35.00, z=-40.50], EntityCreeper['Creeper'/117, l='MpServer', x=295.94, y=34.00, z=-45.69], EntityChicken['Chicken'/118, l='MpServer', x=289.47, y=62.42, z=-41.47], EntityChicken['Chicken'/119, l='MpServer', x=294.59, y=63.00, z=-19.38], EntityChicken['Chicken'/120, l='MpServer', x=292.53, y=62.57, z=-20.47], EntityZombie['Zombie'/121, l='MpServer', x=297.63, y=16.00, z=91.41], EntityChicken['Chicken'/127, l='MpServer', x=313.44, y=63.00, z=-33.56]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2556) at net.minecraft.client.Minecraft.run(Minecraft.java:972) 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(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.8.0_25, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 692744056 bytes (660 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94 FML: MCP v9.05 FML v7.10.85.1230 Minecraft Forge 10.13.2.1230 4 mods loaded, 4 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{7.10.85.1230} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1230.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{10.13.2.1230} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1230.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available theolympiansmod{0.1} [The Olympians Mod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: AMD Radeon HD 8400 GL version 4.3.12804 Compatibility Profile Context 13.352.1004.1007, ATI Technologies Inc. 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) [21:38:39] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Boone.mcfuzz\Desktop\Olympians Mod\eclipse\.\crash-reports\crash-2015-03-29_21.38.39-client.txt [21:38:39] [Client thread/INFO] [FML]: Waiting for the server to terminate/save. [21:38:39] [Client thread/INFO] [FML]: Server terminated. AL lib: (EE) alc_cleanup: 1 device not closed Java HotSpot 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release PLEASE help I've looked and looked at sources and non of which have helped, thank you. Quote Im serious don't look at it!!
shadowfacts Posted March 30, 2015 Posted March 30, 2015 Show the code for the class of the block you are trying to craft. Quote Don't make mods if you don't know Java. Check out my website: http://shadowfacts.net Developer of many mods
BoonieQuafter-CrAfTeR Posted March 30, 2015 Author Posted March 30, 2015 GameRegistry.addRecipe(new ItemStack(ModBlocks.CBronzeBlock, 1), new Object[]{"XXX","XXX","XXX", 'X', ModItems.CelestialBronzeIngot}); I am trying to craft Cbronzeblock it crashes when I try to craft it, all my modded blocks seem to not work with crafting Quote Im serious don't look at it!!
Abastro Posted March 30, 2015 Posted March 30, 2015 Post the Cbronzeblock class code, since the problem is there. Quote I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
BoonieQuafter-CrAfTeR Posted March 30, 2015 Author Posted March 30, 2015 all of my items are created in my block class which is activated in the main class here is my block class, what am I doing wrong? package com.OlympiansMod.Block; import com.OlympiansMod.lib.Refstrings; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import cpw.mods.fml.common.registry.GameRegistry; public class ModBlocks { public static void MainRegistry() { initializeBlock(); registerBlock(); } public static Block CBronzeBlock; public static Block CBronzeOre; public static void initializeBlock() { CBronzeBlock = new CBronzeBlock(Material.iron).setBlockName("CBronzeBlock").setCreativeTab(CreativeTabs.tabBlock).setBlockTextureName(Refstrings.MODID + ":CBronzeBlock").setHardness(3); CBronzeOre = new CBronzeOre(Material.iron).setBlockName("CBronzeOre").setCreativeTab(CreativeTabs.tabBlock).setBlockTextureName(Refstrings.MODID + ":CBronzeOre").setHardness(4); } public static void registerBlock() { GameRegistry.registerBlock(CBronzeBlock, CBronzeBlock.getUnlocalizedName()); GameRegistry.registerBlock(CBronzeOre, CBronzeOre.getUnlocalizedName()); } } Quote Im serious don't look at it!!
BoonieQuafter-CrAfTeR Posted March 31, 2015 Author Posted March 31, 2015 Here is my Main Class, what do you think? what should I do? package com.OlympiansMod.Main; import com.OlympiansMod.Block.ModBlocks; import com.OlympiansMod.Item.ModItems; import com.OlympiansMod.lib.Refstrings; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.registry.GameRegistry; @Mod(modid = Refstrings.MODID , name = Refstrings.NAME , version = Refstrings.VERSION) public class MainRegistry { @SidedProxy(clientSide = Refstrings.CLIENTSIDE , serverSide = Refstrings.SERVERSIDE) public static ServerProxy proxy; @EventHandler public static void PreLoad(FMLPreInitializationEvent PreEvent) { proxy.registerRenderInfo(); ModItems.MainRegistry(); CraftingManager.mainRegistry(); ModBlocks.MainRegistry(); } @EventHandler public static void Load(FMLInitializationEvent event) { } @EventHandler public static void PostLoad(FMLPostInitializationEvent PostEvent) { } } Quote Im serious don't look at it!!
Anon10W1z Posted March 31, 2015 Posted March 31, 2015 Register the crafting recipes after the blocks. Quote Maker of the Craft++ mod.
Asweez Posted March 31, 2015 Posted March 31, 2015 Well its obvious. You are trying to register the Block after it is in the recipe. Essentially, you have a Block that doesn't exist yet in your crafting recipe. That's why its crashing. Register your ModBlocks before CraftingRegistry Quote Creator of the MyFit, MagiCraft, Tesseract gun, and Papa's Wingeria mod.
BoonieQuafter-CrAfTeR Posted March 31, 2015 Author Posted March 31, 2015 FACE PALM! wow I seriously didn't see that you are a life saver!! wow thank you I will keep an eye out for that next time. your a great help, -BoonieQuafter-CrAfTeR Quote Im serious don't look at it!!
Recommended Posts
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.