Erreur de texture de bloc



  • Bonjour,
    Je suis ici car j'ai voulu faire un mod en 1.8, et les blocs ont vachement changer faut faire 10 000 allez-retours par-ci par-là… Donc, j'ai suivis ce tuto et j'ai obtenue tout, sauf la texture de l'item :
    J'ai la texture du bloc quand il est poser, mais pas quand le joueur l'a en main :

    Mes classes :




    Et mes .json :



    Et puis tant qu'ont y ait les logs 🙂 :

    
    [19:52:48] [main/INFO] [GradleStart]: username: ShE3py
    [19:52:48] [main/INFO] [GradleStart]: Extra: []
    [19:52:48] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Jonas/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8, --username, ShE3py, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
    [19:52:48] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [19:52:48] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [19:52:48] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
    [19:52:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    [19:52:48] [main/INFO] [FML]: Forge Mod Loader version 11.14.4.1563 for Minecraft 1.8 loading
    [19:52:48] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_66, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_66
    [19:52:48] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [19:52:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
    [19:52:48] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
    [19:52:48] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
    [19:52:48] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [19:52:48] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [19:52:48] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [19:52:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [19:52:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [19:52:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [19:52:49] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
    [19:52:52] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
    [19:52:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [19:52:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [19:52:53] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [19:52:53] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
    [19:52:53] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
    [19:52:53] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    [19:52:54] [Client thread/INFO]: Setting user: ShE3py
    [19:53:00] [Client thread/INFO]: LWJGL Version: 2.9.1
    [19:53:01] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: –-- Minecraft Crash Report ----
    // Don't do that.
    
    Time: 22/01/16 19:53
    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 10 (amd64) version 10.0
        Java Version: 1.8.0_66, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 852318336 bytes (812 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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: 'Intel' Version: '4.0.0 - Build 10.18.10.4276' Renderer: 'Intel(R) HD Graphics 4000'
    [19:53:01] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
    [19:53:01] [Client thread/INFO] [FML]: MinecraftForge v11.14.4.1563 Initialized
    [19:53:01] [Client thread/INFO] [FML]: Replaced 204 ore recipies
    [19:53:01] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
    [19:53:02] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
    [19:53:02] [Client thread/INFO] [FML]: Searching C:\Users\Jonas\Desktop\Mods\Modding 1.7.10\run\mods for mods
    [19:53:05] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
    [19:53:06] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, moreore] at CLIENT
    [19:53:06] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, moreore] at SERVER
    [19:53:06] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:MoreOre
    [19:53:06] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
    [19:53:06] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
    [19:53:06] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
    [19:53:06] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
    [19:53:06] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
    [19:53:06] [Client thread/INFO] [STDOUT]: [fr.she3py.mod.moreore.core.ClientProxy:preInit:12]: Loading mod to client…
    [19:53:07] [Client thread/INFO] [FML]: Applying holder lookups
    [19:53:07] [Client thread/INFO] [FML]: Holder lookups applied
    [19:53:07] [Client thread/INFO] [FML]: Injecting itemstacks
    [19:53:07] [Client thread/INFO] [FML]: Itemstack injection complete
    [19:53:07] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
    [19:53:07] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null
    [19:53:07] [Sound Library Loader/INFO]: Starting up SoundSystem…
    [19:53:07] [Thread-9/INFO]: Initializing LWJGL OpenAL
    [19:53:07] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [19:53:07] [Thread-9/INFO]: OpenAL initialized.
    [19:53:07] [Sound Library Loader/INFO]: Sound engine started
    [19:53:11] [Client thread/INFO] [FML]: Max texture size: 8192
    [19:53:11] [Client thread/INFO]: Created: 16x16 textures-atlas
    [19:53:13] [Client thread/INFO] [FML]: Injecting itemstacks
    [19:53:13] [Client thread/INFO] [FML]: Itemstack injection complete
    [19:53:13] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
    [19:53:13] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:MoreOre
    [19:53:13] [Client thread/INFO]: SoundSystem shutting down…
    [19:53:14] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
    [19:53:14] [Sound Library Loader/INFO]: Starting up SoundSystem…
    [19:53:14] [Thread-11/INFO]: Initializing LWJGL OpenAL
    [19:53:14] [Thread-11/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [19:53:14] [Thread-11/INFO]: OpenAL initialized.
    [19:53:14] [Sound Library Loader/INFO]: Sound engine started
    [19:53:17] [Client thread/INFO] [FML]: Max texture size: 8192
    [19:53:18] [Client thread/INFO]: Created: 512x512 textures-atlas
    [19:53:18] [Client thread/ERROR] [FML]: Model definition for location moreore:copper_ore#inventory not found
    [19:53:27] [Server thread/INFO]: Starting integrated minecraft server version 1.8
    [19:53:27] [Server thread/INFO]: Generating keypair
    [19:53:27] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
    [19:53:27] [Server thread/INFO] [FML]: Applying holder lookups
    [19:53:27] [Server thread/INFO] [FML]: Holder lookups applied
    [19:53:27] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@70dc6397)
    [19:53:27] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@70dc6397)
    [19:53:27] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@70dc6397)
    [19:53:27] [Server thread/INFO]: Preparing start region for level 0
    [19:53:28] [Server thread/INFO]: Preparing spawn area: 12%
    [19:53:29] [Server thread/INFO]: Preparing spawn area: 69%
    [19:53:30] [Server thread/INFO]: Changing view distance to 12, from 10
    [19:53:32] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
    [19:53:32] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
    [19:53:32] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : FML@8.0.99.99,Forge@11.14.4.1563,moreore@1.0,mcp@9.05
    [19:53:32] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
    [19:53:32] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
    [19:53:32] [Server thread/INFO]: ShE3py[local:E:a6bf96ce] logged in with entity id 350 at (269.1063410659501, 69.0, 192.63915372740993)
    [19:53:32] [Server thread/INFO]: ShE3py joined the game
    [19:53:52] [Server thread/INFO]: Saving and pausing game…
    [19:53:52] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [19:53:52] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
    [19:53:52] [Server thread/INFO]: Saving chunks for level 'New World'/The End
    [19:54:21] [Server thread/INFO]: Saving and pausing game…
    [19:54:21] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [19:54:21] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
    [19:54:21] [Server thread/INFO]: Saving chunks for level 'New World'/The End
    [19:54:47] [Client thread/INFO]: Stopping!
    [19:54:47] [Client thread/INFO]: SoundSystem shutting down…
    [19:54:47] [Server thread/INFO]: Stopping server
    [19:54:47] [Server thread/INFO]: Saving players
    [19:54:47] [Server thread/INFO]: Saving worlds
    [19:54:47] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [19:54:47] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
    [19:54:47] [Server thread/INFO]: Saving chunks for level 'New World'/The End
    [19:54:47] [Server thread/INFO] [FML]: Unloading dimension 0
    [19:54:47] [Server thread/INFO] [FML]: Unloading dimension -1
    [19:54:47] [Server thread/INFO] [FML]: Unloading dimension 1
    [19:54:47] [Server thread/INFO] [FML]: Applying holder lookups
    [19:54:47] [Server thread/INFO] [FML]: Holder lookups applied
    [19:54:48] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
    Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
    
    

    Allez, passez une bonne journée 😉


  • Administrateurs

    proxy.registerBlockTexture(copperOre, "copper_ore");
    doit être dans preInit



  • @'robin4002':

    proxy.registerBlockTexture(copperOre, "copper_ore");
    doit être dans preInit

    J'ai fait ce que tu m'a dit, maintenant le jeu crash :

    
    [11:29:27] [main/INFO] [GradleStart]: username: ShE3py
    [11:29:27] [main/INFO] [GradleStart]: Extra: []
    [11:29:27] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Jonas/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8, --username, ShE3py, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
    [11:29:27] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [11:29:27] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [11:29:27] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
    [11:29:27] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    [11:29:27] [main/INFO] [FML]: Forge Mod Loader version 11.14.4.1563 for Minecraft 1.8 loading
    [11:29:27] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_66, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_66
    [11:29:27] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [11:29:27] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
    [11:29:27] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
    [11:29:27] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
    [11:29:27] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [11:29:27] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [11:29:27] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [11:29:27] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [11:29:27] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [11:29:27] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [11:29:27] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
    [11:29:29] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
    [11:29:29] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [11:29:29] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [11:29:30] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [11:29:30] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
    [11:29:30] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
    [11:29:30] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    [11:29:31] [Client thread/INFO]: Setting user: ShE3py
    [11:29:35] [Client thread/INFO]: LWJGL Version: 2.9.1
    [11:29:36] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: –-- Minecraft Crash Report ----
    // Everything's going to plan. No, really, that was supposed to happen.
    
    Time: 23/01/16 11:29
    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 10 (amd64) version 10.0
        Java Version: 1.8.0_66, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 853536928 bytes (813 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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: 'Intel' Version: '4.0.0 - Build 10.18.10.4276' Renderer: 'Intel(R) HD Graphics 4000'
    [11:29:36] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
    [11:29:36] [Client thread/INFO] [FML]: MinecraftForge v11.14.4.1563 Initialized
    [11:29:36] [Client thread/INFO] [FML]: Replaced 204 ore recipies
    [11:29:36] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
    [11:29:37] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
    [11:29:37] [Client thread/INFO] [FML]: Searching C:\Users\Jonas\Desktop\Mods\Modding 1.7.10\run\mods for mods
    [11:29:39] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
    [11:29:40] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, moreore] at CLIENT
    [11:29:40] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, moreore] at SERVER
    [11:29:41] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:MoreOre
    [11:29:41] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
    [11:29:41] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
    [11:29:41] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
    [11:29:41] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
    [11:29:41] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
    [11:29:41] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
    [11:29:41] [Client thread/INFO] [FML]: Applying holder lookups
    [11:29:41] [Client thread/INFO] [FML]: Holder lookups applied
    [11:29:41] [Client thread/INFO] [FML]: Injecting itemstacks
    [11:29:41] [Client thread/INFO] [FML]: Itemstack injection complete
    [11:29:41] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
    [11:29:41] [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
        UCH    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
        UCH    FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8-11.14.4.1563.jar)
        UCH    Forge{11.14.4.1563} [Minecraft Forge] (forgeSrc-1.8-11.14.4.1563.jar)
        UCE    moreore{1.0} [MoreOre] (bin)
    [11:29:41] [Client thread/ERROR] [FML]: The following problems were captured during this phase
    [11:29:41] [Client thread/ERROR] [FML]: Caught exception from moreore
    java.lang.NullPointerException
        at fr.she3py.mod.moreore.core.ClientProxy.registerItemTexture(ClientProxy.java:27) ~[bin/:?]
        at fr.she3py.mod.moreore.core.ClientProxy.registerBlockTexture(ClientProxy.java:38) ~[bin/:?]
        at fr.she3py.mod.moreore.core.ClientProxy.registerBlockTexture(ClientProxy.java:43) ~[bin/:?]
        at fr.she3py.mod.moreore.core.MoreOreMod.preInit(MoreOreMod.java:36) ~[bin/:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_66]
        at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:553) ~[forgeSrc-1.8-11.14.4.1563.jar:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_66]
        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.4.1563.jar:?]
        at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[forgeSrc-1.8-11.14.4.1563.jar:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_66]
        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.preinitializeMods(Loader.java:550) [Loader.class:?]
        at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:249) [FMLClientHandler.class:?]
        at net.minecraft.client.Minecraft.startGame(Minecraft.java:446) [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.8.0_66]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_66]
        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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_66]
        at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
        at GradleStart.main(Unknown Source) [start/:?]
    [11:29:41] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: –-- Minecraft Crash Report ----
    // Don't do that.
    
    Time: 23/01/16 11:29
    Description: Initializing game
    
    java.lang.NullPointerException: Initializing game
        at fr.she3py.mod.moreore.core.ClientProxy.registerItemTexture(ClientProxy.java:27)
        at fr.she3py.mod.moreore.core.ClientProxy.registerBlockTexture(ClientProxy.java:38)
        at fr.she3py.mod.moreore.core.ClientProxy.registerBlockTexture(ClientProxy.java:43)
        at fr.she3py.mod.moreore.core.MoreOreMod.preInit(MoreOreMod.java:36)
        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:553)
        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.preinitializeMods(Loader.java:550)
        at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:249)
        at net.minecraft.client.Minecraft.startGame(Minecraft.java:446)
        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 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.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 fr.she3py.mod.moreore.core.ClientProxy.registerItemTexture(ClientProxy.java:27)
        at fr.she3py.mod.moreore.core.ClientProxy.registerBlockTexture(ClientProxy.java:38)
        at fr.she3py.mod.moreore.core.ClientProxy.registerBlockTexture(ClientProxy.java:43)
        at fr.she3py.mod.moreore.core.MoreOreMod.preInit(MoreOreMod.java:36)
        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:553)
        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.preinitializeMods(Loader.java:550)
        at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:249)
        at net.minecraft.client.Minecraft.startGame(Minecraft.java:446)
    
    -- 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 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.gradle.GradleStartCommon.launch(Unknown Source)
        at GradleStart.main(Unknown Source)
    
    -- System Details --
    Details:
        Minecraft Version: 1.8
        Operating System: Windows 10 (amd64) version 10.0
        Java Version: 1.8.0_66, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 734957288 bytes (700 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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.4.1563 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
        UCH    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
        UCH    FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8-11.14.4.1563.jar)
        UCH    Forge{11.14.4.1563} [Minecraft Forge] (forgeSrc-1.8-11.14.4.1563.jar)
        UCE    moreore{1.0} [MoreOre] (bin)
        Loaded coremods (and transformers):
        GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build 10.18.10.4276' Renderer: 'Intel(R) HD Graphics 4000'
        Launched Version: 1.8
        LWJGL: 2.9.1
        OpenGL: Intel(R) HD Graphics 4000 GL version 4.0.0 - Build 10.18.10.4276, 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)
    [11:29:41] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Jonas\Desktop\Mods\Modding 1.7.10\run\.\crash-reports\crash-2016-01-23_11.29.41-client.txt
    Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
    
    

    Et voici la ligne en question :

    
    @Override
        public void registerItemTexture(Item item, int metadata, String name) {
            ***ItemModelMesher mesher = Minecraft.getMinecraft().getRenderItem().getItemModelMesher();***
            mesher.register(item, metadata, new ModelResourceLocation("tuto:" + name, "inventory"));
        }
    @Override
        public void registerBlockTexture(Block block, int metadata, String name) {
            registerItemTexture(Item.getItemFromBlock(block), metadata, name);
        }
    
        @Override
        public void registerBlockTexture(Block block, String name) {
            registerBlockTexture(block, 0, name);
        }
    
    


  • c'est normal que tu as trois paramètres dans

    @Override
       public void registerBlockTexture(Block block, String name) {
           registerBlockTexture(block, 0, name);
       }
    ??

    je sais pas, je connais pas je pose juste la question ^^

    peux-tu poster le rapport de crash présent dans le dossier crash-report ?



  • @'sventus':

    c'est normal que tu as trois paramètres dans

    @Override
       public void registerBlockTexture(Block block, String name) {
           registerBlockTexture(block, 0, name);
       }
    ??

    je sais pas, je connais pas je pose juste la question ^^

    Oui, le 0 signifie le MetaData (comme avec les laines de couleur, c'est la même ID mais pas la même MetaData)



  • tu as deux fois la même fonction,

    peux-tu poster le rapport de crash présent dans le dossier crash-report ?



  • @'ShE3py':

    @'sventus':

    c'est normal que tu as trois paramètres dans

    @Override
       public void registerBlockTexture(Block block, String name) {
           registerBlockTexture(block, 0, name);
       }
    ??

    je sais pas, je connais pas je pose juste la question ^^

    Oui, le 0 signifie le MetaData (comme avec les laines de couleur, c'est la même ID mais pas la même MetaData)

    
    –-- Minecraft Crash Report ----
    // My bad.
    
    Time: 23/01/16 11:18
    Description: Initializing game
    
    java.lang.NullPointerException: Initializing game
        at fr.she3py.mod.moreore.core.ClientProxy.registerItemTexture(ClientProxy.java:28)
        at fr.she3py.mod.moreore.core.ClientProxy.registerBlockTexture(ClientProxy.java:41)
        at fr.she3py.mod.moreore.core.ClientProxy.registerBlockTexture(ClientProxy.java:47)
        at fr.she3py.mod.moreore.core.MoreOreMod.preInit(MoreOreMod.java:36)
        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:553)
        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.preinitializeMods(Loader.java:550)
        at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:249)
        at net.minecraft.client.Minecraft.startGame(Minecraft.java:446)
        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 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.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 fr.she3py.mod.moreore.core.ClientProxy.registerItemTexture(ClientProxy.java:28)
        at fr.she3py.mod.moreore.core.ClientProxy.registerBlockTexture(ClientProxy.java:41)
        at fr.she3py.mod.moreore.core.ClientProxy.registerBlockTexture(ClientProxy.java:47)
        at fr.she3py.mod.moreore.core.MoreOreMod.preInit(MoreOreMod.java:36)
        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:553)
        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.preinitializeMods(Loader.java:550)
        at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:249)
        at net.minecraft.client.Minecraft.startGame(Minecraft.java:446)
    
    -- 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 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.gradle.GradleStartCommon.launch(Unknown Source)
        at GradleStart.main(Unknown Source)
    
    -- System Details --
    Details:
        Minecraft Version: 1.8
        Operating System: Windows 10 (amd64) version 10.0
        Java Version: 1.8.0_66, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 732355536 bytes (698 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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.4.1563 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
        UCH    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
        UCH    FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8-11.14.4.1563.jar)
        UCH    Forge{11.14.4.1563} [Minecraft Forge] (forgeSrc-1.8-11.14.4.1563.jar)
        UCE    moreore{1.0} [MoreOre] (bin)
        Loaded coremods (and transformers):
        GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build 10.18.10.4276' Renderer: 'Intel(R) HD Graphics 4000'
        Launched Version: 1.8
        LWJGL: 2.9.1
        OpenGL: Intel(R) HD Graphics 4000 GL version 4.0.0 - Build 10.18.10.4276, 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)
    
    

  • Administrateurs

    Étrange.
    Essaies avec cette fonction :
    ModelLoader.setCustomModelResourceLocation(item, metadata, new ModelResourceLocation(modid + ":nom du json", "inventory"));



  • @'robin4002':

    Étrange.
    Essaies avec cette fonction :
           ModelLoader.setCustomModelResourceLocation(item, metadata, new ModelResourceLocation(modid + ":nom du json", "inventory"));

    Encore un crash…

    
    [12:40:04] [main/INFO] [GradleStart]: username: ShE3py
    [12:40:04] [main/INFO] [GradleStart]: Extra: []
    [12:40:04] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Jonas/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8, --username, ShE3py, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
    [12:40:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [12:40:04] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [12:40:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
    [12:40:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    [12:40:04] [main/INFO] [FML]: Forge Mod Loader version 11.14.4.1563 for Minecraft 1.8 loading
    [12:40:04] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_66, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_66
    [12:40:04] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [12:40:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
    [12:40:04] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
    [12:40:04] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
    [12:40:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [12:40:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [12:40:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [12:40:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [12:40:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [12:40:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [12:40:04] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
    [12:40:06] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
    [12:40:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [12:40:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [12:40:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [12:40:07] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
    [12:40:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
    [12:40:07] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    [12:40:08] [Client thread/INFO]: Setting user: ShE3py
    [12:40:13] [Client thread/INFO]: LWJGL Version: 2.9.1
    [12:40:14] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: –-- Minecraft Crash Report ----
    // Sorry :(
    
    Time: 23/01/16 12:40
    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 10 (amd64) version 10.0
        Java Version: 1.8.0_66, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 843756680 bytes (804 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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: 'Intel' Version: '4.0.0 - Build 10.18.10.4276' Renderer: 'Intel(R) HD Graphics 4000'
    [12:40:14] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
    [12:40:14] [Client thread/INFO] [FML]: MinecraftForge v11.14.4.1563 Initialized
    [12:40:14] [Client thread/INFO] [FML]: Replaced 204 ore recipies
    [12:40:14] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
    [12:40:15] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
    [12:40:15] [Client thread/INFO] [FML]: Searching C:\Users\Jonas\Desktop\Mods\Modding 1.7.10\run\mods for mods
    [12:40:18] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
    [12:40:18] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, moreore] at CLIENT
    [12:40:18] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, moreore] at SERVER
    [12:40:19] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:MoreOre
    [12:40:19] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
    [12:40:19] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
    [12:40:19] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
    [12:40:19] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
    [12:40:19] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
    [12:40:19] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
    [12:40:20] [Client thread/INFO] [FML]: Applying holder lookups
    [12:40:20] [Client thread/INFO] [FML]: Holder lookups applied
    [12:40:20] [Client thread/INFO] [FML]: Injecting itemstacks
    [12:40:20] [Client thread/INFO] [FML]: Itemstack injection complete
    [12:40:20] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
    [12:40:20] [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
        UCH    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
        UCH    FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8-11.14.4.1563.jar)
        UCH    Forge{11.14.4.1563} [Minecraft Forge] (forgeSrc-1.8-11.14.4.1563.jar)
        UCE    moreore{1.0} [MoreOre] (bin)
    [12:40:20] [Client thread/ERROR] [FML]: The following problems were captured during this phase
    [12:40:20] [Client thread/ERROR] [FML]: Caught exception from moreore
    java.lang.NullPointerException
        at net.minecraftforge.client.model.ModelLoader.setCustomModelResourceLocation(ModelLoader.java:750) ~[forgeSrc-1.8-11.14.4.1563.jar:?]
        at fr.she3py.mod.moreore.core.ClientProxy.registerItemTexture(ClientProxy.java:40) ~[bin/:?]
        at fr.she3py.mod.moreore.core.ClientProxy.registerBlockTexture(ClientProxy.java:50) ~[bin/:?]
        at fr.she3py.mod.moreore.core.ClientProxy.registerBlockTexture(ClientProxy.java:55) ~[bin/:?]
        at fr.she3py.mod.moreore.core.MoreOreMod.preInit(MoreOreMod.java:44) ~[bin/:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_66]
        at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:553) ~[forgeSrc-1.8-11.14.4.1563.jar:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_66]
        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.4.1563.jar:?]
        at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[forgeSrc-1.8-11.14.4.1563.jar:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_66]
        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.preinitializeMods(Loader.java:550) [Loader.class:?]
        at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:249) [FMLClientHandler.class:?]
        at net.minecraft.client.Minecraft.startGame(Minecraft.java:446) [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.8.0_66]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_66]
        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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_66]
        at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
        at GradleStart.main(Unknown Source) [start/:?]
    [12:40:20] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: –-- Minecraft Crash Report ----
    // Quite honestly, I wouldn't worry myself about that.
    
    Time: 23/01/16 12:40
    Description: Initializing game
    
    java.lang.NullPointerException: Initializing game
        at net.minecraftforge.client.model.ModelLoader.setCustomModelResourceLocation(ModelLoader.java:750)
        at fr.she3py.mod.moreore.core.ClientProxy.registerItemTexture(ClientProxy.java:40)
        at fr.she3py.mod.moreore.core.ClientProxy.registerBlockTexture(ClientProxy.java:50)
        at fr.she3py.mod.moreore.core.ClientProxy.registerBlockTexture(ClientProxy.java:55)
        at fr.she3py.mod.moreore.core.MoreOreMod.preInit(MoreOreMod.java:44)
        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:553)
        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.preinitializeMods(Loader.java:550)
        at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:249)
        at net.minecraft.client.Minecraft.startGame(Minecraft.java:446)
        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 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.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.minecraftforge.client.model.ModelLoader.setCustomModelResourceLocation(ModelLoader.java:750)
        at fr.she3py.mod.moreore.core.ClientProxy.registerItemTexture(ClientProxy.java:40)
        at fr.she3py.mod.moreore.core.ClientProxy.registerBlockTexture(ClientProxy.java:50)
        at fr.she3py.mod.moreore.core.ClientProxy.registerBlockTexture(ClientProxy.java:55)
        at fr.she3py.mod.moreore.core.MoreOreMod.preInit(MoreOreMod.java:44)
        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:553)
        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.preinitializeMods(Loader.java:550)
        at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:249)
        at net.minecraft.client.Minecraft.startGame(Minecraft.java:446)
    
    -- 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 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.gradle.GradleStartCommon.launch(Unknown Source)
        at GradleStart.main(Unknown Source)
    
    -- System Details --
    Details:
        Minecraft Version: 1.8
        Operating System: Windows 10 (amd64) version 10.0
        Java Version: 1.8.0_66, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 731043288 bytes (697 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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.4.1563 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
        UCH    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
        UCH    FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8-11.14.4.1563.jar)
        UCH    Forge{11.14.4.1563} [Minecraft Forge] (forgeSrc-1.8-11.14.4.1563.jar)
        UCE    moreore{1.0} [MoreOre] (bin)
        Loaded coremods (and transformers):
        GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build 10.18.10.4276' Renderer: 'Intel(R) HD Graphics 4000'
        Launched Version: 1.8
        LWJGL: 2.9.1
        OpenGL: Intel(R) HD Graphics 4000 GL version 4.0.0 - Build 10.18.10.4276, 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)
    [12:40:20] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Jonas\Desktop\Mods\Modding 1.7.10\run\.\crash-reports\crash-2016-01-23_12.40.20-client.txt
    Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
    
    

    P.S: J'ai fait des testes, le jeu crash quand il essaie d'obtenir le ItemModelMesher de Minecraft.


  • Administrateurs

    Pourtant ItemModelMesher ne devrait pas être null lors du preInit.
    Tu as bien mit cette ligne après l'initialisation de l'item ?



  • @'robin4002':

    Pourtant ItemModelMesher ne devrait pas être null lors du preInit.
    Tu as bien mit cette ligne après l'initialisation de l'item ?

    Je n'ai plus de crash, mais je suis comme au stade de dépars : pas de texture sur l'item en main mais il y a la texture sur le bloc poser.

    </block></block>


  • Administrateurs

    Il y a quelques choses dans les logs ?



  • @'robin4002':

    Il y a quelques choses dans les logs ?

    Rien d'anormal :

    
    [13:27:00] [main/INFO] [GradleStart]: username: ShE3py
    [13:27:00] [main/INFO] [GradleStart]: Extra: []
    [13:27:00] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Jonas/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8, --username, ShE3py, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
    [13:27:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [13:27:00] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [13:27:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
    [13:27:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    [13:27:00] [main/INFO] [FML]: Forge Mod Loader version 11.14.4.1563 for Minecraft 1.8 loading
    [13:27:00] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_71, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_71
    [13:27:00] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [13:27:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
    [13:27:00] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
    [13:27:00] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
    [13:27:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [13:27:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [13:27:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [13:27:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [13:27:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [13:27:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [13:27:01] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
    [13:27:03] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
    [13:27:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [13:27:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [13:27:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [13:27:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
    [13:27:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
    [13:27:04] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    [13:27:05] [Client thread/INFO]: Setting user: ShE3py
    [13:27:11] [Client thread/INFO]: LWJGL Version: 2.9.1
    [13:27:12] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: –-- Minecraft Crash Report ----
    // Quite honestly, I wouldn't worry myself about that.
    
    Time: 23/01/16 13:27
    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 10 (amd64) version 10.0
        Java Version: 1.8.0_71, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 851498024 bytes (812 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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: 'Intel' Version: '4.0.0 - Build 10.18.10.4276' Renderer: 'Intel(R) HD Graphics 4000'
    [13:27:12] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
    [13:27:12] [Client thread/INFO] [FML]: MinecraftForge v11.14.4.1563 Initialized
    [13:27:12] [Client thread/INFO] [FML]: Replaced 204 ore recipies
    [13:27:12] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
    [13:27:13] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
    [13:27:13] [Client thread/INFO] [FML]: Searching C:\Users\Jonas\Desktop\Mods\Modding 1.7.10\run\mods for mods
    [13:27:15] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
    [13:27:15] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, moreore] at CLIENT
    [13:27:15] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, moreore] at SERVER
    [13:27:16] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:MoreOre
    [13:27:16] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
    [13:27:16] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
    [13:27:16] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
    [13:27:16] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
    [13:27:16] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
    [13:27:16] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
    [13:27:16] [Client thread/INFO] [STDOUT]: [fr.she3py.mod.moreore.core.ClientProxy:preInit:17]: Loading mod to client…
    [13:27:16] [Client thread/INFO] [FML]: Applying holder lookups
    [13:27:16] [Client thread/INFO] [FML]: Holder lookups applied
    [13:27:16] [Client thread/INFO] [FML]: Injecting itemstacks
    [13:27:16] [Client thread/INFO] [FML]: Itemstack injection complete
    [13:27:16] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null
    [13:27:17] [Sound Library Loader/INFO]: Starting up SoundSystem…
    [13:27:17] [Thread-9/INFO]: Initializing LWJGL OpenAL
    [13:27:17] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [13:27:17] [Thread-9/INFO]: OpenAL initialized.
    [13:27:17] [Sound Library Loader/INFO]: Sound engine started
    [13:27:22] [Client thread/INFO] [FML]: Max texture size: 8192
    [13:27:22] [Client thread/INFO]: Created: 16x16 textures-atlas
    [13:27:23] [Client thread/ERROR] [FML]: Model definition for location moreore:copper_ore#inventory not found
    [13:27:24] [Client thread/INFO] [FML]: Injecting itemstacks
    [13:27:24] [Client thread/INFO] [FML]: Itemstack injection complete
    [13:27:24] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
    [13:27:24] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:MoreOre
    [13:27:24] [Client thread/INFO]: SoundSystem shutting down…
    [13:27:24] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
    [13:27:24] [Sound Library Loader/INFO]: Starting up SoundSystem…
    [13:27:25] [Thread-11/INFO]: Initializing LWJGL OpenAL
    [13:27:25] [Thread-11/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [13:27:25] [Thread-11/INFO]: OpenAL initialized.
    [13:27:25] [Sound Library Loader/INFO]: Sound engine started
    [13:27:28] [Client thread/INFO] [FML]: Max texture size: 8192
    [13:27:29] [Client thread/INFO]: Created: 512x512 textures-atlas
    [13:27:29] [Client thread/ERROR] [FML]: Model definition for location moreore:copper_ore#inventory not found
    [13:27:50] [Server thread/INFO]: Starting integrated minecraft server version 1.8
    [13:27:50] [Server thread/INFO]: Generating keypair
    [13:27:50] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
    [13:27:50] [Server thread/INFO] [FML]: Applying holder lookups
    [13:27:50] [Server thread/INFO] [FML]: Holder lookups applied
    [13:27:50] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@1d0695e4)
    [13:27:50] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@1d0695e4)
    [13:27:50] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@1d0695e4)
    [13:27:50] [Server thread/INFO]: Preparing start region for level 0
    [13:27:51] [Server thread/INFO]: Preparing spawn area: 17%
    [13:27:53] [Server thread/INFO]: Changing view distance to 12, from 10
    [13:27:54] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
    [13:27:54] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
    [13:27:54] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : FML@8.0.99.99,Forge@11.14.4.1563,moreore@1.0,mcp@9.05
    [13:27:54] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
    [13:27:54] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
    [13:27:54] [Server thread/INFO]: ShE3py[local:E:e2dd9145] logged in with entity id 366 at (268.9791219458796, 69.0, 193.3998008374453)
    [13:27:54] [Server thread/INFO]: ShE3py joined the game
    [13:27:58] [Server thread/INFO]: Saving and pausing game…
    [13:27:58] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [13:27:58] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
    [13:27:58] [Server thread/INFO]: Saving chunks for level 'New World'/The End
    [13:27:58] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2291ms behind, skipping 45 tick(s)
    [13:27:59] [Server thread/INFO]: Stopping server
    [13:27:59] [Server thread/INFO]: Saving players
    [13:27:59] [Server thread/INFO]: Saving worlds
    [13:27:59] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [13:27:59] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
    [13:27:59] [Server thread/INFO]: Saving chunks for level 'New World'/The End
    [13:28:00] [Server thread/INFO] [FML]: Unloading dimension 0
    [13:28:00] [Server thread/INFO] [FML]: Unloading dimension -1
    [13:28:00] [Server thread/INFO] [FML]: Unloading dimension 1
    [13:28:00] [Server thread/INFO] [FML]: Applying holder lookups
    [13:28:00] [Server thread/INFO] [FML]: Holder lookups applied
    [13:28:01] [Client thread/INFO]: Stopping!
    [13:28:01] [Client thread/INFO]: SoundSystem shutting down…
    [13:28:01] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
    Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
    
    


  • Résolu !
    J'ai regarder vite fait dans les fichiers .json et j'ai oublier d'annuler le teste de correction dans 'models/item/copper_ore.json', j'avais mit
    "parent": "moreore:models/block/copper_ore"

    et il faillait mettre :
    "parent": "moreore:block/copper_ore"

    Faux pas oublier d'annuler les modifs quand ont teste 😮

    Merci à robin4002 et à sventus.



  • Donc,
    Si vous avez le même problème que moi (crash au niveau du Minecraft.getMinecraft().getRenderItem().getItemModelMesher()),
    Mettez tous simplement à la place :
    ModelLoader.setCustomModelResourceLocation(item, metadata, new ModelResourceLocation(modid + ":" + name, "inventory"));

    Où :
    item = l'item
    metadata = la metadata (0 si null)
    modid = votre modid
    name = l'id de votre bloc (moi, copper_ore)