Créer un item simple
-
Comme ça?
ça ne me met toujours rien
Et j’ai rajouté le screen de la position du model -
“modid” -> c’est toujours mieux de remplacer par son modid…
-
Effectivement ^^. Mais ça ne change pas le fait qu’on n’a toujours ni textures ni models :p.
Screen de tout pour vérif: -
Dans GameRegistry.registerItem() aussi tu l’as mis avec une majuscule au début. (Class Modzoic)
-
Après je suis pas sûr, mais les trucs avec majuscules, c’est peut-être pour aller avec MeatEpanterias.java ^^.
Maintenant en démarrant j’ai droit à ça quand je cherche à lancer mon monde:Du coup j’ai recréé un monde, et mon item est nommé comme ça, si ça peut aider:
Mais c’est normal de ne pas voir de suite de fichiers ici surtout?:
-
Crées un sujet je pense car là il y a trop de problèmes et dedans envoies tous tes fichiers (pas en screen si possible).
Dont :
- classe principale
- proxy client
- tous les jsons en rapport avec le block
- une hiérarchie des fichiers en screen
-
Sinon avec un zip de ton src
-
Ok on passe à mon post “petit problème”

-
Est-ce qu’un correcteur peut repasser sur le tutoriel ? J’ai fais pas mal de modification pour être plus cohérent avec le tutoriel sur la base du mod et la vidéo qui va sortir demain.
-
Une question toute bête, j’ai pas eu le temps de tester mais le tuto sur la creative tab en 1.7 fonctionne t’il toujours pour la 1.8 / 1.9 ?
-
Oui, aucune modif.
-
bonjour à tous,
je suis en train de crée un item simple, et j’en suis rendu au moment ou quand on lance le jeu normalement l’item
devrait apparaitre mais sans texture, problème:
la fonction .[font=monospaceregisterItemsModels]font=monospace;dans ma classe indique une erreur et me dit de la changer en .[font=monospaceregisterItems();]Que je laisse la fonction comme telle ou que je la change en [font=monospace.][font=monospaceregisterItems]font=monospace; mon minecraft crash
[font=monospacevoici les logs:][11:05:09] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1722 Initialized[11:05:09] [Client thread/INFO] [FML]: Replaced 204 ore recipies [font=monospace] [11:05:10] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [font=monospace] [11:05:10] [Client thread/INFO] [FML]: Searching C:\Users\stephanie\Documents\quentin\Modding\forge-1.8.9\run\mods for mods [font=monospace] [11:05:13] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [font=monospace] [11:05:14] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, wakfu] at CLIENT [font=monospace] [11:05:14] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, wakfu] at SERVER [font=monospace] [11:05:15] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mod Minecraft [font=monospace] [11:05:15] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [font=monospace] [11:05:15] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations [font=monospace] [11:05:15] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [font=monospace] [11:05:15] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [font=monospace] [11:05:15] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [font=monospace] [11:05:15] [Client thread/INFO] [FML]: Applying holder lookups [font=monospace] [11:05:15] [Client thread/INFO] [FML]: Holder lookups applied [font=monospace] [11:05:15] [Client thread/INFO] [FML]: Injecting itemstacks [font=monospace] [11:05:15] [Client thread/INFO] [FML]: Itemstack injection complete [font=monospace] [11:05:15] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue [font=monospace] [11:05:15] [Client thread/ERROR] [FML]: [font=monospace] States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored [font=monospace] UCH mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) [font=monospace] UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1722.jar) [font=monospace] UCH Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) [font=monospace] UCE wakfu{0.1} [Mod Minecraft] (bin) [font=monospace] [11:05:15] [Client thread/ERROR] [FML]: The following problems were captured during this phase [font=monospace] [11:05:15] [Client thread/ERROR] [FML]: Caught exception from wakfu [font=monospace] java.lang.Error: Unresolved compilation problem: [font=monospace] The method registerItemsModels() is undefined for the type ItemRubilax [font=monospace] [font=monospace] at fr.premiermod.minecraft.client.PremierModClient.preInit(PremierModClient.java:20) ~[bin/:?] [font=monospace] at fr.premiermod.minecraft.ModMinecraft.preInit(ModMinecraft.java:33) ~[bin/:?] [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] [font=monospace] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] [font=monospace] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91] [font=monospace] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] [font=monospace] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] [font=monospace] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91] [font=monospace] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] [font=monospace] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] [font=monospace] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] [font=monospace] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] [font=monospace] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] [font=monospace] at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] [font=monospace] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] [font=monospace] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] [font=monospace] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91] [font=monospace] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] [font=monospace] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] [font=monospace] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] [font=monospace] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] [font=monospace] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] [font=monospace] at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?] [font=monospace] at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556) [Loader.class:?] [font=monospace] at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?] [font=monospace] at net.minecraft.client.Minecraft.startGame(Minecraft.java:451) [Minecraft.class:?] [font=monospace] at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?] [font=monospace] at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?] [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] [font=monospace] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] [font=monospace] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91] [font=monospace] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] [font=monospace] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] [font=monospace] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] [font=monospace] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91] [font=monospace] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] [font=monospace] at GradleStart.main(GradleStart.java:26) [start/:?] [font=monospace] [11:05:15] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [font=monospace] [11:05:15] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: –-- Minecraft Crash Report ---- [font=monospace] // Would you like a cupcake? [font=monospace] [font=monospace] Time: 16/06/16 11:05 [font=monospace] Description: There was a severe problem during mod loading that has caused the game to fail [font=monospace] [font=monospace] net.minecraftforge.fml.common.LoaderException: java.lang.Error: Unresolved compilation problem: [font=monospace] The method registerItemsModels() is undefined for the type ItemRubilax [font=monospace] [font=monospace] at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:162) [font=monospace] at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:559) [font=monospace] at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [font=monospace] at net.minecraft.client.Minecraft.startGame(Minecraft.java:451) [font=monospace] at net.minecraft.client.Minecraft.run(Minecraft.java:360) [font=monospace] at net.minecraft.client.main.Main.main(Main.java:116) [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [font=monospace] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [font=monospace] at java.lang.reflect.Method.invoke(Unknown Source) [font=monospace] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [font=monospace] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [font=monospace] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [font=monospace] at java.lang.reflect.Method.invoke(Unknown Source) [font=monospace] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [font=monospace] at GradleStart.main(GradleStart.java:26) [font=monospace] Caused by: java.lang.Error: Unresolved compilation problem: [font=monospace] The method registerItemsModels() is undefined for the type ItemRubilax [font=monospace] [font=monospace] at fr.premiermod.minecraft.client.PremierModClient.preInit(PremierModClient.java:20) [font=monospace] at fr.premiermod.minecraft.ModMinecraft.preInit(ModMinecraft.java:33) [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [font=monospace] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [font=monospace] at java.lang.reflect.Method.invoke(Unknown Source) [font=monospace] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [font=monospace] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [font=monospace] at java.lang.reflect.Method.invoke(Unknown Source) [font=monospace] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [font=monospace] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [font=monospace] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [font=monospace] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [font=monospace] at com.google.common.eventbus.EventBus.post(EventBus.java:275) [font=monospace] at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211) [font=monospace] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [font=monospace] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [font=monospace] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [font=monospace] at java.lang.reflect.Method.invoke(Unknown Source) [font=monospace] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [font=monospace] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [font=monospace] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [font=monospace] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [font=monospace] at com.google.common.eventbus.EventBus.post(EventBus.java:275) [font=monospace] at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [font=monospace] at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556) [font=monospace] … 16 more [font=monospace] [font=monospace] [font=monospace] A detailed walkthrough of the error, its code path and all known details is as follows: [font=monospace] –------------------------------------------------------------------------------------- [font=monospace] [font=monospace] – System Details -- [font=monospace] Details: [font=monospace] Minecraft Version: 1.8.9 [font=monospace] Operating System: Windows 10 (amd64) version 10.0 [font=monospace] Java Version: 1.8.0_91, Oracle Corporation [font=monospace] Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation [font=monospace] Memory: 885161272 bytes (844 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) [font=monospace] JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M [font=monospace] IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 [font=monospace] FML: MCP 9.19 Powered by Forge 11.15.1.1722 4 mods loaded, 4 mods active [font=monospace] States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored [font=monospace] UCH mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) [font=monospace] UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1722.jar) [font=monospace] UCH Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) [font=monospace] UCE wakfu{0.1} [Mod Minecraft] (bin) [font=monospace] Loaded coremods (and transformers): [font=monospace] GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 20.19.15.4331' Renderer: 'Intel(R) HD Graphics 4400' [font=monospace] [11:05:15] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\stephanie\Documents\quentin\Modding\forge-1.8.9\run\.\crash-reports\crash-2016-06-16_11.05.15-client.txt Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release -
Envoie ta classe, le crash dit seulement que ta fonction n’existe pas (et c’est quoi tout ces font et color ?)
-
tiens voici la classe
package fr.premiermod.minecraft.items; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraftforge.fml.common.registry.GameRegistry; public class Wakfuitems { public static final Item Rubilax = new ItemRubilax().setUnlocalizedName("Rubilax").setCreativeTab(CreativeTabs.tabMisc); public static void registerItems() { GameRegistry.registerItem(Rubilax, "rubilax_item"); } }oh wait tu as raison c’était pas dans mes logs tout ça xD
[11:05:09] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1722 Initialized [11:05:09] [Client thread/INFO] [FML]: Replaced 204 ore recipies [11:05:10] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [11:05:10] [Client thread/INFO] [FML]: Searching C:\Users\stephanie\Documents\quentin\Modding\forge-1.8.9\run\mods for mods [11:05:13] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [11:05:14] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, wakfu] at CLIENT [11:05:14] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, wakfu] at SERVER [11:05:15] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mod Minecraft [11:05:15] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [11:05:15] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations [11:05:15] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [11:05:15] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [11:05:15] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [11:05:15] [Client thread/INFO] [FML]: Applying holder lookups [11:05:15] [Client thread/INFO] [FML]: Holder lookups applied [11:05:15] [Client thread/INFO] [FML]: Injecting itemstacks [11:05:15] [Client thread/INFO] [FML]: Itemstack injection complete [11:05:15] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue [11:05:15] [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.19} [Minecraft Coder Pack] (minecraft.jar) UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1722.jar) UCH Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) UCE wakfu{0.1} [Mod Minecraft] (bin) [11:05:15] [Client thread/ERROR] [FML]: The following problems were captured during this phase [11:05:15] [Client thread/ERROR] [FML]: Caught exception from wakfu java.lang.Error: Unresolved compilation problem: The method registerItemsModels() is undefined for the type ItemRubilax at fr.premiermod.minecraft.client.PremierModClient.preInit(PremierModClient.java:20) ~[bin/:?] at fr.premiermod.minecraft.ModMinecraft.preInit(ModMinecraft.java:33) ~[bin/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91] 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:211) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91] 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:118) [LoadController.class:?] at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556) [Loader.class:?] at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:451) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91] 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_91] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] [11:05:15] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [11:05:15] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: –-- Minecraft Crash Report ---- // Would you like a cupcake? Time: 16/06/16 11:05 Description: There was a severe problem during mod loading that has caused the game to fail net.minecraftforge.fml.common.LoaderException: java.lang.Error: Unresolved compilation problem: The method registerItemsModels() is undefined for the type ItemRubilax at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:162) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:559) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) at net.minecraft.client.Minecraft.startGame(Minecraft.java:451) at net.minecraft.client.Minecraft.run(Minecraft.java:360) at net.minecraft.client.main.Main.main(Main.java:116) 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:26) Caused by: java.lang.Error: Unresolved compilation problem: The method registerItemsModels() is undefined for the type ItemRubilax at fr.premiermod.minecraft.client.PremierModClient.preInit(PremierModClient.java:20) at fr.premiermod.minecraft.ModMinecraft.preInit(ModMinecraft.java:33) 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:560) 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:211) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) 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:118) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556) ... 16 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.8.9 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 885161272 bytes (844 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 9.19 Powered by Forge 11.15.1.1722 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.19} [Minecraft Coder Pack] (minecraft.jar) UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1722.jar) UCH Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) UCE wakfu{0.1} [Mod Minecraft] (bin) Loaded coremods (and transformers): GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 20.19.15.4331' Renderer: 'Intel(R) HD Graphics 4400' [11:05:15] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\stephanie\Documents\quentin\Modding\forge-1.8.9\run\.\crash-reports\crash-2016-06-16_11.05.15-client.txt Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future releaseje pense que ce sera mieux comme ça

