L'item ne se charge pas...



  • [18:22:00] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Ravenne/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
    [18:22:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [18:22:00] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [18:22:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
    [18:22:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    [18:22:00] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
    [18:22:00] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_171, running on Windows 10:x86:10.0, installed at C:\Program Files (x86)\Java\jre1.8.0_171
    [18:22:00] [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory.
    [18:22:00] [main/ERROR] [FML]: Full: C:\Users\Ravenne\.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
    [18:22:00] [main/ERROR] [FML]: Trimmed: c:/users/ravenne/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
    [18:22:00] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [18:22:00] [main/INFO] [FML]: Detected deobfuscated environment, loading log configs for colored console logs.
    2019-02-01 18:22:01,886 main WARN Disabling terminal, you're running in an unsupported environment.
    [18:22:01] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin
    [18:22:01] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
    [18:22:01] [main/INFO] [FML]: Searching C:\Users\Ravenne\Documents\Garnouille13\AlftabMod\run\.\mods for mods
    [18:22:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
    [18:22:01] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
    [18:22:01] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
    [18:22:01] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [18:22:01] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [18:22:01] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [18:22:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [18:22:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [18:22:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [18:22:03] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
    [18:22:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [18:22:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [18:22:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [18:22:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
    [18:22:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
    [18:22:04] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    [18:22:04] [main/INFO] [minecraft/Minecraft]: Setting user: Player50
    [18:22:08] [main/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.4
    [18:22:09] [main/INFO] [FML]: -- System Details --
    Details:
    	Minecraft Version: 1.12.2
    	Operating System: Windows 10 (x86) version 10.0
    	Java Version: 1.8.0_171, Oracle Corporation
    	Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    	Memory: 760814688 bytes (725 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 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: 'ATI Technologies Inc.' Version: '4.5.13399 Compatibility Profile Context 15.201.1151.1008' Renderer: 'AMD Radeon HD 5800 Series'
    [18:22:10] [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
    [18:22:10] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
    [18:22:10] [main/INFO] [FML]: Replaced 1036 ore ingredients
    [18:22:10] [main/INFO] [FML]: Searching C:\Users\Ravenne\Documents\Garnouille13\AlftabMod\run\.\mods for mods
    [18:22:11] [main/ERROR] [FML]: Unable to read a class file correctly
    java.lang.IllegalArgumentException: null
    	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:185) ~[asm-debug-all-5.2.jar:5.2]
    	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:168) ~[asm-debug-all-5.2.jar:5.2]
    	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:439) ~[asm-debug-all-5.2.jar:5.2]
    	at net.minecraftforge.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:57) [ASMModParser.class:?]
    	at net.minecraftforge.fml.common.discovery.JarDiscoverer.findClassesASM(JarDiscoverer.java:102) [JarDiscoverer.class:?]
    	at net.minecraftforge.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:77) [JarDiscoverer.class:?]
    	at net.minecraftforge.fml.common.discovery.ContainerType.findMods(ContainerType.java:47) [ContainerType.class:?]
    	at net.minecraftforge.fml.common.discovery.ModCandidate.explore(ModCandidate.java:74) [ModCandidate.class:?]
    	at net.minecraftforge.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:93) [ModDiscoverer.class:?]
    	at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:425) [Loader.class:?]
    	at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:566) [Loader.class:?]
    	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232) [FMLClientHandler.class:?]
    	at net.minecraft.client.Minecraft.init(Minecraft.java:513) [Minecraft.class:?]
    	at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?]
    	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171]
    	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_171]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171]
    	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    	at GradleStart.main(GradleStart.java:25) [start/:?]
    [18:22:11] [main/ERROR] [FML]: There was a problem reading the entry C:\Users\Ravenne\.p2\pool\plugins\org.junit.platform.commons_1.1.0.v20180327-1502.jar in the jar net.minecraftforge.fml.common.LoaderException: java.lang.IllegalArgumentException - probably a corrupt zip
    [18:22:11] [main/WARN] [FML]: Zip file org.junit.platform.commons_1.1.0.v20180327-1502.jar failed to read properly, it will be ignored
    net.minecraftforge.fml.common.LoaderException: java.lang.IllegalArgumentException
    
    	at net.minecraftforge.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:63) ~[ASMModParser.class:?]
    	at net.minecraftforge.fml.common.discovery.JarDiscoverer.findClassesASM(JarDiscoverer.java:102) ~[JarDiscoverer.class:?]
    	at net.minecraftforge.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:77) [JarDiscoverer.class:?]
    	at net.minecraftforge.fml.common.discovery.ContainerType.findMods(ContainerType.java:47) [ContainerType.class:?]
    	at net.minecraftforge.fml.common.discovery.ModCandidate.explore(ModCandidate.java:74) [ModCandidate.class:?]
    	at net.minecraftforge.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:93) [ModDiscoverer.class:?]
    	at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:425) [Loader.class:?]
    	at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:566) [Loader.class:?]
    	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232) [FMLClientHandler.class:?]
    	at net.minecraft.client.Minecraft.init(Minecraft.java:513) [Minecraft.class:?]
    	at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?]
    	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171]
    	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_171]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171]
    	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    	at GradleStart.main(GradleStart.java:25) [start/:?]
    Caused by: java.lang.IllegalArgumentException
    	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:185) ~[asm-debug-all-5.2.jar:5.2]
    	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:168) ~[asm-debug-all-5.2.jar:5.2]
    	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:439) ~[asm-debug-all-5.2.jar:5.2]
    	at net.minecraftforge.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:57) ~[ASMModParser.class:?]
    	... 23 more
    [18:22:11] [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
    [18:22:11] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, mod] at CLIENT
    [18:22:11] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, mod] at SERVER
    [18:22:12] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 32392350 nanos
    [18:22:12] [main/ERROR] [FML]: An error occurred trying to load a proxy into proxy.java.lang.ClassNotFoundException: CLIENT_PROXY
    [18:22:12] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: ---- Minecraft Crash Report ----
    // I just don't know what went wrong :(
    
    Time: 2/1/19 6:22 PM
    Description: There was a severe problem during mod loading that has caused the game to fail
    
    net.minecraftforge.fml.common.LoaderException: java.lang.ClassNotFoundException: CLIENT_PROXY
    	at net.minecraftforge.fml.common.ProxyInjector.inject(ProxyInjector.java:102)
    	at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:600)
    	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.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
    	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
    	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
    	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
    	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
    	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
    	at com.google.common.eventbus.EventBus.post(EventBus.java:217)
    	at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:218)
    	at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:196)
    	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.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
    	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
    	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
    	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
    	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
    	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
    	at com.google.common.eventbus.EventBus.post(EventBus.java:217)
    	at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135)
    	at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:593)
    	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232)
    	at net.minecraft.client.Minecraft.init(Minecraft.java:513)
    	at net.minecraft.client.Minecraft.run(Minecraft.java:421)
    	at net.minecraft.client.main.Main.main(Main.java:118)
    	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(GradleStartCommon.java:97)
    	at GradleStart.main(GradleStart.java:25)
    Caused by: java.lang.ClassNotFoundException: CLIENT_PROXY
    	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	at net.minecraftforge.fml.common.ModClassLoader.loadClass(ModClassLoader.java:75)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Unknown Source)
    	at net.minecraftforge.fml.common.ProxyInjector.inject(ProxyInjector.java:85)
    	... 43 more
    Caused by: java.lang.NullPointerException
    	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
    	... 49 more
    
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- System Details --
    Details:
    	Minecraft Version: 1.12.2
    	Operating System: Windows 10 (x86) version 10.0
    	Java Version: 1.8.0_171, Oracle Corporation
    	Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    	Memory: 904292688 bytes (862 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
    	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    	FML: MCP 9.42 Powered by Forge 14.23.5.2768 5 mods loaded, 5 mods active
    	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    
    	| State | ID        | Version      | Source                           | Signature |
    	|:----- |:--------- |:------------ |:-------------------------------- |:--------- |
    	| UC    | minecraft | 1.12.2       | minecraft.jar                    | None      |
    	| UC    | mcp       | 9.42         | minecraft.jar                    | None      |
    	| UC    | FML       | 8.0.99.99    | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
    	| UC    | forge     | 14.23.5.2768 | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
    	| UE    | mod       | 0.0.1        | bin                              | None      |
    
    	Loaded coremods (and transformers): 
    	GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13399 Compatibility Profile Context 15.201.1151.1008' Renderer: 'AMD Radeon HD 5800 Series'
    [18:22:12] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Ravenne\Documents\Garnouille13\AlftabMod\run\.\crash-reports\crash-2019-02-01_18.22.12-client.txt
    Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
    

    J'ai suivi le tuto "Créer un item basique" 1.11.x 1.12.x et voici le code d'erreur qu'Eclipse me donne. Merci par avance de votre aide.


  • Moddeurs confirmés Rédacteurs Administrateurs

    Salut,
    Le problème ne semble pas avoir de lien avec l'item mais plutôt avec tes proxys.
    Peux-tu envoyer ta classe principale ?


  • Moddeurs confirmés Rédacteurs Modérateurs Administrateurs

    Envois surtout la ligne avec le SidedProxy.



  • Le crash après quelques modifs :

    [13:29:00] [main/INFO] [GradleStart]: Extra: []
    [13:29:00] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Ravenne/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
    [13:29:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [13:29:00] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [13:29:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
    [13:29:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    [13:29:00] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
    [13:29:00] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_171, running on Windows 10:x86:10.0, installed at C:\Program Files (x86)\Java\jre1.8.0_171
    [13:29:00] [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory.
    [13:29:00] [main/ERROR] [FML]: Full: C:\Users\Ravenne\.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
    [13:29:00] [main/ERROR] [FML]: Trimmed: c:/users/ravenne/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
    [13:29:00] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [13:29:00] [main/INFO] [FML]: Detected deobfuscated environment, loading log configs for colored console logs.
    2019-02-02 13:29:01,753 main WARN Disabling terminal, you're running in an unsupported environment.
    [13:29:01] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin
    [13:29:01] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
    [13:29:01] [main/INFO] [FML]: Searching C:\Users\Ravenne\Documents\Garnouille13\AlftabMod\run\.\mods for mods
    [13:29:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
    [13:29:01] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
    [13:29:01] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
    [13:29:01] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [13:29:01] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [13:29:01] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [13:29:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [13:29:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [13:29:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [13:29:03] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
    [13:29:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [13:29:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [13:29:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [13:29:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
    [13:29:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
    [13:29:04] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    [13:29:04] [main/INFO] [minecraft/Minecraft]: Setting user: Player900
    [13:29:07] [main/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.4
    [13:29:08] [main/INFO] [FML]: -- System Details --
    Details:
    	Minecraft Version: 1.12.2
    	Operating System: Windows 10 (x86) version 10.0
    	Java Version: 1.8.0_171, Oracle Corporation
    	Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    	Memory: 757367160 bytes (722 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 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: 'ATI Technologies Inc.' Version: '4.5.13399 Compatibility Profile Context 15.201.1151.1008' Renderer: 'AMD Radeon HD 5800 Series'
    [13:29:08] [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
    [13:29:08] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
    [13:29:08] [main/INFO] [FML]: Replaced 1036 ore ingredients
    [13:29:09] [main/INFO] [FML]: Searching C:\Users\Ravenne\Documents\Garnouille13\AlftabMod\run\.\mods for mods
    [13:29:09] [main/ERROR] [FML]: Unable to read a class file correctly
    java.lang.IllegalArgumentException: null
    	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:185) ~[asm-debug-all-5.2.jar:5.2]
    	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:168) ~[asm-debug-all-5.2.jar:5.2]
    	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:439) ~[asm-debug-all-5.2.jar:5.2]
    	at net.minecraftforge.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:57) [ASMModParser.class:?]
    	at net.minecraftforge.fml.common.discovery.JarDiscoverer.findClassesASM(JarDiscoverer.java:102) [JarDiscoverer.class:?]
    	at net.minecraftforge.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:77) [JarDiscoverer.class:?]
    	at net.minecraftforge.fml.common.discovery.ContainerType.findMods(ContainerType.java:47) [ContainerType.class:?]
    	at net.minecraftforge.fml.common.discovery.ModCandidate.explore(ModCandidate.java:74) [ModCandidate.class:?]
    	at net.minecraftforge.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:93) [ModDiscoverer.class:?]
    	at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:425) [Loader.class:?]
    	at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:566) [Loader.class:?]
    	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232) [FMLClientHandler.class:?]
    	at net.minecraft.client.Minecraft.init(Minecraft.java:513) [Minecraft.class:?]
    	at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?]
    	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171]
    	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_171]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171]
    	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    	at GradleStart.main(GradleStart.java:25) [start/:?]
    [13:29:09] [main/ERROR] [FML]: There was a problem reading the entry C:\Users\Ravenne\.p2\pool\plugins\org.junit.platform.commons_1.1.0.v20180327-1502.jar in the jar net.minecraftforge.fml.common.LoaderException: java.lang.IllegalArgumentException - probably a corrupt zip
    [13:29:09] [main/WARN] [FML]: Zip file org.junit.platform.commons_1.1.0.v20180327-1502.jar failed to read properly, it will be ignored
    net.minecraftforge.fml.common.LoaderException: java.lang.IllegalArgumentException
    
    	at net.minecraftforge.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:63) ~[ASMModParser.class:?]
    	at net.minecraftforge.fml.common.discovery.JarDiscoverer.findClassesASM(JarDiscoverer.java:102) ~[JarDiscoverer.class:?]
    	at net.minecraftforge.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:77) [JarDiscoverer.class:?]
    	at net.minecraftforge.fml.common.discovery.ContainerType.findMods(ContainerType.java:47) [ContainerType.class:?]
    	at net.minecraftforge.fml.common.discovery.ModCandidate.explore(ModCandidate.java:74) [ModCandidate.class:?]
    	at net.minecraftforge.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:93) [ModDiscoverer.class:?]
    	at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:425) [Loader.class:?]
    	at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:566) [Loader.class:?]
    	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232) [FMLClientHandler.class:?]
    	at net.minecraft.client.Minecraft.init(Minecraft.java:513) [Minecraft.class:?]
    	at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?]
    	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171]
    	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_171]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171]
    	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    	at GradleStart.main(GradleStart.java:25) [start/:?]
    Caused by: java.lang.IllegalArgumentException
    	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:185) ~[asm-debug-all-5.2.jar:5.2]
    	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:168) ~[asm-debug-all-5.2.jar:5.2]
    	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:439) ~[asm-debug-all-5.2.jar:5.2]
    	at net.minecraftforge.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:57) ~[ASMModParser.class:?]
    	... 23 more
    [13:29:10] [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
    [13:29:10] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, mod] at CLIENT
    [13:29:10] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, mod] at SERVER
    [13:29:10] [main/ERROR] [FML]: An error occurred trying to load an EventBusSubscriber fr.ravriel.mod.ModItems for modid mod
    java.lang.IllegalArgumentException: Method public static void fr.ravriel.mod.ModItems.registerItemsModels(int) has @SubscribeEvent annotation, but takes a argument that is not an Event int
    	at net.minecraftforge.fml.common.eventhandler.EventBus.register(EventBus.java:109) ~[EventBus.class:?]
    	at net.minecraftforge.fml.common.AutomaticEventSubscriber.inject(AutomaticEventSubscriber.java:82) [AutomaticEventSubscriber.class:?]
    	at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:601) [FMLModContainer.class:?]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171]
    	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) [guava-21.0.jar:?]
    	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) [guava-21.0.jar:?]
    	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) [guava-21.0.jar:?]
    	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) [guava-21.0.jar:?]
    	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) [guava-21.0.jar:?]
    	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) [guava-21.0.jar:?]
    	at com.google.common.eventbus.EventBus.post(EventBus.java:217) [guava-21.0.jar:?]
    	at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:218) [LoadController.class:?]
    	at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:196) [LoadController.class:?]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171]
    	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) [guava-21.0.jar:?]
    	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) [guava-21.0.jar:?]
    	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) [guava-21.0.jar:?]
    	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) [guava-21.0.jar:?]
    	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) [guava-21.0.jar:?]
    	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) [guava-21.0.jar:?]
    	at com.google.common.eventbus.EventBus.post(EventBus.java:217) [guava-21.0.jar:?]
    	at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135) [LoadController.class:?]
    	at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:593) [Loader.class:?]
    	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232) [FMLClientHandler.class:?]
    	at net.minecraft.client.Minecraft.init(Minecraft.java:513) [Minecraft.class:?]
    	at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?]
    	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171]
    	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_171]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171]
    	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    	at GradleStart.main(GradleStart.java:25) [start/:?]
    [13:29:10] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: ---- Minecraft Crash Report ----
    // Don't do that.
    
    Time: 2/2/19 1:29 PM
    Description: There was a severe problem during mod loading that has caused the game to fail
    
    net.minecraftforge.fml.common.LoaderException: java.lang.IllegalArgumentException: Method public static void fr.ravriel.mod.ModItems.registerItemsModels(int) has @SubscribeEvent annotation, but takes a argument that is not an Event int
    	at net.minecraftforge.fml.common.AutomaticEventSubscriber.inject(AutomaticEventSubscriber.java:89)
    	at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:601)
    	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.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
    	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
    	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
    	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
    	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
    	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
    	at com.google.common.eventbus.EventBus.post(EventBus.java:217)
    	at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:218)
    	at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:196)
    	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.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
    	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
    	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
    	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
    	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
    	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
    	at com.google.common.eventbus.EventBus.post(EventBus.java:217)
    	at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135)
    	at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:593)
    	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232)
    	at net.minecraft.client.Minecraft.init(Minecraft.java:513)
    	at net.minecraft.client.Minecraft.run(Minecraft.java:421)
    	at net.minecraft.client.main.Main.main(Main.java:118)
    	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(GradleStartCommon.java:97)
    	at GradleStart.main(GradleStart.java:25)
    Caused by: java.lang.IllegalArgumentException: Method public static void fr.ravriel.mod.ModItems.registerItemsModels(int) has @SubscribeEvent annotation, but takes a argument that is not an Event int
    	at net.minecraftforge.fml.common.eventhandler.EventBus.register(EventBus.java:109)
    	at net.minecraftforge.fml.common.AutomaticEventSubscriber.inject(AutomaticEventSubscriber.java:82)
    	... 43 more
    
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- System Details --
    Details:
    	Minecraft Version: 1.12.2
    	Operating System: Windows 10 (x86) version 10.0
    	Java Version: 1.8.0_171, Oracle Corporation
    	Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    	Memory: 897618992 bytes (856 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
    	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    	FML: MCP 9.42 Powered by Forge 14.23.5.2768 5 mods loaded, 5 mods active
    	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    
    	| State | ID        | Version      | Source                           | Signature |
    	|:----- |:--------- |:------------ |:-------------------------------- |:--------- |
    	| UC    | minecraft | 1.12.2       | minecraft.jar                    | None      |
    	| UC    | mcp       | 9.42         | minecraft.jar                    | None      |
    	| UC    | FML       | 8.0.99.99    | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
    	| UC    | forge     | 14.23.5.2768 | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
    	| UE    | mod       | 0.0.1        | bin                              | None      |
    
    	Loaded coremods (and transformers): 
    	GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13399 Compatibility Profile Context 15.201.1151.1008' Renderer: 'AMD Radeon HD 5800 Series'
    [13:29:10] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Ravenne\Documents\Garnouille13\AlftabMod\run\.\crash-reports\crash-2019-02-02_13.29.10-client.txt
    Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
    
    

    La classe principale :

    package fr.ravriel.mod;
    
    
    import org.apache.logging.log4j.Logger;
    
    import fr.ravriel.mod.proxy.CommonProxy;
    import net.minecraftforge.fml.common.Mod;
    import net.minecraftforge.fml.common.SidedProxy;
    import net.minecraftforge.fml.common.Mod.EventHandler;
    import net.minecraftforge.fml.common.Mod.Instance;
    import net.minecraftforge.fml.common.event.FMLInitializationEvent;
    import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
    import net.minecraftforge.fml.common.registry.GameRegistry;
    
    @Mod(modid = Reference.MOD_ID, name = Reference.MOD_NAME, version = Reference.VERSION, acceptedMinecraftVersions = Reference.ACCEPTED_VERSION)
    public class Principale
    {
    
        @Instance(Reference.MOD_ID)
        public static Principale instance;
    
        @SidedProxy(clientSide = Reference.CLIENT_PROXY, serverSide = Reference.SERVER_PROXY)
        public static CommonProxy proxy;
    
        public static Logger logger;
    
    	private Object CooperCoin;
    
        @EventHandler
        public void preInit(FMLPreInitializationEvent event)
        {
            logger = event.getModLog();
            proxy.preInit(event.getSuggestedConfigurationFile());
            
        		//Configuration
    
        		
        		//Blocks
    
        		
        		//Enregistrement des blocs - Blocks registry
    
        		
        		//Items
    
        		//Enregistrement des items - Item registry
        		
    
        		//Achievements
        		
    
        }
    
        @EventHandler
        public void init(FMLInitializationEvent event)
        {
            proxy.init();
        }
    }
    

    Le Client Proxy :

    
    package fr.ravriel.mod.proxy;
    
    
    import java.io.File;
    import fr.ravriel.mod.ModItems;
    
    public class ClientProxy extends CommonProxy
    {
    	@Override
    
        public void preInit(File configFile)
    
        {
    
            super.preInit(configFile);
            
            ModItems.registerItemsModels(0);
    
        }
    
        @Override
    
        public void init()
    
        {
    
            super.init();
    
        }
    }
    

    Le Server Proxy :

    package fr.ravriel.mod.proxy;
    
    import java.io.File;
    
    public class ServerProxy extends CommonProxy
    
    {
    
        @Override
        public void preInit(File configFile)
        
        {
            super.preInit(configFile);
            System.out.println("pre init côté serveur");
        }
    
        @Override
        public void init()
        {
            super.init();
        }
    
    }
    

    Le Common Proxy :

    package fr.ravriel.mod.proxy;
    
    import java.io.File;
    
    public class CommonProxy
    {
        public void preInit(File configFile)
        {
            System.out.println("pre init côté commun");
        }
    
        public void init()
        {
    
        }
    }
    

    La Classe Reference :

    package fr.ravriel.mod;
    
    public class Reference {
    	
    	public static final String MOD_ID = "mod";
    	public static final String MOD_NAME = "Mod";
    	public static final String VERSION = "0.0.1";
    	public static final String ACCEPTED_VERSION = "[1.12.2]";
    	public static final String CLIENT_PROXY = "fr.ravriel.mod.proxy.ClientProxy";
    	public static final String SERVER_PROXY = "fr.ravriel.mod.proxy.ServerProxy";
    
    }
    

  • Moddeurs confirmés Rédacteurs Administrateurs

    Le premier problème est réglé visiblement, maintenant le souci vient de la classe ModItems la fonction registerItemsModels ne devrait pas avoir l'annotation @SubscribeEvent



  • @robin4002 Oui ça fonctionne ! Merci beaucoup pour votre aide ! Un seul problème : l'item n'es pas en jeu...


  • Moddeurs confirmés Rédacteurs Administrateurs

    Tu peux envoyer la classe ModItems ?



  • package fr.ravriel.mod;
    
    import net.minecraft.client.renderer.block.model.ModelResourceLocation;
    import net.minecraft.item.Item;
    import net.minecraftforge.client.event.ModelRegistryEvent;
    import net.minecraftforge.client.model.ModelLoader;
    import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
    import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
    import net.minecraftforge.fml.relauncher.Side;
    import net.minecraftforge.fml.relauncher.SideOnly;
    
     
    
    @EventBusSubscriber(value = Side.CLIENT, modid = Reference.MOD_ID) // En 1.12+
    
    public class ModItems
    
    {
    
        public static final Item CooperCoin = new CooperCoin();
    
     
    
        public static void setItemName(Item item, String name)
    
        {
    
            item.setRegistryName(Reference.MOD_ID, name).setUnlocalizedName(Reference.MOD_ID + "." + name);
    
        }
    
        // En 1.12+
    
        @SideOnly(Side.CLIENT)
    
        public static void registerItemsModels(int i)
    
        {
    
        registerModel(CooperCoin, 0);
    
            registerModel(CooperCoin, 0);
    
        }
    
     
    
        @SideOnly(Side.CLIENT)
    
        public static void registerModel(Item item, int metadata)
    
        {
    
            if (metadata < 0) metadata = 0;
    
            String resourceName = item.getUnlocalizedName().substring(5).replace('.', ':');
    
            if (metadata > 0) resourceName += "_m" + String.valueOf(metadata);
    
     
    
            ModelLoader.setCustomModelResourceLocation(item, metadata, new ModelResourceLocation(resourceName, "inventory"));
    
        }
    
     
    
    }
    

  • Moddeurs confirmés Rédacteurs Administrateurs

    Ton item n'est jamais enregistré, donc le résultat n'est pas étonant.



  • @robin4002 Où dois-je l'enregister svp ? (désolé du temps de réponse…)


  • Moddeurs confirmés Rédacteurs

    Salut, tu trouveras sur le forum des tutoriels te renseignant sur la façon de créer des objets, je suis sûr qu'ils expliquent aussi comment les enregistrer pour qu'ils soient ajoutés au jeu.
    Bonne journée



  • public static final Item CooperCoin = new CooperCoin();

    convention java non respecté => les nom de constante (variable constante : public static final <Type> <Name>)
    doivent être écrite n majuscule et avec des underscores


Log in to reply