Créer un item basique
-
Excuser moi de mon ignorance mes qu’ est que vous appelez logs
Encore une fois soyer indulgent svp . -
C’est ce qui se trouve dans la console d’eclipse.
-
Voici :
[19:42:08] [main/INFO] [GradleStart]: username: zeldadu76290 [19:42:08] [main/INFO] [GradleStart]: Extra: [] [19:42:08] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Utilisateur/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --username, zeldadu76290] [19:42:08] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [19:42:08] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [19:42:08] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [19:42:08] [main/INFO] [FML]: Forge Mod Loader version 7.10.18.1180 for Minecraft 1.7.10 loading [19:42:08] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_11, running on Windows 8.1:amd64:6.3, installed at C:\Users\Utilisateur\Desktop\eclipse\jre [19:42:08] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [19:42:08] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [19:42:08] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [19:42:08] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [19:42:08] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [19:42:08] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [19:42:08] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [19:42:11] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/Utilisateur/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.0.1180/forgeSrc-1.7.10-10.13.0.1180.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again! [19:42:11] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem! [19:42:11] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Utilisateur/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.0.1180/forgeSrc-1.7.10-10.13.0.1180.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it [19:42:11] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [19:42:11] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [19:42:11] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [19:42:11] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [19:42:12] [main/INFO]: Setting user: zeldadu76290 [19:42:13] [Client thread/INFO]: LWJGL Version: 2.9.1 [19:42:14] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [19:42:14] [Client thread/INFO] [FML]: MinecraftForge v10.13.0.1180 Initialized [19:42:14] [Client thread/INFO] [FML]: Replaced 182 ore recipies [19:42:14] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [19:42:15] [Client thread/INFO] [FML]: Searching C:\Users\Utilisateur\Desktop\mod primeval\forge-1.7.10\eclipse\mods for mods [19:42:15] [Client thread/ERROR] [FML]: Unable to read a class file correctly java.lang.IllegalArgumentException at org.objectweb.asm.ClassReader.<init>(ClassReader.java:170) ~[asm-debug-all-4.1.jar:4.1] at org.objectweb.asm.ClassReader.<init>(ClassReader.java:153) ~[asm-debug-all-4.1.jar:4.1] at org.objectweb.asm.ClassReader.<init>(ClassReader.java:424) ~[asm-debug-all-4.1.jar:4.1] at cpw.mods.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:52) [ASMModParser.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:100) [DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.discover(DirectoryDiscoverer.java:53) [DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?] at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71) [ModCandidate.class:?] at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:123) [ModDiscoverer.class:?] at cpw.mods.fml.common.Loader.identifyMods(Loader.java:347) [Loader.class:?] at cpw.mods.fml.common.Loader.loadMods(Loader.java:468) [Loader.class:?] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:941) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_11] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_11] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_11] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_11] at GradleStart.bounce(GradleStart.java:107) [start/:?] at GradleStart.startClient(GradleStart.java:100) [start/:?] at GradleStart.main(GradleStart.java:65) [start/:?] [19:42:15] [Client thread/ERROR] [FML]: There was a problem reading the file C:\Users\Utilisateur\Desktop\mod primeval\forge-1.7.10\bin\Primeval\common\DetecteurdAnomaly.class - probably this is a corrupt file cpw.mods.fml.common.LoaderException: java.lang.IllegalArgumentException at cpw.mods.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:58) ~[ASMModParser.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:100) [DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.discover(DirectoryDiscoverer.java:53) [DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?] at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71) [ModCandidate.class:?] at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:123) [ModDiscoverer.class:?] at cpw.mods.fml.common.Loader.identifyMods(Loader.java:347) [Loader.class:?] at cpw.mods.fml.common.Loader.loadMods(Loader.java:468) [Loader.class:?] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:941) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_11] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_11] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_11] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_11] at GradleStart.bounce(GradleStart.java:107) [start/:?] at GradleStart.startClient(GradleStart.java:100) [start/:?] at GradleStart.main(GradleStart.java:65) [start/:?] Caused by: java.lang.IllegalArgumentException at org.objectweb.asm.ClassReader.<init>(ClassReader.java:170) ~[asm-debug-all-4.1.jar:4.1] at org.objectweb.asm.ClassReader.<init>(ClassReader.java:153) ~[asm-debug-all-4.1.jar:4.1] at org.objectweb.asm.ClassReader.<init>(ClassReader.java:424) ~[asm-debug-all-4.1.jar:4.1] at cpw.mods.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:52) ~[ASMModParser.class:?] … 26 more [19:42:15] [Client thread/WARN] [FML]: Identified a problem with the mod candidate C:\Users\Utilisateur\Desktop\mod primeval\forge-1.7.10\bin, ignoring this source cpw.mods.fml.common.LoaderException: java.lang.IllegalArgumentException at cpw.mods.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:58) ~[ASMModParser.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:100) ~[DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) ~[DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) ~[DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.discover(DirectoryDiscoverer.java:53) ~[DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) ~[ContainerType.class:?] at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71) ~[ModCandidate.class:?] at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:123) [ModDiscoverer.class:?] at cpw.mods.fml.common.Loader.identifyMods(Loader.java:347) [Loader.class:?] at cpw.mods.fml.common.Loader.loadMods(Loader.java:468) [Loader.class:?] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:941) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_11] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_11] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_11] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_11] at GradleStart.bounce(GradleStart.java:107) [start/:?] at GradleStart.startClient(GradleStart.java:100) [start/:?] at GradleStart.main(GradleStart.java:65) [start/:?] Caused by: java.lang.IllegalArgumentException at org.objectweb.asm.ClassReader.<init>(ClassReader.java:170) ~[asm-debug-all-4.1.jar:4.1] at org.objectweb.asm.ClassReader.<init>(ClassReader.java:153) ~[asm-debug-all-4.1.jar:4.1] at org.objectweb.asm.ClassReader.<init>(ClassReader.java:424) ~[asm-debug-all-4.1.jar:4.1] at cpw.mods.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:52) ~[ASMModParser.class:?] … 26 more [19:42:15] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW! [19:42:17] [Client thread/INFO] [FML]: Forge Mod Loader has identified 3 mods to load [19:42:17] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge [19:42:17] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [19:42:17] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [19:42:17] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [19:42:17] [Client thread/INFO] [FML]: Applying holder lookups [19:42:17] [Client thread/INFO] [FML]: Holder lookups applied Starting up SoundSystem… Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) OpenAL initialized. [19:42:18] [Sound Library Loader/INFO]: Sound engine started [19:42:20] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [19:42:20] [Client thread/INFO]: Created: 256x256 textures/items-atlas [19:42:20] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 3 mods [19:42:20] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge [19:42:21] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [19:42:21] [Client thread/INFO]: Created: 256x256 textures/items-atlas SoundSystem shutting down… Author: Paul Lamb, www.paulscode.com Starting up SoundSystem... Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) OpenAL initialized. [19:42:21] [Sound Library Loader/INFO]: Sound engine started [19:42:28] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10 [19:42:28] [Server thread/INFO]: Generating keypair [19:42:28] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance [19:42:28] [Server thread/INFO] [FML]: Applying holder lookups [19:42:28] [Server thread/INFO] [FML]: Holder lookups applied [19:42:28] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@1761b86a) [19:42:28] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@1761b86a) [19:42:28] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@1761b86a) [19:42:28] [Server thread/INFO]: Preparing start region for level 0 [19:42:29] [Server thread/INFO]: Changing view distance to 16, from 10 [19:42:29] [Netty Client IO #0/INFO] [FML]: Server protocol version 1 [19:42:29] [Netty IO #1/INFO] [FML]: Client protocol version 1 [19:42:29] [Netty IO #1/INFO] [FML]: Client attempting to join with 3 mods : FML@7.10.18.1180,Forge@10.13.0.1180,mcp@9.05 [19:42:29] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT [19:42:29] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER [19:42:29] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established [19:42:29] [Server thread/INFO]: zeldadu76290[local:E:aaa1820e] logged in with entity id 401 at (158.93059478356676, 71.17554166355853, 716.6352925641995) [19:42:29] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established [19:42:29] [Server thread/INFO]: zeldadu76290 joined the game [19:43:02] [Client thread/INFO]: [CHAT] There is no such item with ID modprimeval:item_detecteur [19:43:03] [Server thread/INFO]: Saving and pausing game… [19:43:03] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [19:43:03] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [19:43:03] [Server thread/INFO]: Saving chunks for level 'New World'/The End [19:43:04] [Server thread/INFO]: Stopping server [19:43:04] [Server thread/INFO]: Saving players [19:43:04] [Server thread/INFO]: Saving worlds [19:43:04] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [19:43:04] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [19:43:04] [Server thread/INFO]: Saving chunks for level 'New World'/The End [19:43:05] [Server thread/INFO] [FML]: Unloading dimension 0 [19:43:05] [Server thread/INFO] [FML]: Unloading dimension -1 [19:43:05] [Server thread/INFO] [FML]: Unloading dimension 1 [19:43:05] [Server thread/INFO] [FML]: Applying holder lookups [19:43:05] [Server thread/INFO] [FML]: Holder lookups applied [19:43:05] [Client thread/INFO]: Stopping! SoundSystem shutting down… 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 ```</init></init></init></init></init></init></init></init></init></init></init></init></init></init>
-
[19:42:15] [Client thread/ERROR] [FML]: There was a problem reading the file C:\Users\Utilisateur\Desktop\mod primeval\forge-1.7.10\bin\Primeval\common\DetecteurdAnomaly.class - probably this is a corrupt file
La classe principale de ton mod est corrompu, je n’ai encore jamais vu ça o_O
Essayes de retirer les majuscules dans le nom du package, ce n’est pas recommandé (sélectionne le package, et appuie sur f2 pour renommer)
Pense à changer en conséquence le chemin des proxys.
En passant, utilise les balises code et java, sinon tes logs / ton code n’est pas lisible. -
J’ai changer en conséquence Minecraft ce lance mais je n’est pas comprit la dernière partit de votre message .
-
ça : [code]copier/coller de log ici[/code]
sans les étoiles, ça donne ça :copier/coller de log ici
-
[20:21:03] [main/INFO] [GradleStart]: username: zeldadu76290
[20:21:03] [main/INFO] [GradleStart]: Extra: []
[20:21:03] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Utilisateur/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --username, zeldadu76290]
[20:21:03] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[20:21:03] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[20:21:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[20:21:03] [main/INFO] [FML]: Forge Mod Loader version 7.10.18.1180 for Minecraft 1.7.10 loading
[20:21:03] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_11, running on Windows 8.1:amd64:6.3, installed at C:\Users\Utilisateur\Desktop\eclipse\jre
[20:21:03] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[20:21:03] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:21:03] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[20:21:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:21:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:21:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[20:21:03] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[20:21:06] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/Utilisateur/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.0.1180/forgeSrc-1.7.10-10.13.0.1180.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
[20:21:06] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
[20:21:06] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Utilisateur/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.0.1180/forgeSrc-1.7.10-10.13.0.1180.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
[20:21:06] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[20:21:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[20:21:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[20:21:07] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[20:21:07] [main/INFO]: Setting user: zeldadu76290
[20:21:09] [Client thread/INFO]: LWJGL Version: 2.9.1
[20:21:10] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[20:21:10] [Client thread/INFO] [FML]: MinecraftForge v10.13.0.1180 Initialized
[20:21:10] [Client thread/INFO] [FML]: Replaced 182 ore recipies
[20:21:10] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[20:21:10] [Client thread/INFO] [FML]: Searching C:\Users\Utilisateur\Desktop\mod primeval\forge-1.7.10\eclipse\mods for mods
[20:21:10] [Client thread/ERROR] [FML]: Unable to read a class file correctly
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:170) ~[asm-debug-all-4.1.jar:4.1]
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:153) ~[asm-debug-all-4.1.jar:4.1]
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:424) ~[asm-debug-all-4.1.jar:4.1]
at cpw.mods.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:52) [ASMModParser.class:?]
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:100) [DirectoryDiscoverer.class:?]
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?]
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?]
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.discover(DirectoryDiscoverer.java:53) [DirectoryDiscoverer.class:?]
at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?]
at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71) [ModCandidate.class:?]
at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:123) [ModDiscoverer.class:?]
at cpw.mods.fml.common.Loader.identifyMods(Loader.java:347) [Loader.class:?]
at cpw.mods.fml.common.Loader.loadMods(Loader.java:468) [Loader.class:?]
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:941) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_11]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_11]
at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_11]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_11]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_11]
at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_11]
at GradleStart.bounce(GradleStart.java:107) [start/:?]
at GradleStart.startClient(GradleStart.java:100) [start/:?]
at GradleStart.main(GradleStart.java:65) [start/:?]
[20:21:10] [Client thread/ERROR] [FML]: There was a problem reading the file C:\Users\Utilisateur\Desktop\mod primeval\forge-1.7.10\bin\primeval\common\DetecteurdAnomaly.class - probably this is a corrupt file
cpw.mods.fml.common.LoaderException: java.lang.IllegalArgumentException
at cpw.mods.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:58) ~[ASMModParser.class:?]
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:100) [DirectoryDiscoverer.class:?]
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?]
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?]
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.discover(DirectoryDiscoverer.java:53) [DirectoryDiscoverer.class:?]
at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?]
at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71) [ModCandidate.class:?]
at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:123) [ModDiscoverer.class:?]
at cpw.mods.fml.common.Loader.identifyMods(Loader.java:347) [Loader.class:?]
at cpw.mods.fml.common.Loader.loadMods(Loader.java:468) [Loader.class:?]
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:941) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_11]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_11]
at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_11]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_11]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_11]
at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_11]
at GradleStart.bounce(GradleStart.java:107) [start/:?]
at GradleStart.startClient(GradleStart.java:100) [start/:?]
at GradleStart.main(GradleStart.java:65) [start/:?]
Caused by: java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:170) ~[asm-debug-all-4.1.jar:4.1]
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:153) ~[asm-debug-all-4.1.jar:4.1]
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:424) ~[asm-debug-all-4.1.jar:4.1]
at cpw.mods.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:52) ~[ASMModParser.class:?]
… 26 more
[20:21:10] [Client thread/WARN] [FML]: Identified a problem with the mod candidate C:\Users\Utilisateur\Desktop\mod primeval\forge-1.7.10\bin, ignoring this source
cpw.mods.fml.common.LoaderException: java.lang.IllegalArgumentException
at cpw.mods.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:58) ~[ASMModParser.class:?]
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:100) ~[DirectoryDiscoverer.class:?]
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) ~[DirectoryDiscoverer.class:?]
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) ~[DirectoryDiscoverer.class:?]
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.discover(DirectoryDiscoverer.java:53) ~[DirectoryDiscoverer.class:?]
at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) ~[ContainerType.class:?]
at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71) ~[ModCandidate.class:?]
at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:123) [ModDiscoverer.class:?]
at cpw.mods.fml.common.Loader.identifyMods(Loader.java:347) [Loader.class:?]
at cpw.mods.fml.common.Loader.loadMods(Loader.java:468) [Loader.class:?]
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:941) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_11]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_11]
at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_11]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_11]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_11]
at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_11]
at GradleStart.bounce(GradleStart.java:107) [start/:?]
at GradleStart.startClient(GradleStart.java:100) [start/:?]
at GradleStart.main(GradleStart.java:65) [start/:?]
Caused by: java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:170) ~[asm-debug-all-4.1.jar:4.1]
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:153) ~[asm-debug-all-4.1.jar:4.1]
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:424) ~[asm-debug-all-4.1.jar:4.1]
at cpw.mods.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:52) ~[ASMModParser.class:?]
… 26 more
[20:21:11] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on ‘net.minecraft.src’ : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you’re in eclipse, select your source code and ‘refactor’ it into a new package. Go on. DO IT NOW!
[20:21:13] [Client thread/INFO] [FML]: Forge Mod Loader has identified 3 mods to load
[20:21:13] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge
[20:21:13] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[20:21:13] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
[20:21:13] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[20:21:13] [Client thread/INFO] [FML]: Applying holder lookups
[20:21:13] [Client thread/INFO] [FML]: Holder lookups appliedStarting up SoundSystem…
Initializing LWJGL OpenAL
(The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
OpenAL initialized.[20:21:14] [Sound Library Loader/INFO]: Sound engine started
[20:21:16] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[20:21:17] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[20:21:17] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 3 mods
[20:21:17] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge
[20:21:17] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[20:21:17] [Client thread/INFO]: Created: 256x256 textures/items-atlasSoundSystem shutting down…
Author: Paul Lamb, www.paulscode.comStarting up SoundSystem…
Initializing LWJGL OpenAL
(The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
OpenAL initialized.[20:21:17] [Sound Library Loader/INFO]: Sound engine started
[20:21:27] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10
[20:21:27] [Server thread/INFO]: Generating keypair
[20:21:28] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[20:21:28] [Server thread/INFO] [FML]: Applying holder lookups
[20:21:28] [Server thread/INFO] [FML]: Holder lookups applied
[20:21:28] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@60267aa3)
[20:21:28] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@60267aa3)
[20:21:28] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@60267aa3)
[20:21:28] [Server thread/INFO]: Preparing start region for level 0
[20:21:29] [Server thread/INFO]: Changing view distance to 16, from 10
[20:21:30] [Netty Client IO #0/INFO] [FML]: Server protocol version 1
[20:21:30] [Netty IO #1/INFO] [FML]: Client protocol version 1
[20:21:30] [Netty IO #1/INFO] [FML]: Client attempting to join with 3 mods : FML@7.10.18.1180,Forge@10.13.0.1180,mcp@9.05
[20:21:30] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
[20:21:30] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER
[20:21:30] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established
[20:21:30] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[20:21:30] [Server thread/INFO]: zeldadu76290[local:E:e2140be3] logged in with entity id 393 at (152.11137460773867, 74.71433312057773, 710.1033438580838)
[20:21:30] [Server thread/INFO]: zeldadu76290 joined the game
[20:21:43] [Client thread/INFO]: [CHAT] Unknown command. Try /help for a list of commands
[20:21:46] [Server thread/INFO]: <zeldadu76290>[19:42:08] [main/INFO] [GradleStart]: username: zeldadu76290[19:42:08] [main/INFO] [GradleStart]: Ex
[20:21:46] [Client thread/INFO]: [CHAT] <zeldadu76290>[19:42:08] [main/INFO] [GradleStart]: username: zeldadu76290[19:42:08] [main/INFO] [GradleStart]: Ex
[20:22:26] [Client thread/INFO]: [CHAT] There is no such item with ID modprimeval:item_detecteur
[20:22:28] [Server thread/INFO]: Saving and pausing game…
[20:22:28] [Server thread/INFO]: Saving chunks for level ‘New World’/Overworld
[20:22:28] [Server thread/INFO]: Saving chunks for level ‘New World’/Nether
[20:22:28] [Server thread/INFO]: Saving chunks for level ‘New World’/The End
[20:24:50] [Server thread/INFO]: Saving and pausing game…
[20:24:50] [Server thread/INFO]: Saving chunks for level ‘New World’/Overworld
[20:24:50] [Server thread/INFO]: Saving chunks for level ‘New World’/Nether
[20:24:50] [Server thread/INFO]: Saving chunks for level ‘New World’/The End
[20:24:51] [Client thread/INFO]: Stopping!
[20:24:51] [Server thread/INFO]: Stopping server
[20:24:51] [Server thread/INFO]: Saving players
[20:24:51] [Server thread/INFO]: Saving worlds
[20:24:51] [Server thread/INFO]: Saving chunks for level ‘New World’/OverworldSoundSystem shutting down…
Author: Paul Lamb, www.paulscode.com[20:24:51] [Server thread/INFO]: Saving chunks for level ‘New World’/Nether
[20:24:51] [Server thread/INFO]: Saving chunks for level ‘New World’/The End
[20:24:51] [Client Shutdown Thread/INFO]: Stopping server
[20:24:51] [Client Shutdown Thread/INFO]: Saving players
Exception in thread “Client Shutdown Thread” java.lang.NullPointerException
at net.minecraftforge.common.ForgeChunkManager.saveWorld(ForgeChunkManager.java:836)
at net.minecraftforge.common.ForgeInternalHandler.onDimensionSave(ForgeInternalHandler.java:70)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_0_ForgeInternalHandler_onDimensionSave_Save.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:51)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:122)
at net.minecraft.world.WorldServer.saveAllChunks(WorldServer.java:877)
at net.minecraft.server.MinecraftServer.saveAllWorlds(MinecraftServer.java:380)
at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:415)
at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:266)
at net.minecraft.client.Minecraft.stopIntegratedServer(Minecraft.java:2803)
at net.minecraft.client.main.Main$3.run(Main.java:154)
Java HotSpot 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release</zeldadu76290></zeldadu76290></init></init></init></init></init></init></init></init></init></init></init></init></init></init> -
Toujours pas bon, tu peux renvoyer ta classe principale ?
-
Voici et encore merci de maider :
package primeval.common; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import primeval.proxy.CommonProxy; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.registry.GameRegistry; @Mod(modid = Modprimeval.MODID, name ="PrimevalCraftWorld", version = "1.0.0") public class Modprimeval { public static final String MODID = "modprimeval"; @Instance(MODID) public static Modprimeval instance; @SidedProxy(clientSide = "primeval.proxy.ClientProxy", serverSide = "primeval.proxy.CommonProxy") public static CommonProxy proxy; public static Item itemDetecteur; @EventHandler public void preInit(FMLPreInitializationEvent event) { itemDetecteur = new ItemDetecteur().setUnlocalizedName("Detecteur").setTextureName(Modprimeval.MODID + ":itemdetecteur").setCreativeTab(CreativeTabs.tabRedstone); GameRegistry.registerItem(itemDetecteur, "item_detecteur"); } @EventHandler public void init(FMLInitializationEvent event) { proxy.registerRender(); } @EventHandler public void postInit(FMLPostInitializationEvent event) { } }
-
La balise s’il te plait x)
Eclipse t’indique une erreur sur la classe ? Car moi j’en vois pas
Tu peux aussi envoyer la classe ItemDetecteur ? -
package primeval.common;
import net.minecraft.item.Item;
public class ItemDetecteur extends Item
{}
moi il n’a pas l’aire
-
Je vois vraiment pas pourquoi ça ne fonctionne pas, tu as skype ?
-
Re bonjour sa marche mais le nom n’apparait pas sa donne item.detecteur.name :
voici ma classe principal :
package primeval.common;import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import primeval.proxy.CommonProxy;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;@Mod(modid = “modprimeval”, name = “PrimevalCraftWorld”, version = “1.0.0”)
public class Modprimeval
{
public static final String MODID = “modprimeval”;@Instance(MODID)
public static Modprimeval instance;@SidedProxy(clientSide = “primeval.proxy.ClientProxy”, serverSide = “primeval.proxy.CommonProxy”)
public static CommonProxy proxy;public static Item itemDetecteur;
@EventHandler
public void preInit(FMLPreInitializationEvent event)
{
itemDetecteur = new ItemDetecteur().setUnlocalizedName(“detecteur”).setTextureName(Modprimeval.MODID + “:item_detecteur”).setCreativeTab(CreativeTabs.tabRedstone);GameRegistry.registerItem(itemDetecteur, “item_detecteur”);
}@EventHandler
public void init(FMLInitializationEvent event)
{
proxy.registerRender();}
@EventHandler
public void postInit(FMLPostInitializationEvent event)
{}
}Ma classe de l’item :
package primeval.common;import net.minecraft.item.Item;
public class ItemDetecteur extends Item
{}
et mon en_US.lang :
item.itemDetecteur.name=Detecteur d’anomaly
-
item.detecteur.name=Detecteur d’anomaly
dans le fichier de lang -
Non sa mes toujours la même chose
-
Ton fichier de lang se trouve où ?
-
src\main\resources\assets\modprimeval
-
Il doit être dans src\main\resources\assets\modprimeval\lang
(tu dois créer le dossier lang). -
Excuser moi je me suis mal fait comprendre mes en_US et fr_Fr sont dans src\main\resources\assets\modprimeval\lang
-
Aucune idée alors, je penses qu’on va de nouveau régler ça sur skype alors.