-
Le fonction dans la classe de ton item se nomme registerItems() alors pourquoi essayes-tu de mettre registerItemsModels() ? ça crash car tu appelle une fonction qui n’existe pas dans la classe de ton item.
Tu as dit que ça crash même quand tu mets registerItems() ? Envoie les logs après avoir mis cette fonction. -
En fait je met la fonction registerItemsModels simplement car elle est dans le tutoriel^^ mais je n’arrive pas à comprendre son utilité surtout si elle
me fait crash.voici les logs:
[11:35:13] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1722 Initialized [11:35:13] [Client thread/INFO] [FML]: Replaced 204 ore recipies [11:35:14] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [11:35:14] [Client thread/INFO] [FML]: Searching C:\Users\stephanie\Documents\quentin\Modding\forge-1.8.9\run\mods for mods [11:35:18] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [11:35:20] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, wakfu] at CLIENT [11:35:20] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, wakfu] at SERVER [11:35:23] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mod Minecraft [11:35:24] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [11:35:24] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations [11:35:24] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [11:35:24] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [11:35:24] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [11:35:24] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [11:35:24] [Client thread/INFO] [FML]: Applying holder lookups [11:35:24] [Client thread/INFO] [FML]: Holder lookups applied [11:35:24] [Client thread/INFO] [FML]: Injecting itemstacks [11:35:24] [Client thread/INFO] [FML]: Itemstack injection complete [11:35:24] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue [11:35:24] [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.19} [Minecraft Coder Pack] (minecraft.jar) UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1722.jar) UCH Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) UCE wakfu{0.1} [Mod Minecraft] (bin) [11:35:24] [Client thread/ERROR] [FML]: The following problems were captured during this phase [11:35:24] [Client thread/ERROR] [FML]: Caught exception from wakfu java.lang.IllegalArgumentException: The name minecraft:stone has been registered twice, for net.minecraft.item.ItemMultiTexture@47e60b71 and net.minecraft.item.ItemMultiTexture@27a57c66. at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:455) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:195) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:29) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at net.minecraft.item.Item.registerItem(Item.java:1646) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at net.minecraft.item.Item.registerItemBlock(Item.java:1635) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at net.minecraft.item.Item.registerItems(Item.java:1180) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at fr.premiermod.minecraft.client.PremierModClient.preInit(PremierModClient.java:18) ~[bin/:?] at fr.premiermod.minecraft.ModMinecraft.preInit(ModMinecraft.java:33) ~[bin/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91] 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:211) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91] 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:118) [LoadController.class:?] at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556) [Loader.class:?] at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:451) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91] 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_91] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] [11:35:24] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: –-- Minecraft Crash Report ---- // Surprise! Haha. Well, this is awkward. Time: 16/06/16 11:35 Description: Initializing game java.lang.IllegalArgumentException: The name minecraft:stone has been registered twice, for net.minecraft.item.ItemMultiTexture@47e60b71 and net.minecraft.item.ItemMultiTexture@27a57c66. at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:455) at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:195) at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:29) at net.minecraft.item.Item.registerItem(Item.java:1646) at net.minecraft.item.Item.registerItemBlock(Item.java:1635) at net.minecraft.item.Item.registerItems(Item.java:1180) at fr.premiermod.minecraft.client.PremierModClient.preInit(PremierModClient.java:18) at fr.premiermod.minecraft.ModMinecraft.preInit(ModMinecraft.java:33) 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:560) 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:211) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) 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:118) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) at net.minecraft.client.Minecraft.startGame(Minecraft.java:451) at net.minecraft.client.Minecraft.run(Minecraft.java:360) at net.minecraft.client.main.Main.main(Main.java:116) 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:26) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:455) at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:195) at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:29) at net.minecraft.item.Item.registerItem(Item.java:1646) at net.minecraft.item.Item.registerItemBlock(Item.java:1635) at net.minecraft.item.Item.registerItems(Item.java:1180) at fr.premiermod.minecraft.client.PremierModClient.preInit(PremierModClient.java:18) at fr.premiermod.minecraft.ModMinecraft.preInit(ModMinecraft.java:33) 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:560) 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:211) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) 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:118) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) at net.minecraft.client.Minecraft.startGame(Minecraft.java:451) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:360) at net.minecraft.client.main.Main.main(Main.java:116) 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:26) -- System Details -- Details: Minecraft Version: 1.8.9 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 899417936 bytes (857 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 9.19 Powered by Forge 11.15.1.1722 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.19} [Minecraft Coder Pack] (minecraft.jar) UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1722.jar) UCH Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) UCE wakfu{0.1} [Mod Minecraft] (bin) Loaded coremods (and transformers): GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 20.19.15.4331' Renderer: 'Intel(R) HD Graphics 4400' Launched Version: 1.8.9 LWJGL: 2.9.4 OpenGL: Intel(R) HD Graphics 4400 GL version 4.3.0 - Build 20.19.15.4331, 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) CPU: 4x Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz [11:35:24] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\stephanie\Documents\quentin\Modding\forge-1.8.9\run\.\crash-reports\crash-2016-06-16_11.35.24-client.txt Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release -
java.lang.IllegalArgumentException: The name minecraft:stone has been registered twice, for net.minecraft.item.ItemMultiTexture@47e60b71 and net.minecraft.item.ItemMultiTexture@27a57c66. at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:455) at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:195) at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:29) at net.minecraft.item.Item.registerItem(Item.java:1646) at net.minecraft.item.Item.registerItemBlock(Item.java:1635) at net.minecraft.item.Item.registerItems(Item.java:1180) at fr.premiermod.minecraft.client.PremierModClient.preInit(PremierModClient.java:18)Tu as quoi à la ligne 18 de PremierModClient ?
-
ItemRubilax.registerItems();
dans la fonction preinit
-
Tu appelles la fonction statique de la classe Item qui permet d’enregistrer les items de minecraft, je pense que ce n’est pas ce que tu veux
-
Il faut mettre Wakfuitems.registerItems();