Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hi guys I am having and issue with the command 'gradew setupDecompWorkspace'

 

I have tried this on multiple computers, PC and Mac, and I am still getting the same issue. I have no idea why either. Any help would be appreciated.

 

 

 

 

****************************

Powered By MCP:           

http://mcp.ocean-labs.de/ 

Searge, ProfMobius, Fesh0r,

R4wk, ZeuX, IngisKahn     

MCP Data version : unknown

****************************

:extractUserDev

:getAssetsIndex

:getAssets

:copyAssets

:extractNatives

:genSrgs UP-TO-DATE

:downloadMcpTools UP-TO-DATE

:downloadClient SKIPPED

:downloadServer SKIPPED

:mergeJars SKIPPED

:deobfuscateJar

Applying SpecialSource...

Applying Exceptor...

Injecting source info...

:decompile

:doFmlPatchesPatching failed: net/minecraft/client/gui/GuiIngame.java Cannot find hunk target

  2: Cannot find hunk target @ 0

  1/2 failed

  Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\fmlpatches.zip_bjh7akumkkh12c91hrqumojdr\net\minecraft\client\gui\GuiIngame.java.patch.rej

Patching failed: net/minecraft/entity/player/EntityPlayer.java Cannot find hunk target

  4: Cannot find hunk target @ 0

  1/4 failed

  Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\fmlpatches.zip_bjh7akumkkh12c91hrqumojdr\net\minecraft\entity\player\EntityPlayer.java.patch.rej

 

:addFmlSources

:remapJar

:doForgePatchesPatching failed: net/minecraft/client/gui/achievement/GuiAchievements.java Cannot find hunk target

  6: Cannot find hunk target @ 0

  7: Cannot find hunk target @ 0

  2/7 failed

  Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\client\gui\achievement\GuiAchievements.java.patch.rej

Patching failed: net/minecraft/client/renderer/ItemRenderer.java Cannot find hunk target

  5: Cannot find hunk target @ 0

  7: Cannot find hunk target @ 0

  2/7 failed

  Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\client\renderer\ItemRenderer.java.patch.rej

Patching failed: net/minecraft/client/renderer/RenderBlocks.java Cannot find hunk target

  5: Cannot find hunk target @ 0

  1/11 failed

  Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\client\renderer\RenderBlocks.java.patch.rej

Patching failed: net/minecraft/client/renderer/RenderGlobal.java Cannot find hunk target

  4: Cannot find hunk target @ 0

  1/10 failed

  Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\client\renderer\RenderGlobal.java.patch.rej

Patching failed: net/minecraft/client/renderer/entity/RenderItem.java Cannot find hunk target

  4: Cannot find hunk target @ 0

  14: Cannot find hunk target @ 0

  2/18 failed

  Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\client\renderer\entity\RenderItem.java.patch.rej

Patching failed: net/minecraft/entity/player/EntityPlayer.java Cannot find hunk target

  37: Cannot find hunk target @ 0

  1/37 failed

  Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\entity\player\EntityPlayer.java.patch.rej

Patching failed: net/minecraft/inventory/ContainerBrewingStand.java Cannot find hunk target

  3: Cannot find hunk target @ 0

  1/3 failed

  Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\inventory\ContainerBrewingStand.java.patch.rej

Patching failed: net/minecraft/world/gen/feature/WorldGenDungeons.java Cannot find hunk target

  2: Cannot find hunk target @ 0

  1/3 failed

  Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\world\gen\feature\WorldGenDungeons.java.patch.rej

Patching failed: net/minecraft/world/gen/feature/WorldGenSwamp.java Cannot find hunk target

  3: Cannot find hunk target @ 0

  1/7 failed

  Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\world\gen\feature\WorldGenSwamp.java.patch.rej

Patching failed: net/minecraft/world/gen/structure/StructureVillagePieces.java Cannot find hunk target

  7: Cannot find hunk target @ 0

  8: Cannot find hunk target @ 0

  9: Cannot find hunk target @ 0

  3/9 failed

  Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\world\gen\structure\StructureVillagePieces.java.patch.rej

 

:addForgeJavadoc

:extractForgeSrc

:recompForgewarning: [options] bootstrap class path not set in conjunction with -source 1.6

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:208: error: cannot find symbol

        this.eyeHeight = this.getDefaultEyeHeight();

            ^

  symbol: variable eyeHeight

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:208: error: cannot find symbol

        this.eyeHeight = this.getDefaultEyeHeight();

                            ^

  symbol: method getDefaultEyeHeight()

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1116: error: cannot find symbol

        return eyeHeight;

              ^

  symbol:  variable eyeHeight

  location: class EntityPlayer

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1806: error: method getBedLocation in class EntityPlayer cannot be applied to given types;

        return getBedLocation(this.dimension);

              ^

  required: no arguments

  found: int

  reason: actual and formal argument lists differ in length

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1812: error: method isSpawnForced in class EntityPlayer cannot be applied to given types;

        return isSpawnForced(this.dimension);

              ^

  required: no arguments

  found: int

  reason: actual and formal argument lists differ in length

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1822: error: method setSpawnChunk in class EntityPlayer cannot be applied to given types;

            setSpawnChunk(par1ChunkCoordinates, par2, this.dimension);

            ^

  required: ChunkCoordinates,boolean

  found: ChunkCoordinates,boolean,int

  reason: actual and formal argument lists differ in length

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:2442: error: cannot find symbol

        ChatComponentText chatcomponenttext = new ChatComponentText(ScorePlayerTeam.formatPlayerName(this.getTeam(), this.getDisplayName()));

                                                                                                                        ^

  symbol: method getDisplayName()

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\item\Item.java:790: error: cannot find symbol

        double d1 = par2EntityPlayer.prevPosY + (par2EntityPlayer.posY - par2EntityPlayer.prevPosY) * (double)f + (double)(par1World.isRemote ? par2EntityPlayer.getEyeHeight() - par2EntityPlayer.getDefaultEyeHeight() : par2EntityPlayer.getEyeHeight()); // isRemote check to revert changes to ray trace position due to adding the eye height clientside and player yOffset differences

                                                                                                                                                                                                  ^

  symbol:  method getDefaultEyeHeight()

  location: variable par2EntityPlayer of type EntityPlayer

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\world\gen\structure\StructureVillagePieces.java:1942: error: cannot find symbol

                BiomeEvent.GetVillageBlockID event = new BiomeEvent.GetVillageBlockID(startPiece == null ? null : startPiece.biome, p_151558_1_, p_151558_2_);

                                                                                                                            ^

  symbol:  variable biome

  location: variable startPiece of type Start

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\world\gen\structure\StructureVillagePieces.java:1983: error: cannot find symbol

                BiomeEvent.GetVillageBlockMeta event = new BiomeEvent.GetVillageBlockMeta(startPiece == null ? null : startPiece.biome, p_151557_1_, p_151557_2_);

                                                                                                                                ^

  symbol:  variable biome

  location: variable startPiece of type Start

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\server\management\ServerConfigurationManager.java:435: error: method getBedLocation in class EntityPlayer cannot be applied to given types;

        ChunkCoordinates chunkcoordinates = par1EntityPlayerMP.getBedLocation(par2);

                                                              ^

  required: no arguments

  found: int

  reason: actual and formal argument lists differ in length

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\server\management\ServerConfigurationManager.java:436: error: method isSpawnForced in class EntityPlayer cannot be applied to given types;

        boolean flag1 = par1EntityPlayerMP.isSpawnForced(par2);

                                          ^

  required: no arguments

  found: int

  reason: actual and formal argument lists differ in length

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayerMP.java:1176: error: method does not override or implement a method from a supertype

    @Override

    ^

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\cpw\mods\fml\common\network\internal\OpenGuiHandler.java:16: error: cannot find symbol

        player.openGui(msg.modId, msg.modGuiId, player.worldObj, msg.x, msg.y, msg.z);

              ^

  symbol:  method openGui(String,int,World,int,int,int)

  location: variable player of type EntityPlayer

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\client\entity\EntityOtherPlayerMP.java:174: error: method does not override or implement a method from a supertype

    @Override

    ^

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraftforge\common\util\FakePlayer.java:33: error: method does not override or implement a method from a supertype

    @Override public void openGui(Object mod, int modGuiId, World world, int x, int y, int z){}

    ^

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

16 errors

1 warning

FAILED

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ':recompForge'.

> Compilation failed; see the compiler error output for details.

 

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

 

BUILD FAILED

 

Total time: 2 mins 34.937 secs

 

 

 

  • Author

 

 

 

****************************

Powered By MCP:           

http://mcp.ocean-labs.de/ 

Searge, ProfMobius, Fesh0r,

R4wk, ZeuX, IngisKahn     

MCP Data version : unknown

****************************

:extractUserDev

:getAssetsIndex

:getAssets

:copyAssets

:extractNatives

:genSrgs UP-TO-DATE

:downloadMcpTools UP-TO-DATE

:downloadClient SKIPPED

:downloadServer SKIPPED

:mergeJars SKIPPED

:deobfuscateJar UP-TO-DATE

:decompile SKIPPED

:doFmlPatches SKIPPED

:addFmlSources SKIPPED

:remapJar SKIPPED

:doForgePatches SKIPPED

:addForgeJavadoc SKIPPED

:extractForgeSrc

:recompForgewarning: [options] bootstrap class path not set in conjunction with -source 1.6

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:208: error: cannot find symbol

        this.eyeHeight = this.getDefaultEyeHeight();

            ^

  symbol: variable eyeHeight

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:208: error: cannot find symbol

        this.eyeHeight = this.getDefaultEyeHeight();

                            ^

  symbol: method getDefaultEyeHeight()

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1116: error: cannot find symbol

        return eyeHeight;

              ^

  symbol:  variable eyeHeight

  location: class EntityPlayer

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1806: error: method getBedLocation in class EntityPlayer cannot be applied to given types;

        return getBedLocation(this.dimension);

              ^

  required: no arguments

  found: int

  reason: actual and formal argument lists differ in length

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1812: error: method isSpawnForced in class EntityPlayer cannot be applied to given types;

        return isSpawnForced(this.dimension);

              ^

  required: no arguments

  found: int

  reason: actual and formal argument lists differ in length

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1822: error: method setSpawnChunk in class EntityPlayer cannot be applied to given types;

            setSpawnChunk(par1ChunkCoordinates, par2, this.dimension);

            ^

  required: ChunkCoordinates,boolean

  found: ChunkCoordinates,boolean,int

  reason: actual and formal argument lists differ in length

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:2442: error: cannot find symbol

        ChatComponentText chatcomponenttext = new ChatComponentText(ScorePlayerTeam.formatPlayerName(this.getTeam(), this.getDisplayName()));

                                                                                                                        ^

  symbol: method getDisplayName()

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\item\Item.java:790: error: cannot find symbol

        double d1 = par2EntityPlayer.prevPosY + (par2EntityPlayer.posY - par2EntityPlayer.prevPosY) * (double)f + (double)(par1World.isRemote ? par2EntityPlayer.getEyeHeight() - par2EntityPlayer.getDefaultEyeHeight() : par2EntityPlayer.getEyeHeight()); // isRemote check to revert changes to ray trace position due to adding the eye height clientside and player yOffset differences

                                                                                                                                                                                                  ^

  symbol:  method getDefaultEyeHeight()

  location: variable par2EntityPlayer of type EntityPlayer

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\world\gen\structure\StructureVillagePieces.java:1942: error: cannot find symbol

                BiomeEvent.GetVillageBlockID event = new BiomeEvent.GetVillageBlockID(startPiece == null ? null : startPiece.biome, p_151558_1_, p_151558_2_);

                                                                                                                            ^

  symbol:  variable biome

  location: variable startPiece of type Start

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\world\gen\structure\StructureVillagePieces.java:1983: error: cannot find symbol

                BiomeEvent.GetVillageBlockMeta event = new BiomeEvent.GetVillageBlockMeta(startPiece == null ? null : startPiece.biome, p_151557_1_, p_151557_2_);

                                                                                                                                ^

  symbol:  variable biome

  location: variable startPiece of type Start

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\server\management\ServerConfigurationManager.java:437: error: method getBedLocation in class EntityPlayer cannot be applied to given types;

        ChunkCoordinates chunkcoordinates = par1EntityPlayerMP.getBedLocation(par2);

                                                              ^

  required: no arguments

  found: int

  reason: actual and formal argument lists differ in length

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\server\management\ServerConfigurationManager.java:438: error: method isSpawnForced in class EntityPlayer cannot be applied to given types;

        boolean flag1 = par1EntityPlayerMP.isSpawnForced(par2);

                                          ^

  required: no arguments

  found: int

  reason: actual and formal argument lists differ in length

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayerMP.java:1176: error: method does not override or implement a method from a supertype

    @Override

    ^

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\cpw\mods\fml\common\network\internal\OpenGuiHandler.java:16: error: cannot find symbol

        player.openGui(msg.modId, msg.modGuiId, player.worldObj, msg.x, msg.y, msg.z);

              ^

  symbol:  method openGui(String,int,World,int,int,int)

  location: variable player of type EntityPlayer

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\client\entity\EntityOtherPlayerMP.java:174: error: method does not override or implement a method from a supertype

    @Override

    ^

C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraftforge\common\util\FakePlayer.java:33: error: method does not override or implement a method from a supertype

    @Override public void openGui(Object mod, int modGuiId, World world, int x, int y, int z){}

    ^

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

16 errors

1 warning

FAILED

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ':recompForge'.

> Compilation failed; see the compiler error output for details.

 

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

 

BUILD FAILED

 

Total time: 1 mins 30.935 secs

 

 

 

Delete everything in C:\Users\Studio Apples\Desktop\Minecraft Mod\

Then re-decompile

 

Hope this helped.

-bdkuhman

  • Author

Ok. I can try. But my mod is saved in that folder as suggested by many tutorials I have watched. I also seem to be unable to export or save / move my project.

You can copy the src folder somewhere else before you delete everything and replace it after you decompile if you need to

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.