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

    Résolu Problème de bloc une fois le mod obfuscate

    Anciennes versions
    1.6.4
    2
    7
    2211
    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.
    • Ama
      Ama dernière édition par

      Bonjour à tous !

      J’ai un problème suite à l’installation d’un mod que j’ai fait avec forge pre-gradlew
      problème, que je n’avais pas avec forge il n’a pas l’air de prendre en compte le material “iron”

      voiçi le crash report:

      :::

      –-- Minecraft Crash Report ----
      // Uh... Did I do that?
      
      Time: 14/08/14 18:14
      Description: There was a severe problem during mod loading that has caused the game to fail
      
      cpw.mods.fml.common.LoaderException: java.lang.NoSuchFieldError: iron
      at cpw.mods.fml.common.LoadController.transition(LoadController.java:156)
      at cpw.mods.fml.common.Loader.loadMods(Loader.java:523)
      at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183)
      at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:473)
      at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:808)
      at net.minecraft.client.main.Main.main(SourceFile:101)
      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:131)
      at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
      Caused by: java.lang.NoSuchFieldError: iron
      at viruz.zeamateis.management.BlockManagement.<init>(BlockManagement.java:88)
      at viruz.zeamateis.core.ViruZCore.PreInit(ViruZCore.java:97)
      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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:545)
      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
      at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
      at com.google.common.eventbus.EventBus.post(EventBus.java:267)
      at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201)
      at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
      at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
      at com.google.common.eventbus.EventBus.post(EventBus.java:267)
      at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112)
      at cpw.mods.fml.common.Loader.loadMods(Loader.java:522)
      ... 10 more
      
      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
      
      -- System Details --
      Details:
      Minecraft Version: 1.6.4
      Operating System: Windows 8.1 (amd64) version 6.3
      Java Version: 1.7.0_65, Oracle Corporation
      Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
      Memory: 119809432 bytes (114 MB) / 364380160 bytes (347 MB) up to 954728448 bytes (910 MB)
      JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
      AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
      Suspicious classes: FML and Forge are installed
      IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
      FML: MCP v8.11 FML v6.4.49.965 Minecraft Forge 9.11.1.965 Optifine OptiFine_1.6.4_HD_U_D1 20 mods loaded, 20 mods active
      mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
      FML{6.4.49.965} [Forge Mod Loader] (minecraftforge-9.11.1.965.jar) Unloaded->Constructed->Pre-initialized
      Forge{9.11.1.965} [Minecraft Forge] (minecraftforge-9.11.1.965.jar) Unloaded->Constructed->Pre-initialized
      AnimationAPI{1.1.1} [AnimationAPI] (AnimationAPI.zip) Unloaded->Constructed->Pre-initialized
      Backpack{1.18.17} [Backpack] (Backpack.zip) Unloaded->Constructed->Pre-initialized
      BetterGrassAndLeavesMod{1.6.4.D} [Better Grass & Leaves Mod] (BetterGrassAndLeavesMod.jar) Unloaded->Constructed->Pre-initialized
      BiblioCraft{1.5.5} [BiblioCraft] (BiblioCraft.zip) Unloaded->Constructed->Pre-initialized
      craftguide{1.5.2} [CraftGuide] (CraftGuide.zip) Unloaded->Constructed->Pre-initialized
      customnpcs{1.6.4} [CustomNpcs] (CustomNPC's.zip) Unloaded->Constructed->Pre-initialized
      FlansMod{4.1.1} [Flans Mod] (FlansMod.zip) Unloaded->Constructed->Pre-initialized
      cfm{3.2.7} [§4MrCrayfish's Furniture Mod] (Furniture'sMod.zip) Unloaded->Constructed->Pre-initialized
      Taigore_InventorySaver{3.5} [Inventory Saver] (InventorySaver.zip) Unloaded->Constructed->Pre-initialized
      JoypadSplitscreenMod{1.6.4-0.1} [Joypad / SplitScreen Mod] (JoypadMod.zip) Unloaded->Constructed->Pre-initialized
      pcl{2.1.0} [PCL] (LanternsLibs(PLC).jar) Unloaded->Constructed->Pre-initialized
      lanterns{1.1.0} [Lanterns] (Lanterns.jar) Unloaded->Constructed->Pre-initialized
      RDVehicleTools{v1.0} [RDVehicleTools] (PokeCycles.zip) Unloaded->Constructed->Pre-initialized
      PokeCycles{1.0.0.0} [PokeCycles] (PokeCycles.zip) Unloaded->Constructed->Pre-initialized
      RopesPlus{1.5.4} [Ropes+] (RopePlus.zip) Unloaded->Constructed->Pre-initialized
      ViruZ{3.0} [ViruZ] (ViruZ.zip) Unloaded->Constructed->Errored
      weaponmod{1.6.2 v1.13.6} [Balkon's WeaponMod] (WeaponMod.zip) Unloaded->Constructed->Pre-initialized
      

      :::

      Voiçi la classe du bloc et la ligne qui le défini

             mesh = (new BlockMesh(meshID, "viruz:mesh", "viruz:mesh", Material.iron, true)).setUnlocalizedName("mesh");
      
      

      :::

      package viruz.zeamateis.block.decoration;
      
      import net.minecraft.block.Block;
      import net.minecraft.block.BlockPane;
      import net.minecraft.block.material.Material;
      import viruz.zeamateis.core.ViruZCore;
      
      public class BlockMesh extends BlockPane {
      
      public BlockMesh(int par1, String par2Str, String par3Str, Material par4Material, boolean par5)
      {
      super(par1, par2Str, par3Str, par4Material, par5);
      
      setStepSound(Block.soundMetalFootstep);
             this.setCreativeTab(ViruZCore.Blocks);
      setBlockUnbreakable();
      }
      }
      

      :::

      Si vous trouvez d’où peut venir ce problème qui me dépasse car je comprend pas, je prend la solution !</init>

      Si je t'ai filé un coup de main n'oublie pas le + / -
      Par contre évite les demandes d'aides en MP, tu sera sympa'

      La JavaDoc c'est comme le PQ, ça sert à ce démerder tous seul. -Victor Hugo- 2017

      Une superbe API pour animer vos super modèles CraftStudio dans Minecraft !

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

        Tu compile comment ton mod ? Car visiblement il obfusque pas.

        1 réponse Dernière réponse Répondre Citer 0
        • Ama
          Ama dernière édition par

          bah je sais pas si c’est bon mais je fait “gradlew build”

          Si je t'ai filé un coup de main n'oublie pas le + / -
          Par contre évite les demandes d'aides en MP, tu sera sympa'

          La JavaDoc c'est comme le PQ, ça sert à ce démerder tous seul. -Victor Hugo- 2017

          Une superbe API pour animer vos super modèles CraftStudio dans Minecraft !

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

            Tu as prit où le fichier jar ?

            1 réponse Dernière réponse Répondre Citer 0
            • Ama
              Ama dernière édition par

              c’est pas en jar, j’ai pris le dossier de mon mod dans le dossier build->classes

              C’est pas bon ?

              Si je t'ai filé un coup de main n'oublie pas le + / -
              Par contre évite les demandes d'aides en MP, tu sera sympa'

              La JavaDoc c'est comme le PQ, ça sert à ce démerder tous seul. -Victor Hugo- 2017

              Une superbe API pour animer vos super modèles CraftStudio dans Minecraft !

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

                Non, pas bon.
                Va dans le dossier build/libs/ il y a directement le jar du mod.

                1 réponse Dernière réponse Répondre Citer 0
                • Ama
                  Ama dernière édition par

                  Ah ok bah je vais voir ça

                  Si je t'ai filé un coup de main n'oublie pas le + / -
                  Par contre évite les demandes d'aides en MP, tu sera sympa'

                  La JavaDoc c'est comme le PQ, ça sert à ce démerder tous seul. -Victor Hugo- 2017

                  Une superbe API pour animer vos super modèles CraftStudio dans Minecraft !

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

                  MINECRAFT FORGE FRANCE © 2018

                  Powered by NodeBB