Probleme avec "RecompileMc" lors de l'instalation de forge



  • Je suis en train d'installer Forge afin de commencer a modder Minecraft, c'est la premiere fois que je fais cette Installation.
    Pour m'aider, j'ai suivi ce tuto la : https://www.minecraftforgefrance.fr/showthread.php?tid=2805

    Mon probleme vient lors de l'utilisation de la commande : "gradlew -Dorg.gradle.jvmargs=-Xmx2048M setupDecompWorkspace "

    voici donc ce qui s'affiche sur le fichier de commande  :

    Le Normal :


    Patch succeeded: net/minecraft/world/gen/ChunkProviderServer.java
    Patch succeeded: net/minecraft/world/gen/MapGenCaves.java
    Patch succeeded: net/minecraft/world/gen/MapGenRavine.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenAbstractTree.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenBigMushroom.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenBigTree.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenBirchTree.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenBush.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenCanopyTree.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenDeadBush.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenDungeons.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenGlowStone1.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenGlowStone2.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenHellLava.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenHugeTrees.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenIceSpike.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenLiquids.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenMegaJungle.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenMegaPineTree.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenMinable.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenSavannaTree.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenShrub.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenSwamp.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenTaiga1.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenTaiga2.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenTallGrass.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGenTrees.java
    Patch succeeded: net/minecraft/world/gen/feature/WorldGeneratorBonusChest.java
    Patch succeeded: net/minecraft/world/gen/layer/GenLayer.java
    Patch succeeded: net/minecraft/world/gen/layer/GenLayerBiome.java
    Patch succeeded: net/minecraft/world/gen/structure/MapGenStronghold.java
    Patch succeeded: net/minecraft/world/gen/structure/MapGenStructure.java
    Patch succeeded: net/minecraft/world/gen/structure/StructureComponent.java
    Patch succeeded: net/minecraft/world/gen/structure/StructureStart.java
    Patch succeeded: net/minecraft/world/gen/structure/StructureVillagePieces.java
    Patch succeeded: net/minecraft/world/storage/MapData.java
    Patch succeeded: net/minecraft/world/storage/SaveFormatOld.java
    Patch succeeded: net/minecraft/world/storage/SaveHandler.java
    Patch succeeded: net/minecraft/world/storage/WorldInfo.java
    Patch succeeded: net/minecraft/world/storage/loot/LootContext.java
    Patch succeeded: net/minecraft/world/storage/loot/LootEntry.java
    Patch succeeded: net/minecraft/world/storage/loot/LootEntryEmpty.java
    Patch succeeded: net/minecraft/world/storage/loot/LootEntryItem.java
    Patch succeeded: net/minecraft/world/storage/loot/LootEntryTable.java
    Patch succeeded: net/minecraft/world/storage/loot/LootPool.java
    Patch succeeded: net/minecraft/world/storage/loot/LootTable.java
    Patch succeeded: net/minecraft/world/storage/loot/LootTableManager.java
    Patch succeeded: net/minecraft/world/storage/loot/conditions/LootConditionManage
    r.java
    :applySourcePatches (Thread[main,5,main]) completed. Took 3.544 secs.
    :remapMcSources (Thread[main,5,main]) started.
    :remapMcSources
    Skipping task ':remapMcSources' as task onlyIf is false.
    :remapMcSources SKIPPED
    :remapMcSources (Thread[main,5,main]) completed. Took 0.631 secs.
    :recompileMc (Thread[main,5,main]) started.
    :recompileMc
    No output file found.
    Executing task ':recompileMc' (up-to-date check took 0.001 secs) due to:
      No history is available.
    [ant:javac] Compiling 2556 source files to D:\Document\MinecrftForgeMod\build\tm
    p\recompileMc\compiled
    [ant:javac] warning: [options] bootstrap class path not set in conjunction with
    -source 1.6
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\world\biome\Biome.java:390: error: variable biome is already defined in met
    hod getBiomeFromBiomeList(int,Biome)
    [ant:javac]         Biome biome = func_185357_a(biomeId);
    [ant:javac]               ^
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:391: error: variable sound is already define
    d in method playSound(ISound)
    [ant:javac]                     Sound sound = sound.func_184364_b();
    [ant:javac]                           ^
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:391: error: cannot find symbol
    [ant:javac]                     Sound sound = sound.func_184364_b();
    [ant:javac]                                        ^
    [ant:javac]   symbol:   method func_184364_b()
    [ant:javac]   location: variable sound of type Sound
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:402: error: cannot find symbol
    [ant:javac]                         float f3 = sound.getVolume();
    [ant:javac]                                         ^
    [ant:javac]   symbol:   method getVolume()
    [ant:javac]   location: variable sound of type Sound
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:410: error: cannot find symbol
    [ant:javac]                         SoundCategory soundcategory = sound.func_184
    365_d();
    [ant:javac]                                                            ^
    [ant:javac]   symbol:   method func_184365_d()
    [ant:javac]   location: variable sound of type Sound
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:411: error: incompatible types: Sound cannot
     be converted to ISound
    [ant:javac]                         float f1 = this.func_188770_e(sound);
    [ant:javac]                                                       ^
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:412: error: incompatible types: Sound cannot
     be converted to ISound
    [ant:javac]                         float f2 = this.func_188772_d(sound);
    [ant:javac]                                                       ^
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:420: error: cannot find symbol
    [ant:javac]                             boolean flag = sound.canRepeat() && soun
    d.getRepeatDelay() == 0;
    [ant:javac]                                                 ^
    [ant:javac]   symbol:   method canRepeat()
    [ant:javac]   location: variable sound of type Sound
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:420: error: cannot find symbol
    [ant:javac]                             boolean flag = sound.canRepeat() && soun
    d.getRepeatDelay() == 0;
    [ant:javac]
     ^
    [ant:javac]   symbol:   method getRepeatDelay()
    [ant:javac]   location: variable sound of type Sound
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:426: error: cannot find symbol
    [ant:javac]                                 this.sndSystem.newStreamingSource(fa
    lse, s, getURLForSoundResource(resourcelocation1), resourcelocation1.toString(),
     flag, sound.getXPosF(), sound.getYPosF(), sound.getZPosF(), sound.getAttenuatio
    nType().getTypeInt(), f);
    [ant:javac]

    ^
    [ant:javac]   symbol:   method getXPosF()
    [ant:javac]   location: variable sound of type Sound
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:426: error: cannot find symbol
    [ant:javac]                                 this.sndSystem.newStreamingSource(fa
    lse, s, getURLForSoundResource(resourcelocation1), resourcelocation1.toString(),
     flag, sound.getXPosF(), sound.getYPosF(), sound.getZPosF(), sound.getAttenuatio
    nType().getTypeInt(), f);
    [ant:javac]

    ^
    [ant:javac]   symbol:   method getYPosF()
    [ant:javac]   location: variable sound of type Sound
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:426: error: cannot find symbol
    [ant:javac]                                 this.sndSystem.newStreamingSource(fa
    lse, s, getURLForSoundResource(resourcelocation1), resourcelocation1.toString(),
     flag, sound.getXPosF(), sound.getYPosF(), sound.getZPosF(), sound.getAttenuatio
    nType().getTypeInt(), f);
    [ant:javac]

    ^
    [ant:javac]   symbol:   method getZPosF()
    [ant:javac]   location: variable sound of type Sound
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:426: error: cannot find symbol
    [ant:javac]                                 this.sndSystem.newStreamingSource(fa
    lse, s, getURLForSoundResource(resourcelocation1), resourcelocation1.toString(),
     flag, sound.getXPosF(), sound.getYPosF(), sound.getZPosF(), sound.getAttenuatio
    nType().getTypeInt(), f);
    [ant:javac]

    ^
    [ant:javac]   symbol:   method getAttenuationType()
    [ant:javac]   location: variable sound of type Sound
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:427: error: incompatible types: Sound cannot
     be converted to ISound
    [ant:javac]                                 net.minecraftforge.common.MinecraftF
    orge.EVENT_BUS.post(new net.minecraftforge.client.event.sound.PlayStreamingSourc
    eEvent(this, sound, s));
    [ant:javac]

    ^
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:431: error: cannot find symbol
    [ant:javac]                                 this.sndSystem.newSource(false, s, g
    etURLForSoundResource(resourcelocation1), resourcelocation1.toString(), flag, so
    und.getXPosF(), sound.getYPosF(), sound.getZPosF(), sound.getAttenuationType().g
    etTypeInt(), f);
    [ant:javac]

    ^
    [ant:javac]   symbol:   method getXPosF()
    [ant:javac]   location: variable sound of type Sound
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:431: error: cannot find symbol
    [ant:javac]                                 this.sndSystem.newSource(false, s, g
    etURLForSoundResource(resourcelocation1), resourcelocation1.toString(), flag, so
    und.getXPosF(), sound.getYPosF(), sound.getZPosF(), sound.getAttenuationType().g
    etTypeInt(), f);
    [ant:javac]

    ^
    [ant:javac]   symbol:   method getYPosF()
    [ant:javac]   location: variable sound of type Sound
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:431: error: cannot find symbol
    [ant:javac]                                 this.sndSystem.newSource(false, s, g
    etURLForSoundResource(resourcelocation1), resourcelocation1.toString(), flag, so
    und.getXPosF(), sound.getYPosF(), sound.getZPosF(), sound.getAttenuationType().g
    etTypeInt(), f);
    [ant:javac]

    ^
    [ant:javac]   symbol:   method getZPosF()
    [ant:javac]   location: variable sound of type Sound
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:431: error: cannot find symbol
    [ant:javac]                                 this.sndSystem.newSource(false, s, g
    etURLForSoundResource(resourcelocation1), resourcelocation1.toString(), flag, so
    und.getXPosF(), sound.getYPosF(), sound.getZPosF(), sound.getAttenuationType().g
    etTypeInt(), f);
    [ant:javac]

    ^
    [ant:javac]   symbol:   method getAttenuationType()
    [ant:javac]   location: variable sound of type Sound
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:432: error: incompatible types: Sound cannot
     be converted to ISound
    [ant:javac]                                 net.minecraftforge.common.MinecraftF
    orge.EVENT_BUS.post(new net.minecraftforge.client.event.sound.PlaySoundSourceEve
    nt(this, sound, s));
    [ant:javac]

    ^
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\client\audio\SoundManager.java:440: error: incompatible types: Sound cannot
     be converted to ISound
    [ant:javac]                             this.playingSounds.put(s, sound);
    [ant:javac]                                                       ^
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\item\ItemShears.java:42: error: variable block is already defined in method
     getStrVsBlock(ItemStack,IBlockState)
    [ant:javac]         Block block = block.getBlock();
    [ant:javac]               ^
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\item\ItemShears.java:42: error: cannot find symbol
    [ant:javac]         Block block = block.getBlock();
    [ant:javac]                            ^
    [ant:javac]   symbol:   method getBlock()
    [ant:javac]   location: variable block of type Block
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\item\ItemShears.java:43: error: cannot find symbol
    [ant:javac]         return block != Blocks.web && block.func_185904_a() != Mater
    ial.leaves ? (block == Blocks.wool ? 5.0F : super.getStrVsBlock(stack, block)) :
     15.0F;
    [ant:javac]                                            ^
    [ant:javac]   symbol:   method func_185904_a()
    [ant:javac]   location: variable block of type Block
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\item\ItemShears.java:43: error: incompatible types: Block cannot be convert
    ed to IBlockState
    [ant:javac]         return block != Blocks.web && block.func_185904_a() != Mater
    ial.leaves ? (block == Blocks.wool ? 5.0F : super.getStrVsBlock(stack, block)) :
     15.0F;
    [ant:javac]
                                                                           ^
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\item\ItemSword.java:42: error: variable block is already defined in method
    getStrVsBlock(ItemStack,IBlockState)
    [ant:javac]         Block block = block.getBlock();
    [ant:javac]               ^
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\item\ItemSword.java:42: error: cannot find symbol
    [ant:javac]         Block block = block.getBlock();
    [ant:javac]                            ^
    [ant:javac]   symbol:   method getBlock()
    [ant:javac]   location: variable block of type Block
    [ant:javac] D:\Document\MinecrftForgeMod\build\tmp\recompileMc\sources\net\minec
    raft\item\ItemSword.java:50: error: cannot find symbol
    [ant:javac]             Material material = block.func_185904_a();
    [ant:javac]                                      ^
    [ant:javac]   symbol:   method func_185904_a()
    [ant:javac]   location: variable block of type Block
    [ant:javac] Note: Some input files use or override a deprecated API.
    [ant:javac] Note: Recompile with -Xlint:deprecation for details.
    [ant:javac] Note: Some input files use unchecked or unsafe operations.
    [ant:javac] Note: Recompile with -Xlint:unchecked for details.
    [ant:javac] Note: Some messages have been simplified; recompile with -Xdiags:ver
    bose to get full output
    [ant:javac] 27 errors
    [ant:javac] 1 warning
    :recompileMc FAILED
    :recompileMc (Thread[main,5,main]) completed. Took 17.005 secs.

    FAILURE: Build failed with an exception.

    • What went wrong:
      Execution failed for task ':recompileMc'.

    Avec --debug

    Je vous remercie d'avance pour les conseil que vous pouvez me donner afin de m'aider a résoudre ce problème.


  • Administrateurs

    Bonsoir,

    Visiblement les mappings que tu as indiqués ne sont pas conçu pour ta version de minecraft :
    This mapping 'snapshot_20160130' was designed for MC 1.8.9! Use at your own peril.

    Ce qui explique surement ton problème.
    Tu peux trouver des mappings correspondant à ta version de minecraft sur ce site : http://export.mcpbot.bspk.rs/



  • Merci beaucoup,c'etait effectivement le probleme