Posted February 10, 201510 yr It seems that Forge does not care about the Item's registration in ItemModelMesher. It is searched for tutorialItem.json (which is the unlocalized name and the name i registered the item with in the game registry) instead of tutorial_item.json, which is what I registered. If I change unlocalizedName and registration name it works. What have I done wrong? Model Registration: ItemModelMesher m = Minecraft.getMinecraft().getRenderItem().getItemModelMesher(); m.register(ModItems.tutorialItem, 0, new ModelResourceLocation("tutorial:tutorial_item.json", "inventory")); (Called from Client Proxy's init) File is at: [src/main/resources] assets.tutorial.models.item.tutorial_item.json Chrash log: [16:22:30] [main/INFO] [GradleStart]: username: [email protected] [16:22:30] [main/INFO] [GradleStart]: Extra: [] [16:22:30] [main/INFO] [GradleStart]: Password found, attempting login [16:22:30] [main/INFO]: Logging in with username & password [16:22:33] [main/INFO] [GradleStart]: Login Succesful! [16:22:33] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Julian/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --userType, mojang, --accessToken, {REDACTED}, --version, 1.8, --uuid, 79b0a31992fd40caba24c857866ff166, --userPropertiesMap, [], --username, _Bedrock_Miner_, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker] [16:22:34] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [16:22:34] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [16:22:34] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker [16:22:34] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [16:22:34] [main/INFO] [FML]: Forge Mod Loader version 8.0.26.1299 for Minecraft 1.8 loading [16:22:34] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_31, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre1.8.0_31 [16:22:34] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [16:22:34] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker [16:22:34] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [16:22:34] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [16:22:34] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [16:22:34] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [16:22:34] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [16:22:34] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [16:22:34] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [16:22:34] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [16:22:36] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [16:22:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [16:22:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [16:22:37] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [16:22:37] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [16:22:37] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [16:22:37] [main/INFO] [sTDOUT]: [net.minecraft.client.main.Main:main:59]: Completely ignored arguments: [--userPropertiesMap, []] [16:22:38] [Client thread/INFO]: Setting user: _Bedrock_Miner_ [16:22:41] [Client thread/INFO]: LWJGL Version: 2.9.1 [16:22:42] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [16:22:42] [Client thread/INFO] [FML]: MinecraftForge v11.14.0.1299 Initialized [16:22:42] [Client thread/INFO] [FML]: Replaced 204 ore recipies [16:22:42] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [16:22:42] [Client thread/INFO] [FML]: Searching C:\Users\Julian\git\MinecraftForgeTutorial\Tutorials 1.8\mods for mods [16:22:47] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load [16:22:47] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, tutorial, examplemod] at CLIENT [16:22:47] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, tutorial, examplemod] at SERVER [16:22:47] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Tutorial Mod 1.8, FMLFileResourcePack:Example Mod [16:22:48] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [16:22:48] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations [16:22:48] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [16:22:48] [Client thread/INFO] [FML]: Applying holder lookups [16:22:48] [Client thread/INFO] [FML]: Holder lookups applied [16:22:48] [sound Library Loader/INFO]: Starting up SoundSystem... [16:22:48] [Thread-7/INFO]: Initializing LWJGL OpenAL [16:22:48] [Thread-7/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [16:22:48] [Thread-7/INFO]: OpenAL initialized. [16:22:49] [sound Library Loader/INFO]: Sound engine started [16:22:52] [Client thread/ERROR] [FML]: Exception loading model tutorial:models/item/tutorialItem with vanilla loader, skipping java.io.FileNotFoundException: tutorial:models/item/tutorialItem.json at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:70) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.resources.model.ModelBakery.loadModel(ModelBakery.java:260) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.access$1200(ModelLoader.java:51) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:417) [ModelLoader$VanillaLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:92) [ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.loadAnyModel(ModelLoader.java:165) [ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.getModel(ModelLoader.java:148) [ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:140) [ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:69) [ModelLoader.class:?] at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:124) [simpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:471) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:325) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_31] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_31] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_31] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_31] 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/:?] [16:22:53] [Client thread/INFO]: Created: 512x512 textures-atlas [16:22:54] [Client thread/INFO] [sTDOUT]: [com.example.examplemod.ExampleMod:init:18]: DIRT BLOCK >> tile.dirt [16:22:54] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods [16:22:54] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Tutorial Mod 1.8, FMLFileResourcePack:Example Mod [16:22:55] [Client thread/INFO]: SoundSystem shutting down... [16:22:55] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com [16:22:55] [sound Library Loader/INFO]: Starting up SoundSystem... [16:22:55] [Thread-9/INFO]: Initializing LWJGL OpenAL [16:22:55] [Thread-9/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [16:22:55] [Thread-9/INFO]: OpenAL initialized. [16:22:55] [sound Library Loader/INFO]: Sound engine started [16:22:58] [Client thread/ERROR] [FML]: Exception loading model tutorial:models/item/tutorialItem with vanilla loader, skipping java.io.FileNotFoundException: tutorial:models/item/tutorialItem.json at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:70) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.resources.model.ModelBakery.loadModel(ModelBakery.java:260) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.access$1200(ModelLoader.java:51) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:417) [ModelLoader$VanillaLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:92) [ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.loadAnyModel(ModelLoader.java:165) [ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.getModel(ModelLoader.java:148) [ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:140) [ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:69) [ModelLoader.class:?] at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [simpleReloadableResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [simpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:728) [Minecraft.class:?] at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:306) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:485) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:325) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_31] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_31] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_31] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_31] 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/:?] [16:22:58] [Client thread/INFO]: Created: 512x512 textures-atlas [16:24:59] [Client thread/INFO]: Stopping! [16:24:59] [Client thread/INFO]: SoundSystem shutting down... [16:25:00] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
February 10, 201510 yr Author It's actually the registration name that's used. If I register my Item with GameRegistry.registerItem(item, "tutorial_item"); it works, but if I use GameRegistry.registerItem(item, "tutorialItem"); it does not work. Additionally, what strikes me is that my Item is displayed as a cube if the model is not found. Why? http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
February 11, 201510 yr Author Actually I don't want to accept it Why do we need this registratiom stuff if it is not used at all? http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
February 11, 201510 yr It is used. If you leave it out, or the two don't match, your item won't render properly. In the case where your item has variants, it needs different meshers for the variants. If your item is simple, you wind up registering "twice" which is yeah a redundancy, but it's for sure just easier to add the registration and the model mesher and get on with coding something interesting.. Trust me, I have dug pretty deep into the model and item registry code, it took me a day to understand it all and that's 10 hours of my life I'm never getting back... -TGG
February 11, 201510 yr Author OK; understod: You need to makr them the same. Don't know why, but OK. (Allows a nice small handler method to be made...) Now, my model is obviously loaded but throws an exception. Crash log: [14:31:38] [main/INFO] [GradleStart]: username: [email protected] [14:31:39] [main/INFO] [GradleStart]: Extra: [] [14:31:39] [main/INFO] [GradleStart]: Password found, attempting login [14:31:40] [main/INFO]: Logging in with username & password [14:31:49] [main/INFO] [GradleStart]: Login Succesful! [14:31:49] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Julian/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --userType, mojang, --accessToken, {REDACTED}, --version, 1.8, --uuid, 79b0a31992fd40caba24c857866ff166, --userPropertiesMap, [], --username, _Bedrock_Miner_, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker] [14:31:49] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [14:31:50] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [14:31:50] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker [14:31:50] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [14:31:52] [main/INFO] [FML]: Forge Mod Loader version 8.0.26.1299 for Minecraft 1.8 loading [14:31:52] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_31, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre1.8.0_31 [14:31:52] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [14:31:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker [14:31:52] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [14:31:52] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [14:31:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [14:31:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [14:31:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [14:31:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [14:31:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [14:31:52] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [14:31:55] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [14:31:55] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [14:31:55] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [14:31:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [14:31:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [14:31:56] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [14:31:57] [main/INFO] [sTDOUT]: [net.minecraft.client.main.Main:main:59]: Completely ignored arguments: [--userPropertiesMap, []] [14:31:58] [Client thread/INFO]: Setting user: _Bedrock_Miner_ [14:32:02] [Client thread/INFO]: LWJGL Version: 2.9.1 [14:32:04] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [14:32:04] [Client thread/INFO] [FML]: MinecraftForge v11.14.0.1299 Initialized [14:32:04] [Client thread/INFO] [FML]: Replaced 204 ore recipies [14:32:04] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [14:32:05] [Client thread/INFO] [FML]: Searching C:\Users\Julian\git\MinecraftForgeTutorial\Tutorials 1.8\mods for mods [14:32:18] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load [14:32:18] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, tutorial, examplemod] at CLIENT [14:32:18] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, tutorial, examplemod] at SERVER [14:32:19] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Tutorial Mod 1.8, FMLFileResourcePack:Example Mod [14:32:19] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [14:32:19] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations [14:32:19] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [14:32:19] [Client thread/INFO] [FML]: Applying holder lookups [14:32:19] [Client thread/INFO] [FML]: Holder lookups applied [14:32:20] [sound Library Loader/INFO]: Starting up SoundSystem... [14:32:21] [Thread-7/INFO]: Initializing LWJGL OpenAL [14:32:21] [Thread-7/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [14:32:22] [Thread-7/INFO]: OpenAL initialized. [14:32:22] [sound Library Loader/INFO]: Sound engine started AL lib: (EE) MMDevApiProc: WaitForSingleObjectEx error: 0x102 [14:47:03] [Client thread/INFO]: Created: 512x512 textures-atlas [14:47:04] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:568]: ---- Minecraft Crash Report ---- // I just don't know what went wrong Time: 11.02.15 14:47 Description: Initializing game java.lang.NullPointerException: Initializing game at net.minecraft.client.resources.model.ModelBakery.bakeModel(ModelBakery.java:507) at net.minecraftforge.client.model.ModelLoader.access$1100(ModelLoader.java:51) at net.minecraftforge.client.model.ModelLoader$VanillaModelWrapper.bake(ModelLoader.java:249) at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:87) at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:124) at net.minecraft.client.Minecraft.startGame(Minecraft.java:471) at net.minecraft.client.Minecraft.run(Minecraft.java:325) 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(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.client.resources.model.ModelBakery.bakeModel(ModelBakery.java:507) at net.minecraftforge.client.model.ModelLoader.access$1100(ModelLoader.java:51) at net.minecraftforge.client.model.ModelLoader$VanillaModelWrapper.bake(ModelLoader.java:249) at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:87) at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:124) at net.minecraft.client.Minecraft.startGame(Minecraft.java:471) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:325) 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(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) -- System Details -- Details: Minecraft Version: 1.8 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_31, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 151214200 bytes (144 MB) / 340262912 bytes (324 MB) up to 943718400 bytes (900 MB) JVM Flags: 0 total; IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.10 FML v8.0.26.1299 Minecraft Forge 11.14.0.1299 5 mods loaded, 5 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized FML{8.0.26.1299} [Forge Mod Loader] (forgeSrc-1.8-11.14.0.1299.jar) Unloaded->Constructed->Pre-initialized Forge{11.14.0.1299} [Minecraft Forge] (forgeSrc-1.8-11.14.0.1299.jar) Unloaded->Constructed->Pre-initialized tutorial{1.0.0} [Tutorial Mod 1.8] (bin) Unloaded->Constructed->Pre-initialized examplemod{1.0} [Example Mod] (bin) Unloaded->Constructed->Pre-initialized Launched Version: 1.8 LWJGL: 2.9.1 OpenGL: Intel(R) HD Graphics Family GL version 3.1.0 - Build 8.15.10.2476, Intel 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) [14:47:04] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:568]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Julian\git\MinecraftForgeTutorial\Tutorials 1.8\.\crash-reports\crash-2015-02-11_14.47.04-client.txt AL lib: (EE) alc_cleanup: 1 device not closed Pointing to ModelBakery.class: protected IBakedModel bakeModel(ModelBlock modelBlockIn, net.minecraftforge.client.model.ITransformation modelRotationIn, boolean uvLocked) { TextureAtlasSprite textureatlassprite = (TextureAtlasSprite)this.sprites.get(new ResourceLocation(modelBlockIn.resolveTextureName("particle"))); [...] My model file: { "parent":"builtin/generated", "textures": { "layer_0":"tutorial:items/tutorial_item" }, "display": { "thirdperson": { "rotation": [ -90, 0, 0 ], "translation": [ 0, 1, -3 ], "scale": [ 0.55, 0.55, 0.55 ] }, "firstperson": { "rotation": [ 0, -135, 25 ], "translation": [ 0, 4, 2 ], "scale": [ 1.7, 1.7, 1.7 ] } } } EDIT: Forget it, I wrote layer_0 instead of layer0 . http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
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.