Jump to content

Recommended Posts

Posted

I am trying to install Forge build 1047 for 1.7 and am having problems setting it up. I get "cannot find hunk target" errors, causing files to be improperly patched, then compilation errors resulting from improperly patched files.

I get the same error on Build 1024.

Does it have something to do with having JDK 8 installed?

 

After deleting .gradle and build folders

 

 

 

C:\Users\jimbo1qaz\mcforge>gradlew setupDecompWorkspace

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

Powered By MCP:

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

Searge, ProfMobius, Fesh0r,

R4wk, ZeuX, IngisKahn

MCP Data version : unknown

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

:extractUserDev

:getAssetsIndex

:getAssets

:copyAssets

:extractNatives

:genSrgs

:downloadMcpTools

:downloadClient SKIPPED

:downloadServer SKIPPED

:mergeJars SKIPPED

:deobfuscateJar

Applying SpecialSource...

Applying Exceptor...

Injecting source info...

:decompile

:doFmlPatches

Patching failed: net/minecraft/client/gui/GuiIngame.java Cannot find hunk targe

 

  2: Cannot find hunk target @ 0

  1/2 failed

  Rejects written to C:\Users\jimbo1qaz\mcforge\build\tmp\expandedArchives\fmlp

tches.zip_6b4pg02lnqp8ajcfq19ipr1uif\net\minecraft\client\gui\GuiIngame.java.pa

ch.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\jimbo1qaz\mcforge\build\tmp\expandedArchives\fmlp

tches.zip_6b4pg02lnqp8ajcfq19ipr1uif\net\minecraft\entity\player\EntityPlayer.j

va.patch.rej

:addFmlSources

:remapJar

:doForgePatches

Patching failed: net/minecraft/client/gui/achievement/GuiAchievements.java Cann

t find hunk target

  6: Cannot find hunk target @ 0

  7: Cannot find hunk target @ 0

  2/7 failed

  Rejects written to C:\Users\jimbo1qaz\mcforge\build\tmp\expandedArchives\forg

patches.zip_59kibrd3dipf352bk43q1nbujb\net\minecraft\client\gui\achievement\Gui

chievements.java.patch.rej

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

k target

  5: Cannot find hunk target @ 0

  7: Cannot find hunk target @ 0

  2/7 failed

  Rejects written to C:\Users\jimbo1qaz\mcforge\build\tmp\expandedArchives\forg

patches.zip_59kibrd3dipf352bk43q1nbujb\net\minecraft\client\renderer\ItemRender

r.java.patch.rej

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

k target

  5: Cannot find hunk target @ 0

  1/11 failed

  Rejects written to C:\Users\jimbo1qaz\mcforge\build\tmp\expandedArchives\forg

patches.zip_59kibrd3dipf352bk43q1nbujb\net\minecraft\client\renderer\RenderBloc

s.java.patch.rej

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

k target

  4: Cannot find hunk target @ 0

  1/10 failed

  Rejects written to C:\Users\jimbo1qaz\mcforge\build\tmp\expandedArchives\forg

patches.zip_59kibrd3dipf352bk43q1nbujb\net\minecraft\client\renderer\RenderGlob

l.java.patch.rej

Patching failed: net/minecraft/client/renderer/entity/RenderItem.java Cannot fi

d hunk target

  4: Cannot find hunk target @ 0

  14: Cannot find hunk target @ 0

  2/18 failed

  Rejects written to C:\Users\jimbo1qaz\mcforge\build\tmp\expandedArchives\forg

patches.zip_59kibrd3dipf352bk43q1nbujb\net\minecraft\client\renderer\entity\Ren

erItem.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\jimbo1qaz\mcforge\build\tmp\expandedArchives\forg

patches.zip_59kibrd3dipf352bk43q1nbujb\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\jimbo1qaz\mcforge\build\tmp\expandedArchives\forg

patches.zip_59kibrd3dipf352bk43q1nbujb\net\minecraft\inventory\ContainerBrewing

tand.java.patch.rej

Patching failed: net/minecraft/world/gen/feature/WorldGenDungeons.java Cannot f

nd hunk target

  2: Cannot find hunk target @ 0

  1/3 failed

  Rejects written to C:\Users\jimbo1qaz\mcforge\build\tmp\expandedArchives\forg

patches.zip_59kibrd3dipf352bk43q1nbujb\net\minecraft\world\gen\feature\WorldGen

ungeons.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\jimbo1qaz\mcforge\build\tmp\expandedArchives\forg

patches.zip_59kibrd3dipf352bk43q1nbujb\net\minecraft\world\gen\feature\WorldGen

wamp.java.patch.rej

Patching failed: net/minecraft/world/gen/structure/StructureVillagePieces.java

annot 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\jimbo1qaz\mcforge\build\tmp\expandedArchives\forg

patches.zip_59kibrd3dipf352bk43q1nbujb\net\minecraft\world\gen\structure\Struct

reVillagePieces.java.patch.rej

:addForgeJavadoc

:extractForgeSrc

:recompForge

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

C:\Users\jimbo1qaz\mcforge\build\tmp\recompSrc\net\minecraft\entity\player\Enti

