MFF

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

    Comment appliquer un model custom à un item

    Planifier Épinglé Verrouillé Déplacé Résolu 1.8.x
    1.8
    27 Messages 3 Publieurs 4.7k Vues 1 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

      Logs ?

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

        Excuse moi pour cette réponse très tardive.
        Au début, en analisant les logs, j’ai vu que le domaine des textures étaient UT, sauf que je ne travaille aps sur UsefulThings mais sur galratech. Je pensais que l’erreur était çela, mais non

        [21:58:43] [main/INFO] [GradleStart]: Extra: []
        [21:58:43] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Eryah/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken, {REDACTED}, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
        [21:58:43] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
        [21:58:43] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
        [21:58:43] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
        [21:58:43] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
        [21:58:43] [main/INFO] [FML]: Forge Mod Loader version 8.99.8.1412 for Minecraft 1.8 loading
        [21:58:43] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre1.8.0_51
        [21:58:44] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
        [21:58:44] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
        [21:58:44] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
        [21:58:44] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
        [21:58:44] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
        [21:58:44] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
        [21:58:44] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
        [21:58:44] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
        [21:58:44] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
        [21:58:44] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
        [21:58:46] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
        [21:58:54] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
        [21:58:54] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
        [21:58:54] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
        [21:58:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
        [21:58:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
        [21:58:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
        [21:58:56] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
        [21:58:59] [Client thread/INFO]: Setting user: Player706
        [21:59:14] [Client thread/INFO]: LWJGL Version: 2.9.1
        [21:59:18] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:224]: –-- Minecraft Crash Report ----
        // But it works on my machine.
        
        Time: 04/08/15 21:59
        Description: Loading screen debug info
        
        java.lang.Throwable
        at net.minecraftforge.fml.client.SplashProgress.start(SplashProgress.java:223)
        at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:196)
        at net.minecraft.client.Minecraft.startGame(Minecraft.java:446)
        at net.minecraft.client.Minecraft.run(Minecraft.java:356)
        at net.minecraft.client.main.Main.main(Main.java:117)
        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 net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
        at GradleStart.main(Unknown Source)
        
        A detailed walkthrough of the error, its code path and all known details is as follows:
        ---------------------------------------------------------------------------------------
        
        -- System Details --
        Details:
        Minecraft Version: 1.8
        Operating System: Windows 8.1 (amd64) version 6.3
        Java Version: 1.8.0_51, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 948809800 bytes (904 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.2.12420 Compatibility Profile Context 13.151.0.0' Renderer: 'AMD Radeon HD 8240'
        [21:59:20] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
        [21:59:20] [Client thread/INFO] [FML]: MinecraftForge v11.14.1.1412 Initialized
        [21:59:20] [Client thread/INFO] [FML]: Replaced 204 ore recipies
        [21:59:20] [Client thread/INFO] [FML]: Preloading CrashReport classes
        [21:59:22] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
        [21:59:23] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
        [21:59:23] [Client thread/INFO] [FML]: Searching C:\Users\Eryah\Documents\Mods\1.8 GalraTech\eclipse\mods for mods
        [21:59:34] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
        [21:59:36] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, galratech] at CLIENT
        [21:59:36] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, galratech] at SERVER
        [21:59:38] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:GalraTech
        [21:59:39] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
        [21:59:39] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
        [21:59:39] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
        [21:59:40] [Client thread/INFO] [FML]: Applying holder lookups
        [21:59:40] [Client thread/INFO] [FML]: Holder lookups applied
        [21:59:41] [Sound Library Loader/INFO]: Starting up SoundSystem…
        [21:59:41] [Thread-9/INFO]: Initializing LWJGL OpenAL
        [21:59:41] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
        [21:59:42] [Thread-9/INFO]: OpenAL initialized.
        [21:59:42] [Sound Library Loader/INFO]: Sound engine started
        [22:00:19] [Client thread/INFO]: Created: 1024x512 textures-atlas
        [22:00:28] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
        [22:00:28] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:GalraTech
        [22:00:29] [Client thread/INFO]: SoundSystem shutting down…
        [22:00:29] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
        [22:00:29] [Sound Library Loader/INFO]: Starting up SoundSystem…
        [22:00:29] [Thread-11/INFO]: Initializing LWJGL OpenAL
        [22:00:29] [Thread-11/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
        [22:00:29] [Thread-11/INFO]: OpenAL initialized.
        [22:00:30] [Sound Library Loader/INFO]: Sound engine started
        [22:00:51] [Client thread/INFO]: Created: 1024x512 textures-atlas
        [22:00:53] [Client thread/ERROR]: ########## GL ERROR ##########
        [22:00:53] [Client thread/ERROR]: @ Post startup
        [22:00:53] [Client thread/ERROR]: 1286: Invalid framebuffer operation
        [22:01:05] [Server thread/INFO]: Starting integrated minecraft server version 1.8
        [22:01:05] [Server thread/INFO]: Generating keypair
        [22:01:05] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
        [22:01:06] [Server thread/INFO] [FML]: Applying holder lookups
        [22:01:06] [Server thread/INFO] [FML]: Holder lookups applied
        [22:01:06] [Server thread/INFO] [FML]: Loading dimension 0 (TESTEUH) (net.minecraft.server.integrated.IntegratedServer@6bf2dc6d)
        [22:01:06] [Server thread/INFO] [FML]: Loading dimension 1 (TESTEUH) (net.minecraft.server.integrated.IntegratedServer@6bf2dc6d)
        [22:01:07] [Server thread/INFO] [FML]: Loading dimension -1 (TESTEUH) (net.minecraft.server.integrated.IntegratedServer@6bf2dc6d)
        [22:01:07] [Server thread/INFO]: Preparing start region for level 0
        [22:01:08] [Server thread/INFO]: Preparing spawn area: 14%
        [22:01:09] [Server thread/INFO]: Preparing spawn area: 72%
        [22:01:11] [Server thread/INFO]: Changing view distance to 12, from 10
        [22:01:13] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2180ms behind, skipping 43 tick(s)
        [22:01:19] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
        [22:01:19] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
        [22:01:19] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : FML@8.99.8.1412,galratech@ALPHA 0.1,Forge@11.14.1.1412,mcp@9.05
        [22:01:19] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
        [22:01:19] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
        [22:01:19] [Server thread/INFO]: Player706[local:E:d2fefe3d] logged in with entity id 118 at (410.5, 4.0, 499.5)
        [22:01:19] [Server thread/INFO]: Player706 joined the game
        [22:01:22] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@143a4506[id=da6fa5b1-bd84-361d-8771-656d46818daa,name=Player706,properties={},legacy=false]
        com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
        at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) ~[YggdrasilAuthenticationService.class:?]
        at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:158) [YggdrasilMinecraftSessionService.class:?]
        at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:53) [YggdrasilMinecraftSessionService$1.class:?]
        at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:50) [YggdrasilMinecraftSessionService$1.class:?]
        at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]
        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]
        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]
        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]
        at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]
        at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]
        at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]
        at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]
        at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:148) [YggdrasilMinecraftSessionService.class:?]
        at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:138) [SkinManager$3.class:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_51]
        at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_51]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_51]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_51]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_51]
        [22:01:35] [Server thread/INFO]: Saving and pausing game…
        [22:01:35] [Server thread/INFO]: Saving chunks for level 'TESTEUH'/Overworld
        [22:01:36] [Server thread/INFO]: Saving chunks for level 'TESTEUH'/Nether
        [22:01:36] [Server thread/INFO]: Saving chunks for level 'TESTEUH'/The End
        [22:01:36] [Server thread/INFO]: Stopping server
        [22:01:36] [Server thread/INFO]: Saving players
        [22:01:36] [Server thread/INFO]: Saving worlds
        [22:01:36] [Server thread/INFO]: Saving chunks for level 'TESTEUH'/Overworld
        [22:01:37] [Server thread/INFO]: Saving chunks for level 'TESTEUH'/Nether
        [22:01:37] [Server thread/INFO]: Saving chunks for level 'TESTEUH'/The End
        [22:01:37] [Server thread/INFO] [FML]: Unloading dimension 0
        [22:01:37] [Server thread/INFO] [FML]: Unloading dimension -1
        [22:01:37] [Server thread/INFO] [FML]: Unloading dimension 1
        [22:01:37] [Server thread/INFO] [FML]: Applying holder lookups
        [22:01:37] [Server thread/INFO] [FML]: Holder lookups applied
        

        Membre fantôme
        Je développe maintenant un jeu sur UnrealEngine4


        Contact :…

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

          t’extends entitythrowable ?

          Oui ce gif est drôle.

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

            Pas du tout c’est un gant, donc un item simple ( Plus tard Arc ( Animation ))
            Et c’est même pas une entity, c’est un item Oo

            Membre fantôme
            Je développe maintenant un jeu sur UnrealEngine4


            Contact :…

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

              Bizarre , je laisse a robin s’en occuper perso je vois pas Oo

              Oui ce gif est drôle.

              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

                Rien dans les logs. Tu peux envoyer le json en question ?

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

                  Err, pas trop. Mon PC est éteint, et je suis couché. Demain je te l’envoie
                  (Je vais essayer de ne pas oublier)

                  Envoyé de mon SM-G357FZ en utilisant Tapatalk

                  Membre fantôme
                  Je développe maintenant un jeu sur UnrealEngine4


                  Contact :…

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

                    Voila le json ( verifié avec jsonlint, il est correct)

                    {
                    "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
                    "textures": {
                    "0": "galratech:blocks/Texture Finale",
                    "1": "galratech:blocks/Lentille"
                    },
                    "elements": [
                    {
                    "name": "Gant Bas",
                    "from": [ 5.0, 0.0, 4.0 ],
                    "to": [ 11.0, 1.0, 12.0 ],
                    "faces": {
                    "north": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
                    "east": { "texture": "#0", "uv": [ 0.0, 0.0, 9.0, 1.0 ] },
                    "south": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
                    "west": { "texture": "#0", "uv": [ 0.0, 0.0, 9.0, 1.0 ] },
                    "up": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 9.0 ] },
                    "down": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 9.0 ] }
                    }
                    },
                    {
                    "name": "Coté Gante",
                    "from": [ 5.0, 1.0, 4.0 ],
                    "to": [ 6.0, 5.0, 12.0 ],
                    "faces": {
                    "north": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                    "east": { "texture": "#0", "uv": [ 0.0, 0.0, 9.0, 4.0 ] },
                    "south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 4.0 ] },
                    "west": { "texture": "#0", "uv": [ 0.0, 0.0, 9.0, 4.0 ] },
                    "up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 9.0 ] },
                    "down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 9.0 ] }
                    }
                    },
                    {
                    "name": "Coté Gant 2",
                    "from": [ 10.0, 1.0, 4.0 ],
                    "to": [ 11.0, 5.0, 12.0 ],
                    "faces": {
                    "north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 4.0 ] },
                    "east": { "texture": "#0", "uv": [ 0.0, 0.0, 9.0, 4.0 ] },
                    "south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 4.0 ] },
                    "west": { "texture": "#0", "uv": [ 0.0, 0.0, 9.0, 4.0 ] },
                    "up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 9.0 ] },
                    "down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 9.0 ] }
                    }
                    },
                    {
                    "name": "Gant Haut",
                    "from": [ 5.0, 5.0, 4.0 ],
                    "to": [ 11.0, 6.0, 12.0 ],
                    "faces": {
                    "north": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
                    "east": { "texture": "#0", "uv": [ 0.0, 0.0, 9.0, 1.0 ] },
                    "south": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
                    "west": { "texture": "#0", "uv": [ 0.0, 0.0, 9.0, -5.0 ] },
                    "up": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 9.0 ] },
                    "down": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 9.0 ] }
                    }
                    },
                    {
                    "name": "Gant Facade",
                    "from": [ 5.0, 0.0, 3.0 ],
                    "to": [ 11.0, 6.0, 4.0 ],
                    "faces": {
                    "north": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] },
                    "east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 4.0 ] },
                    "south": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 4.0 ] },
                    "west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 4.0 ] },
                    "up": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 1.0 ] },
                    "down": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 1.0 ] }
                    }
                    },
                    {
                    "name": "Bas du canon principal",
                    "from": [ 6.0, 6.5, 4.0 ],
                    "to": [ 10.0, 7.0, 10.0 ],
                    "faces": {
                    "north": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 0.5 ] },
                    "east": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 0.5 ] },
                    "south": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 0.5 ] },
                    "west": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 0.5 ] },
                    "up": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 6.0 ] },
                    "down": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 6.0 ] }
                    }
                    },
                    {
                    "name": "Haut du canon principall",
                    "from": [ 6.5, 7.0, 4.0 ],
                    "to": [ 9.5, 7.5, 8.0 ],
                    "faces": {
                    "north": { "texture": "#0", "uv": [ 0.0, 0.0, 3.0, 0.5 ] },
                    "east": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 0.5 ] },
                    "south": { "texture": "#0", "uv": [ 0.0, 0.0, 3.0, 0.5 ] },
                    "west": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 0.5 ] },
                    "up": { "texture": "#0", "uv": [ 0.0, 0.0, 3.0, 4.0 ] },
                    "down": { "texture": "#0", "uv": [ 0.0, 0.0, 3.0, 4.0 ] }
                    }
                    },
                    {
                    "name": "Déco canon principal",
                    "from": [ 5.5, 5.5, 4.0 ],
                    "to": [ 10.5, 6.5, 11.0 ],
                    "faces": {
                    "north": { "texture": "#0", "uv": [ 0.0, 0.0, 5.0, 1.0 ] },
                    "east": { "texture": "#0", "uv": [ 0.0, 0.0, 7.0, 1.0 ] },
                    "south": { "texture": "#0", "uv": [ 0.0, 0.0, 5.0, 1.0 ] },
                    "west": { "texture": "#0", "uv": [ 0.0, 0.0, 7.0, 1.0 ] },
                    "up": { "texture": "#0", "uv": [ 0.0, 0.0, 5.0, 7.0 ] },
                    "down": { "texture": "#0", "uv": [ 0.0, 0.0, 5.0, 7.0 ] }
                    }
                    },
                    {
                    "name": "Lentille du canon principal",
                    "from": [ 7.0, 6.5, 3.9 ],
                    "to": [ 9.0, 7.2, 4.0 ],
                    "faces": {
                    "north": { "texture": "#1", "uv": [ 0.0, 0.0, 2.0, 0.7 ] },
                    "east": { "texture": "#1", "uv": [ 0.0, 0.0, 0.1, 0.7 ] },
                    "south": { "texture": "#1", "uv": [ 0.0, 0.0, 2.0, 0.7 ] },
                    "west": { "texture": "#1", "uv": [ 0.0, 0.0, 0.1, 0.7 ] },
                    "up": { "texture": "#1", "uv": [ 0.0, 0.0, 2.0, 0.1 ] },
                    "down": { "texture": "#1", "uv": [ 0.0, 0.0, 2.0, 0.1 ] }
                    }
                    },
                    {
                    "name": "Canon secondaire 1",
                    "from": [ 4.5, 2.0, 4.0 ],
                    "to": [ 5.5, 4.0, 10.0 ],
                    "faces": {
                    "north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
                    "east": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 2.0 ] },
                    "south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
                    "west": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 2.0 ] },
                    "up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 6.0 ] },
                    "down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 6.0 ] }
                    }
                    },
                    {
                    "name": "Canon secondaire 2",
                    "from": [ 10.5, 2.0, 4.0 ],
                    "to": [ 11.5, 4.0, 10.0 ],
                    "faces": {
                    "north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
                    "east": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 2.0 ] },
                    "south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
                    "west": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 2.0 ] },
                    "up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 6.0 ] },
                    "down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 6.0 ] }
                    }
                    },
                    {
                    "name": "Lentille du canon secondaire 1",
                    "from": [ 4.7, 2.5, 3.9000000000000004 ],
                    "to": [ 4.95, 3.5, 4.9 ],
                    "faces": {
                    "north": { "texture": "#1", "uv": [ 0.0, 0.0, 0.25, 1.0 ] },
                    "east": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                    "south": { "texture": "#1", "uv": [ 0.0, 0.0, 0.25, 1.0 ] },
                    "west": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                    "up": { "texture": "#1", "uv": [ 0.0, 0.0, 0.25, 1.0 ] },
                    "down": { "texture": "#1", "uv": [ 0.0, 0.0, 0.25, 1.0 ] }
                    }
                    },
                    {
                    "name": "Lentille du canon secondaire 2",
                    "from": [ 11.1, 2.5, 3.9000000000000004 ],
                    "to": [ 11.35, 3.5, 4.9 ],
                    "faces": {
                    "north": { "texture": "#1", "uv": [ 0.0, 0.0, 0.25, 1.0 ] },
                    "east": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                    "south": { "texture": "#1", "uv": [ 0.0, 0.0, 0.25, 1.0 ] },
                    "west": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                    "up": { "texture": "#1", "uv": [ 0.0, 0.0, 0.25, 1.0 ] },
                    "down": { "texture": "#1", "uv": [ 0.0, 0.0, 0.25, 1.0 ] }
                    }
                    }
                    ]
                    }
                    

                    Membre fantôme
                    Je développe maintenant un jeu sur UnrealEngine4


                    Contact :…

                    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

                      J’éviterai les espaces dans les noms de texture.
                      Après tu aura surement besoin d’ajouter “display” et des valeurs pour ajuster le modèle en main :
                      http://minecraft.gamepedia.com/Models#Item_models

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

                        Je verrais ça plus tard, car le problème est que le model ne s’affiche pas 😞
                        Le problème c’est les espaces ?

                        Membre fantôme
                        Je développe maintenant un jeu sur UnrealEngine4


                        Contact :…

                        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

                          Le modèle ne s’affiche pas du tout ? Il est peut être hors de l’écran, raison de plus pour tester d’ajouter les translations et les rotations.

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

                            Mais j’ai le cube moche, donc je pense qu’il n’est pas affiché juste

                            Membre fantôme
                            Je développe maintenant un jeu sur UnrealEngine4


                            Contact :…

                            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

                              Tu as mit la ligne avec l’item mesher dans ton code ?

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

                                Euuh non, c’est juste un item normal, init, registerRender, register, registerRenders quoi, rien de plus
                                après peut-etre que je ne sais aps ce que c’est ( Ce qui est le cas )

                                Membre fantôme
                                Je développe maintenant un jeu sur UnrealEngine4


                                Contact :…

                                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

                                  Envoies tout le code en rapport avec cette item.

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

                                    package eryah.galratech.items;
                                    
                                    import net.minecraft.client.Minecraft;
                                    import net.minecraft.client.resources.model.ModelResourceLocation;
                                    import net.minecraft.item.Item;
                                    import net.minecraftforge.fml.common.registry.GameRegistry;
                                    import eryah.galratech.GalraTechMod;
                                    import eryah.galratech.Reference;
                                    
                                    public class GalraTechGlove extends Item {
                                    
                                    public static Item galratech_glove;
                                    
                                    public static void init(){
                                    galratech_glove = new GalraTechGlove().setUnlocalizedName("galratech_glove").setCreativeTab(GalraTechMod.GalraTab);
                                    }
                                    
                                    public static void register()
                                    {
                                    GameRegistry.registerItem(galratech_glove, galratech_glove.getUnlocalizedName().substring(5));
                                    }
                                    
                                    public static void registerRenders()
                                    {
                                    registerRender(galratech_glove);
                                    }
                                    
                                    public static void registerRender(Item item)
                                    {
                                    Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Reference.MOD_ID + ":" + item.getUnlocalizedName().substring(5), "inventory"));
                                    }
                                    
                                    }
                                    
                                    

                                    MaiinClass

                                    package eryah.galratech;
                                    
                                    import net.minecraftforge.fml.common.Mod;
                                    import net.minecraftforge.fml.common.Mod.EventHandler;
                                    import net.minecraftforge.fml.common.SidedProxy;
                                    import net.minecraftforge.fml.common.event.FMLInitializationEvent;
                                    import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
                                    import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
                                    import eryah.galratech.items.GalraTechGlove;
                                    import eryah.galratech.proxy.CommonProxy;
                                    
                                    @Mod(modid = Reference.MOD_ID, name = Reference.MOD_NAME, version = Reference.VERSION)
                                    public class GalraTechMod {
                                    
                                    @SidedProxy(clientSide = Reference.CLIENT_PROXY_CLASS, serverSide = Reference.SERVER_PROXY_CLASS)
                                    public static CommonProxy proxy;
                                    
                                    public static final CreativeTab GalraTab = new CreativeTab("GalraTab");
                                    
                                    @Mod.Instance(Reference.MOD_ID)
                                    public static GalraTechMod instance;
                                    
                                    @EventHandler
                                    public void preInit(FMLPreInitializationEvent event)
                                    {
                                    GalraTechGlove.init();
                                    GalraTechGlove.register();
                                    }
                                    
                                    @EventHandler
                                    public void init(FMLInitializationEvent event)
                                    {
                                    
                                    }
                                    
                                    @EventHandler
                                    public void PostInit(FMLPostInitializationEvent event)
                                    {
                                    
                                    }
                                    
                                    }
                                    
                                    

                                    ClientProxy

                                    package eryah.galratech.proxy;
                                    
                                    import eryah.galratech.items.GalraTechGlove;
                                    
                                    public class ClientProxy extends CommonProxy {
                                    
                                    public ClientProxy() {
                                    
                                    }
                                    
                                    @Override
                                    public void registerRenders() {
                                    GalraTechGlove.registerRenders();
                                    }
                                    
                                    }
                                    
                                    

                                    De toute façon, il n’y a que 3 classes dans mon mod

                                    Membre fantôme
                                    Je développe maintenant un jeu sur UnrealEngine4


                                    Contact :…

                                    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

                                      Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Reference.MOD_ID + “:” + item.getUnlocalizedName().substring(5), “inventory”));
                                      La ligne y est, donc c’est pas ça.

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

                                        Et donc ? On peut pas régler le problème ?
                                        C’est foutu ?

                                        Membre fantôme
                                        Je développe maintenant un jeu sur UnrealEngine4


                                        Contact :…

                                        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

                                          Envoie un zip de ton mod, je vais regarder de mon côté.

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

                                            J’ai juste mis le dossier src, je vais pas mettre tous le dossier
                                            https://www.dropbox.com/s/qscsjvciq5peyts/Sources Du Mod Buggué d’Eryah%2C GalraMod.rar?dl=0

                                            EDIT : Je pense savoir d’ou vient ce p… ce problème, mais il est tard à la Réunion(01:10 la ou j’écris), je corrigerais le bug demain ( J’ai codé un autre item, et lui non plus n’a pas sa texture, ni son model ( Item normal hein))

                                            Membre fantôme
                                            Je développe maintenant un jeu sur UnrealEngine4


                                            Contact :…

                                            1 réponse Dernière réponse Répondre Citer 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • Premier message
                                              Dernier message
                                            Design by Woryk
                                            ContactMentions Légales

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB