MFF

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

    Obfuscated mod sur eclipse ?

    Planifier Épinglé Verrouillé Déplacé Sans suite
    1.12.x
    11 Messages 4 Publieurs 1.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.
    • DeletedD Hors-ligne
      Deleted
      dernière édition par

      Salut, tu peux le faire tourner en l’ajoutant dans ton dossier run/mods, ou en l’ajoutant à ton classpath (via eclipse ou via le dossier libs à la racine de ta workspace + gradlew setupDecompWorkspace eclipse), mais l’ajouter avec ses sources à côté des tiennes, impossible, à moins de décompiler, mais tu dois probablement connaître les restrictions à ce niveau là 😉

      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

        Il faut mettre le fichier en temps que dépendance gradle du type deobfCompile

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

          @robin4002 je sais mais je y arrive pas 😕

          Mes Sites(Mes Sites)
          |
          |    Site général : Game & play
          |   Site de projets (en dev !) :Infinite's Ressources
          J'ai et je suis content d'avoir 16,75 points d'ICRating

          1 réponse Dernière réponse Répondre Citer 0
          • ? Hors-ligne
            Un Ancien Utilisateur
            dernière édition par

            moi je créer un dossier “libs” dans le dossier de mon mod puis je met le .jar voulu dedans et ensuite je l’ajoute en buildpath

            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

              CurseForge utilise un repo sous la forme ivy.
              On peut trouver le chemin du repo en regardant l’url du fichier qu’on télécharge.

              repositories {
                 ivy {
                     name "Chisel"
                     artifactPattern "https://addons-origin.cursecdn.com/files/2465/85/[module]-[revision].[ext]"
                 }
              }
              
              dependencies {
              deobfCompile group: 'team.chisel', name: 'Chisel', version: 'MC1.12-0.0.13.16', ext: 'jar'
              }
              
              1 réponse Dernière réponse Répondre Citer 0
              • InfiniteI Hors-ligne
                Infinite
                dernière édition par

                Mais ça va pas poser problème que j’aie l’api chisel ajoutée a mon build path?
                Les classes de l’api qui sont dans le mod également vont pas créer une confusion ?

                Mes Sites(Mes Sites)
                |
                |    Site général : Game & play
                |   Site de projets (en dev !) :Infinite's Ressources
                J'ai et je suis content d'avoir 16,75 points d'ICRating

                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

                  Essaies, tu verra bien.

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

                    Ca crash:

                    –-- Minecraft Crash Report ----
                    // I feel sad now :(
                    
                    Time: 8/30/17 3:30 PM
                    Description: Initializing game
                    
                    java.lang.NoSuchMethodError: team.chisel.client.ClientProxy.preInit_impl()V
                    at team.chisel.client.ClientProxy.registerModels(ClientProxy.java:63)
                    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_10_ClientProxy_registerModels_ModelRegistryEvent.invoke(.dynamic)
                    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
                    at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:143)
                    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179)
                    at net.minecraftforge.fml.client.FMLClientHandler.fireSidedRegistryEvents(FMLClientHandler.java:1083)
                    at net.minecraftforge.fml.common.FMLCommonHandler.fireSidedRegistryEvents(FMLCommonHandler.java:757)
                    at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:606)
                    at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:266)
                    at net.minecraft.client.Minecraft.init(Minecraft.java:508)
                    at net.minecraft.client.Minecraft.run(Minecraft.java:416)
                    at net.minecraft.client.main.Main.main(Main.java:118)
                    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 --
                    Thread: Client thread
                    Stacktrace:
                    at team.chisel.client.ClientProxy.registerModels(ClientProxy.java:63)
                    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_10_ClientProxy_registerModels_ModelRegistryEvent.invoke(.dynamic)
                    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
                    at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:143)
                    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179)
                    at net.minecraftforge.fml.client.FMLClientHandler.fireSidedRegistryEvents(FMLClientHandler.java:1083)
                    at net.minecraftforge.fml.common.FMLCommonHandler.fireSidedRegistryEvents(FMLCommonHandler.java:757)
                    at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:606)
                    at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:266)
                    at net.minecraft.client.Minecraft.init(Minecraft.java:508)
                    
                    -- Initialization --
                    Details:
                    Stacktrace:
                    at net.minecraft.client.Minecraft.run(Minecraft.java:416)
                    at net.minecraft.client.main.Main.main(Main.java:118)
                    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.12
                    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: 808623264 bytes (771 MB) / 1038876672 bytes (990 MB) up to 2112618496 bytes (2014 MB)
                    JVM Flags: 3 total; -Xincgc -Xmx2048M -Xms1024M
                    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
                    FML: MCP 9.40 Powered by Forge 14.21.1.2443 6 mods loaded, 6 mods active
                    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
                    UCH minecraft{1.12} [Minecraft] (minecraft.jar)
                    UCH mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
                    UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.12-14.21.1.2443.jar)
                    UCH forge{14.21.1.2443} [Minecraft Forge] (forgeSrc-1.12-14.21.1.2443.jar)
                    UCH chiselplus{0.01} [Chisel +] (bin)
                    UCH chisel{MC1.12-0.0.13.16} [Chisel] (Chisel-MC1.12-0.0.13.16.jar)
                    Loaded coremods (and transformers):
                    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 384.94' Renderer: 'GeForce 840M/PCIe/SSE2'
                    Launched Version: 1.12
                    LWJGL: 2.9.4
                    OpenGL: GeForce 840M/PCIe/SSE2 GL version 4.5.0 NVIDIA 384.94, NVIDIA Corporation
                    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: Yes
                    Is Modded: Definitely; Client brand changed to 'fml,forge'
                    Type: Client (map_client.txt)
                    Resource Packs:
                    Current Language: Français (France)
                    Profiler Position: N/A (disabled)
                    CPU: 4x Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz
                    

                    Mes Sites(Mes Sites)
                    |
                    |    Site général : Game & play
                    |   Site de projets (en dev !) :Infinite's Ressources
                    J'ai et je suis content d'avoir 16,75 points d'ICRating

                    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

                      Étrange, une fonction semble manquante, aucun rapport avec l’api par contre.

                      Je ne sais pas quoi faire pour corriger ça 😕

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

                        Pas grave.
                        ( le truc le plus grave pour moi en ce moment est que mon mod qui est scencé être un add-on de chisel, fait crash chisel 😕 )

                        Mes Sites(Mes Sites)
                        |
                        |    Site général : Game & play
                        |   Site de projets (en dev !) :Infinite's Ressources
                        J'ai et je suis content d'avoir 16,75 points d'ICRating

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

                        MINECRAFT FORGE FRANCE © 2024

                        Powered by NodeBB