yPlayer.java:208: error: cannot find symbol

        this.eyeHeight = this.getDefaultEyeHeight();

            ^

  symbol: variable eyeHeight

C:\Users\jimbo1qaz\mcforge\build\tmp\recompSrc\net\minecraft\entity\player\Enti

yPlayer.java:208: error: cannot find symbol

        this.eyeHeight = this.getDefaultEyeHeight();

                            ^

  symbol: method getDefaultEyeHeight()

C:\Users\jimbo1qaz\mcforge\build\tmp\recompSrc\net\minecraft\entity\player\Enti

yPlayer.java:1116: error: cannot find symbol

        return eyeHeight;

              ^

  symbol:  variable eyeHeight

  location: class EntityPlayer

C:\Users\jimbo1qaz\mcforge\build\tmp\recompSrc\net\minecraft\entity\player\Enti

yPlayer.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\jimbo1qaz\mcforge\build\tmp\recompSrc\net\minecraft\entity\player\Enti

yPlayer.java:1812: error: method isSpawnForced in class EntityPlayer cannot be

pplied to given types;

        return isSpawnForced(this.dimension);

              ^

  required: no arguments

  found: int

  reason: actual and formal argument lists differ in length

C:\Users\jimbo1qaz\mcforge\build\tmp\recompSrc\net\minecraft\entity\player\Enti

yPlayer.java:1822: error: method setSpawnChunk in class EntityPlayer cannot be

pplied 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\jimbo1qaz\mcforge\build\tmp\recompSrc\net\minecraft\entity\player\Enti

yPlayer.java:2442: error: cannot find symbol

        ChatComponentText chatcomponenttext = new ChatComponentText(ScorePlayer

eam.formatPlayerName(this.getTeam(), this.getDisplayName()));

 

                                        ^

  symbol: method getDisplayName()

C:\Users\jimbo1qaz\mcforge\build\tmp\recompSrc\net\minecraft\item\Item.java:790

error: cannot find symbol

        double d1 = par2EntityPlayer.prevPosY + (par2EntityPlayer.posY - par2En

ityPlayer.prevPosY) * (double)f + (double)(par1World.isRemote ? par2EntityPlaye

.getEyeHeight() - par2EntityPlayer.getDefaultEyeHeight() : par2EntityPlayer.get

yeHeight()); // isRemote check to revert changes to ray trace position due to a

ding the eye height clientside and player yOffset differences

 

 

                                  ^

  symbol:  method getDefaultEyeHeight()

  location: variable par2EntityPlayer of type EntityPlayer

C:\Users\jimbo1qaz\mcforge\build\tmp\recompSrc\net\minecraft\world\gen\structur

\StructureVillagePieces.java:1942: error: cannot find symbol

                BiomeEvent.GetVillageBlockID event = new BiomeEvent.GetVillageB

ockID(startPiece == null ? null : startPiece.biome, p_151558_1_, p_151558_2_);

 

                                            ^

  symbol:  variable biome

  location: variable startPiece of type Start

C:\Users\jimbo1qaz\mcforge\build\tmp\recompSrc\net\minecraft\world\gen\structur

\StructureVillagePieces.java:1983: error: cannot find symbol

                BiomeEvent.GetVillageBlockMeta event = new BiomeEvent.GetVillag

BlockMeta(startPiece == null ? null : startPiece.biome, p_151557_1_, p_151557_2

);

 

                                                ^

  symbol:  variable biome

  location: variable startPiece of type Start

C:\Users\jimbo1qaz\mcforge\build\tmp\recompSrc\net\minecraft\server\management\

erverConfigurationManager.java:437: error: method getBedLocation in class Entit

Player cannot be applied to given types;

        ChunkCoordinates chunkcoordinates = par1EntityPlayerMP.getBedLocation(p

r2);

                                                              ^

  required: no arguments

  found: int

  reason: actual and formal argument lists differ in length

C:\Users\jimbo1qaz\mcforge\build\tmp\recompSrc\net\minecraft\server\management\

erverConfigurationManager.java:438: error: method isSpawnForced in class Entity

layer 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\jimbo1qaz\mcforge\build\tmp\recompSrc\net\minecraft\entity\player\Enti

yPlayerMP.java:1176: error: method does not override or implement a method from

a supertype

    @Override

    ^

C:\Users\jimbo1qaz\mcforge\build\tmp\recompSrc\cpw\mods\fml\common\network\inte

nal\OpenGuiHandler.java:16: error: cannot find symbol

        player.openGui(msg.modId, msg.modGuiId, player.worldObj, msg.x, msg.y,

sg.z);

              ^

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

  location: variable player of type EntityPlayer

C:\Users\jimbo1qaz\mcforge\build\tmp\recompSrc\net\minecraft\client\entity\Enti

yOtherPlayerMP.java:174: error: method does not override or implement a method

rom a supertype

    @Override

    ^

C:\Users\jimbo1qaz\mcforge\build\tmp\recompSrc\net\minecraftforge\common\util\F

kePlayer.java:33: error: method does not override or implement a method from a

upertype

    @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

:recompForge 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: 3 mins 35.821 secs

 

 

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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