MFF

    Minecraft Forge France
    • Récent
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Groupes
    • Forge Events
      • Automatique
      • Foncé
      • Clair
    • S'inscrire
    • Se connecter

    Créer un item basique

    Planifier Épinglé Verrouillé Déplacé Les items
    1.7.x
    243 Messages 37 Publieurs 82.8k Vues 7 Watching
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • robin4002R Hors-ligne
      robin4002 Moddeurs confirmés Rédacteurs Administrateurs
      dernière édition par

      Salut,
      Refais un setup.

      1 réponse Dernière réponse Répondre Citer 0
      • R Hors-ligne
        Raphmaster6
        dernière édition par

        @‘robin4002’:

        Salut,
        Refais un setup.

        O.K merci.

        1 réponse Dernière réponse Répondre Citer 0
        • N Hors-ligne
          NiCoBt10
          dernière édition par

          Bonjour,bonsoir.

          J’ai suivi ce tuto en écoutant bien les explications, mais j’ai un probleme mon item n’est pas existant dans minecraft je suis vraiment déçu parce que j’ai passé du temps pour ça mais je n’ai pas trouvé la solution.
          Voila mon probleme je sais que je regarde ce tuto un peu tard mais j’ai besoins de vous voila merci d’avance et super tutoriel.

          NiCoBt10.

          1 réponse Dernière réponse Répondre Citer 0
          • PchomP Hors-ligne
            Pchom
            dernière édition par

            Bonjour,

            Nous n’avons rien pour t’aider. Tu ne nous donnes ni code, ni logs.
            Tu as bien suivi le tutoriel en entier, tu as tout fait comme dit dans le tutoriel ?

            > *Si vous ne pouvez expliquer un concept à un enfant de six ans, c’est que vous ne le comprenez pas c…

            1 réponse Dernière réponse Répondre Citer 0
            • N Hors-ligne
              NiCoBt10
              dernière édition par

              @‘@Pchom’:

              Bonjour,

              Nous n’avons rien pour t’aider. Tu ne nous donnes ni code, ni logs.
              Tu as bien suivi le tutoriel en entier, tu as tout fait comme dit dans le tutoriel ?

              Bonjour désolé de ne pas avoir mis code ou logs voici mon code principal:

              package fr.nicobt10.nico.common;
              
              import net.minecraft.creativetab.CreativeTabs;
              import net.minecraft.item.Item;
              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;
              import fr.nicobt10.nico.proxy.CommonProxy;
              
              @Mod(modid = "nicomod", name = "Nico Mod", version = "1.0.0")
              public class ModNico
              {
                  public static final String MODID = "nicomod";
                  @Instance(MODID)
                  public static ModNico instance;
              
                  @SidedProxy(clientSide = "fr.nicobt10.nico.proxy.ClientProxy", serverSide = "fr.nicobt10.nico.proxy.CommonProxy")
                  public static CommonProxy proxy;
              
                  public static Item itemNico, itemNico2;
              
                  @EventHandler
                  public void preInit(FMLPreInitializationEvent event)
                  {
                      itemNico = new ItemNico().setUnlocalizedName("itemNico").setTextureName(ModNico.MODID + ":item_nico").setCreativeTab(CreativeTabs.tabMaterials);
                      itemNico2 = new ItemNico().setUnlocalizedName("itemNico2").setTextureName(ModNico.MODID + ":item_nico2").setCreativeTab(CreativeTabs.tabMaterials);
              
                      GameRegistry.registerItem(itemNico, "item_nico");
                      GameRegistry.registerItem(itemNico2, "item_nico2");
                  }
              
                  @EventHandler
                  public void init(FMLInitializationEvent event)
                  {
                      proxy.registerRender();
                  }
              
                  @EventHandler
                  public void postInit(FMLPostInitializationEvent event)
                  {
              
                  }
              }
              

              Et mes logs:

              [18:44:20] [main/INFO] [GradleStart]: Extra: []
              [18:44:20] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/NicoOo/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
              [18:44:20] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
              [18:44:20] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
              [18:44:20] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
              [18:44:20] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
              [18:44:20] [main/INFO] [FML]: Forge Mod Loader version 7.99.36.1558 for Minecraft 1.7.10 loading
              [18:44:20] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_121, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_121
              [18:44:20] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
              [18:44:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
              [18:44:20] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
              [18:44:20] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
              [18:44:20] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
              [18:44:20] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
              [18:44:20] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
              [18:44:20] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
              [18:44:20] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
              [18:44:20] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
              [18:44:20] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
              [18:44:21] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
              [18:44:21] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
              [18:44:21] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
              [18:44:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
              [18:44:22] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
              [18:44:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
              [18:44:22] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
              [18:44:22] [main/INFO]: Setting user: Player203
              [18:44:24] [Client thread/INFO]: LWJGL Version: 2.9.1
              [18:44:25] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ----
              // You should try our sister game, Minceraft!
              
              Time: 27/02/17 18:44
              Description: Loading screen debug info
              
              This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
              
              A detailed walkthrough of the error, its code path and all known details is as follows:
              ---------------------------------------------------------------------------------------
              
              -- System Details --
              Details:
              Minecraft Version: 1.7.10
              Operating System: Windows 10 (amd64) version 10.0
              Java Version: 1.8.0_121, Oracle Corporation
              Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
              Memory: 779571080 bytes (743 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
              JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
              AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
              IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
              FML:
              GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 376.53' Renderer: 'GeForce GTX 1050 Ti/PCIe/SSE2'
              [18:44:25] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
              [18:44:25] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1558 Initialized
              [18:44:25] [Client thread/INFO] [FML]: Replaced 183 ore recipies
              [18:44:25] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
              [18:44:25] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
              [18:44:25] [Client thread/INFO] [FML]: Searching C:\Users\NicoOo\Desktop\Forge\eclipse\mods for mods
              [18:44:30] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
              [18:44:30] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, nico] at CLIENT
              [18:44:30] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, nico] at SERVER
              [18:44:30] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Nico Mod
              [18:44:31] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
              [18:44:31] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
              [18:44:31] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
              [18:44:31] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
              [18:44:31] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
              [18:44:31] [Client thread/INFO] [FML]: Applying holder lookups
              [18:44:31] [Client thread/INFO] [FML]: Holder lookups applied
              [18:44:31] [Client thread/INFO] [FML]: Injecting itemstacks
              [18:44:31] [Client thread/INFO] [FML]: Itemstack injection complete
              [18:44:31] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
              [18:44:31] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
              [18:44:31] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
              [18:44:31] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
              [18:44:31] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
              [18:44:31] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
              [18:44:31] [Sound Library Loader/INFO]: Sound engine started
              [18:44:32] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas
              [18:44:32] [Client thread/INFO]: Created: 16x16 textures/items-atlas
              [18:44:32] [Client thread/INFO] [FML]: Injecting itemstacks
              [18:44:32] [Client thread/INFO] [FML]: Itemstack injection complete
              [18:44:32] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
              [18:44:32] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Nico Mod
              [18:44:32] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
              [18:44:32] [Client thread/INFO]: Created: 256x256 textures/items-atlas
              [18:44:32] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
              [18:44:32] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
              [18:44:33] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
              [18:44:33] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
              [18:44:33] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
              [18:44:33] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
              [18:44:33] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
              [18:44:33] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
              [18:44:33] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
              [18:44:33] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
              [18:44:33] [Sound Library Loader/INFO]: Sound engine started
              
              

              PS: j’ai trois erreurs: -Description Resource Path Location Type

              Project ‘Minecraft’ is missing required source folder: ‘src/main/java’ Minecraft Build path Build Path Problem

              -Description Resource Path Location Type

              Project ‘Minecraft’ is missing required source folder: ‘src/main/resources’ Minecraft Build path Build Path Problem

              -Description Resource Path Location Type

              The project cannot be built until build path errors are resolved Minecraft Unknown Java Problem

              Encore désolé du manque de détails du précédent message et merci de vos réponces rapides !

              1 réponse Dernière réponse Répondre Citer 0
              • PchomP Hors-ligne
                Pchom
                dernière édition par

                Mmh, juste comme ça, le problème est que l’item n’existe pas ou que sa texture ne s’affiche pas ?
                Et tu pourrais, juste comme ça, envoyer la classe de ton Item ? Ainsi que ton CommonProxy et ClientProxy ? (mets le tout dans un spoiler pour ne pas surcharger ton message).

                > *Si vous ne pouvez expliquer un concept à un enfant de six ans, c’est que vous ne le comprenez pas c…

                1 réponse Dernière réponse Répondre Citer 0
                • N Hors-ligne
                  NiCoBt10
                  dernière édition par

                  @‘@Pchom’:

                  Mmh, juste comme ça, le problème est que l’item n’existe pas ou que sa texture ne s’affiche pas ?
                  Et tu pourrais, juste comme ça, envoyer la classe de ton Item ? Ainsi que ton CommonProxy et ClientProxy ? (mets le tout dans un spoiler pour ne pas surcharger ton message).

                  :::
                  package fr.nicobt10.nico.common;

                  import net.minecraft.item.Item;

                  public class ItemNico extends Item
                  {

                  }

                  :::

                  :::
                  package fr.nicobt10.nico.proxy;

                  public class ClientProxy extends CommonProxy
                  {
                      @Override
                      public void registerRender()
                      {

                  }
                  }

                  :::

                  :::
                  package fr.nicobt10.nico.proxy;

                  public class CommonProxy
                  {
                      public void registerRender()
                      {

                  }
                  }

                  :::

                  Voici les trois codes suivants.

                  1 réponse Dernière réponse Répondre Citer 0
                  • PchomP Hors-ligne
                    Pchom
                    dernière édition par

                    D’accord ‘-’
                    Du coup, le problème, c’est l’item qui n’existe vraiment pas ou juste sa texture qui est en rose et noir ?

                    > *Si vous ne pouvez expliquer un concept à un enfant de six ans, c’est que vous ne le comprenez pas c…

                    1 réponse Dernière réponse Répondre Citer 0
                    • Yanis_Y Hors-ligne
                      Yanis_
                      dernière édition par

                      Non le problème c’est que le dossier ressource n’existe pas et ça vient du juif au début quand tu a fais lzs commandes dans la console se que je te conseille de faire c’est de créé un nouveau workspace et recommancer le mod de 0

                      1 réponse Dernière réponse Répondre Citer 0
                      • PchomP Hors-ligne
                        Pchom
                        dernière édition par

                        Oui, ça a une incidence. Tu dois modifier modid par ton modid. Je ne sais pas si le problème vient de là, mais ça sera déjà plus propre.

                        EDIT : Par contre, privilégie la fonction éditer, ne poste pas 3 messages de suite, merci.

                        > *Si vous ne pouvez expliquer un concept à un enfant de six ans, c’est que vous ne le comprenez pas c…

                        1 réponse Dernière réponse Répondre Citer 0
                        • N Hors-ligne
                          NiCoBt10
                          dernière édition par

                          Yeeesss merci beaucoup de vos aides a tous et vos temps de réponses si rapide ça fonctionne 😄

                          Merci encore, désolé du dérangement et bonne soirée !

                          c’était bien a cause de modid…

                          1 réponse Dernière réponse Répondre Citer 0
                          • PchomP Hors-ligne
                            Pchom
                            dernière édition par

                            Pas de problème, content d’avoir pu t’aider ^^
                            Bonne continuation dans le modding, et n’hésite pas de participer à la vie active du forum 😄

                            > *Si vous ne pouvez expliquer un concept à un enfant de six ans, c’est que vous ne le comprenez pas c…

                            1 réponse Dernière réponse Répondre Citer 1
                            • I Hors-ligne
                              IMINTH3R4D
                              dernière édition par

                              Probleme avec mc:

                              The game crashed whilst there was a severe problem during mod loading that has caused the game to fail
                              The game crashed whilst there was a severe problem during mod loading that has caused the game to fail
                              Error: cpw.mods.fml.common.LoaderException: java.lang.NoSuchMethodError: com.r4d.itariumclient.item.MagicStick1.setUnlocalizedName(Ljava/lang/String;)Lnet/minecraft/item/Item;
                              
                              1 réponse Dernière réponse Répondre Citer 0
                              • robin4002R Hors-ligne
                                robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                                dernière édition par

                                Salut,
                                Tu n’as pas compilé correctement ton mod.
                                Je t’invite à suivre ce tutoriel : https://www.minecraftforgefrance.fr/showthread.php?tid=2568

                                1 réponse Dernière réponse Répondre Citer 0
                                • I Hors-ligne
                                  IMINTH3R4D
                                  dernière édition par

                                  ok merci 😄

                                  1 réponse Dernière réponse Répondre Citer 0
                                  • W Hors-ligne
                                    wshZXNG @Fraiden
                                    dernière édition par

                                    Bonjour,
                                    Petit problème je n’ai pas de asset/textures dans mon srx/main/resources/
                                    Il n’y a que mcmod.info

                                    1 réponse Dernière réponse Répondre Citer 0
                                    • Superloup10S Hors-ligne
                                      Superloup10 Modérateurs
                                      dernière édition par

                                      C’est à toi de créer les dossiers en question.

                                      Si vous souhaitez me faire un don, il vous suffit de cliquer sur le bouton situé en dessous.

                                      Je suis un membre apprécié et joueur, j'ai déjà obtenu 17 points de réputation.

                                      W 1 réponse Dernière réponse Répondre Citer 0
                                      • W Hors-ligne
                                        wshZXNG @Superloup10
                                        dernière édition par

                                        @Superloup10 Okay mercii ^^

                                        1 réponse Dernière réponse Répondre Citer 0
                                        • L Hors-ligne
                                          Le_Vrai_GG
                                          dernière édition par

                                          La texture de l’item doit être soit quel format (16x16, 32x32,…) et à quel extension (. Png, . Jpg,…)?

                                          1 réponse Dernière réponse Répondre Citer 0
                                          • robin4002R Hors-ligne
                                            robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                                            dernière édition par

                                            .png uniquement.

                                            L 1 réponse Dernière réponse Répondre Citer 1
                                            • 1
                                            • 2
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 11 / 13
                                            • Premier message
                                              Dernier message
                                            Design by Woryk
                                            ContactMentions Légales

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB