• Récent
  • Mots-clés
  • Populaire
  • Utilisateurs
  • Groupes
  • S'inscrire
  • Se connecter
  • S'inscrire
  • Se connecter
  • Recherche
  • Récent
  • Mots-clés
  • Populaire
  • Utilisateurs
  • Groupes

Créer un item simple

Les items
1.8.x
20
145
31.0k
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.
  • Pchom
    Pchom dernière édition par 23 mars 2017, 18:06

    import net.minecraftforge.fml.relauncher.Side;

    C’est bien ça ton import ?

    > *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
    • D
      Devrok dernière édition par 15 nov. 2017, 18:43

      Bonsoir,

      Est-ce qu’il y a un tuto pour minecraft 1.12 ?

      Je demande ça car je débute et j’ai une erreur qui vient probablement du changement de la classe GameRegistry.
      La méthode à surement changée un petit peu :s

      L’erreur vient de la méthode GameRegistry.registerItem :

      Merci encore pour ces tutos 🙂

      1 réponse Dernière réponse Répondre Citer 0
      • robin4002
        robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par robin4002 21 juin 2018, 15:26 15 nov. 2017, 19:29

        https://www.minecraftforgefrance.fr/topic/4095/créer-un-item-simple

        1 réponse Dernière réponse Répondre Citer 0
        • JustAnDev
          JustAnDev dernière édition par JustAnDev 7 avr. 2019, 09:25 7 avr. 2019, 09:24

          Ce message a été supprimé !
          1 réponse Dernière réponse Répondre Citer 0
          • JustAnDev
            JustAnDev dernière édition par 7 avr. 2019, 12:40

            2019-04-07 14:34:55,217 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
            2019-04-07 14:34:55,222 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
            [14:34:55] [main/INFO] [GradleStart]: Extra: []
            [14:34:55] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/hyde etienne aaron/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8.9, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
            [14:34:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
            [14:34:56] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
            [14:34:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
            [14:34:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
            [14:34:56] [main/INFO] [FML]: Forge Mod Loader version 11.15.1.1722 for Minecraft 1.8.9 loading
            [14:34:56] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_201, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_201
            [14:34:56] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
            [14:34:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
            [14:34:56] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
            [14:34:56] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
            [14:34:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
            [14:34:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
            [14:34:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
            [14:34:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
            [14:34:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
            [14:34:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
            [14:34:57] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
            [14:35:05] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
            [14:35:05] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
            [14:35:05] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
            [14:35:09] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
            [14:35:10] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
            [14:35:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
            [14:35:10] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
            2019-04-07 14:35:15,772 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
            2019-04-07 14:35:16,883 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
            2019-04-07 14:35:16,923 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
            [14:35:19] [Client thread/INFO]: Setting user: Player899
            [14:35:37] [Client thread/INFO]: LWJGL Version: 2.9.4
            [14:35:41] [Client thread/WARN] [FML]: =============================================================
            [14:35:41] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
            [14:35:41] [Client thread/WARN] [FML]: Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V
            [14:35:41] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead
            [14:35:41] [Client thread/WARN] [FML]: =============================================================
            [14:35:42] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: ---- Minecraft Crash Report ----
            // I just don't know what went wrong :(
            Time: 07/04/19 14:35
            Description: Loading screen debug info
            This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
            A detailed walkthrough of the error, its code path and all known details is as follows:
            ---------------------------------------------------------------------------------------
            -- System Details --
            Details:
            Minecraft Version: 1.8.9
            Operating System: Windows 10 (amd64) version 10.0
            Java Version: 1.8.0_201, Oracle Corporation
            Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
            Memory: 873416464 bytes (832 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
            JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
            IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
            FML:
            Loaded coremods (and transformers):
            GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13467 Compatibility Profile Context 21.19.414.1280' Renderer: 'AMD Radeon(TM) R4 Graphics'
            [14:35:44] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1722 Initialized
            [14:35:45] [Client thread/INFO] [FML]: Replaced 204 ore recipies
            [14:35:46] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
            [14:35:46] [Client thread/INFO] [FML]: Searching C:\Users\hyde etienne aaron\Desktop\forge-1.8.9-11.15.1.1722-mdk\run\mods for mods
            [14:35:51] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
            [14:35:52] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, modaichmod] at CLIENT
            [14:35:52] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, modaichmod] at SERVER
            [14:35:54] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Daich's Mod For 1.7.10
            [14:35:55] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
            [14:35:55] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
            [14:35:55] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
            [14:35:55] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
            [14:35:55] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
            [14:35:56] [Client thread/INFO] [STDOUT]: [com.google.modaichmod.DaichClient:preInit:12]: pre init côté client
            [14:35:56] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
            [14:35:56] [Client thread/INFO] [FML]: Applying holder lookups
            [14:35:56] [Client thread/INFO] [FML]: Holder lookups applied
            [14:35:56] [Client thread/INFO] [FML]: Injecting itemstacks
            [14:35:56] [Client thread/INFO] [FML]: Itemstack injection complete
            [14:35:57] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null
            [14:35:57] [Sound Library Loader/INFO]: Starting up SoundSystem...
            [14:35:57] [Thread-9/INFO]: Initializing LWJGL OpenAL
            [14:35:57] [Thread-9/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
            [14:35:59] [Thread-9/INFO]: OpenAL initialized.
            [14:35:59] [Sound Library Loader/INFO]: Sound engine started
            [14:36:53] [Client thread/INFO] [FML]: Max texture size: 16384
            [14:36:53] [Client thread/INFO]: Created: 16x16 textures-atlas
            [14:36:55] [Client thread/ERROR] [FML]: Exception loading model for variant modaichmod:blueingot#inventory
            java.lang.Exception: Could not load model definition for variant modaichmod:blueingot#inventory
            at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:219) ~[ModelLoader.class:?]
            at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:256) ~[ModelLoader.class:?]
            at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:120) ~[ModelLoader.class:?]
            at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
            at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:120) [SimpleReloadableResourceManager.class:?]
            at net.minecraft.client.Minecraft.startGame(Minecraft.java:515) [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_201]
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201]
            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_201]
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201]
            at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
            at GradleStart.main(GradleStart.java:26) [start/:?]
            Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model modaichmod:blockstates/blueingot.json
            at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
            at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
            ... 19 more
            Caused by: java.io.FileNotFoundException: modaichmod:blockstates/blueingot.json
            at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?]
            at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[SimpleReloadableResourceManager.class:?]
            at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
            at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
            ... 19 more
            [14:36:55] [Client thread/ERROR] [FML]: Model definition for location modaichmod:blueingot#inventory not found
            [14:36:58] [Client thread/INFO] [FML]: Injecting itemstacks
            [14:36:58] [Client thread/INFO] [FML]: Itemstack injection complete
            [14:36:59] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
            [14:36:59] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Daich's Mod For 1.7.10
            [14:36:59] [Client thread/INFO]: SoundSystem shutting down...
            [14:36:59] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
            [14:36:59] [Sound Library Loader/INFO]: Starting up SoundSystem...
            [14:37:00] [Thread-11/INFO]: Initializing LWJGL OpenAL
            [14:37:00] [Thread-11/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
            [14:37:04] [Thread-11/INFO]: OpenAL initialized.
            [14:37:04] [Sound Library Loader/INFO]: Sound engine started
            [14:37:30] [Client thread/INFO] [FML]: Max texture size: 16384
            [14:37:35] [Client thread/INFO]: Created: 512x512 textures-atlas
            [14:37:38] [Client thread/ERROR] [FML]: Exception loading model for variant modaichmod:blueingot#inventory
            java.lang.Exception: Could not load model definition for variant modaichmod:blueingot#inventory
            at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:219) ~[ModelLoader.class:?]
            at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:256) ~[ModelLoader.class:?]
            at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:120) ~[ModelLoader.class:?]
            at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
            at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:130) [SimpleReloadableResourceManager.class:?]
            at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [SimpleReloadableResourceManager.class:?]
            at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:772) [Minecraft.class:?]
            at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:326) [FMLClientHandler.class:?]
            at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [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_201]
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201]
            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_201]
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201]
            at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
            at GradleStart.main(GradleStart.java:26) [start/:?]
            Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model modaichmod:blockstates/blueingot.json
            at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
            at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
            ... 22 more
            Caused by: java.io.FileNotFoundException: modaichmod:blockstates/blueingot.json
            at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?]
            at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[SimpleReloadableResourceManager.class:?]
            at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
            at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
            ... 22 more
            [14:37:38] [Client thread/ERROR] [FML]: Model definition for location modaichmod:blueingot#inventory not found

            voila ma texture n’est pas chargé

            1 réponse Dernière réponse Répondre Citer 0
            • Référencé par  robin4002 robin4002 29 nov. 2021, 01:52
            • Référencé par  Eryah Eryah 29 nov. 2021, 01:56
            • Référencé par  robin4002 robin4002 29 nov. 2021, 02:04
            • Référencé par  robin4002 robin4002 29 nov. 2021, 02:07
            • 1
            • 2
            • 3
            • 4
            • 5
            • 6
            • 7
            • 8
            • 8 / 8
            143 sur 145
            • Premier message
              143/145
              Dernier message
            Design by Woryk
            Contact / Mentions Légales

            MINECRAFT FORGE FRANCE © 2018

            Powered by NodeBB