Hello everyone.... I've been having serious trouble installing Forge and getting it to work with Eclipse.
when I run gradlew.bat setupDecompWorkspace --refresh-dependencies, I get this:
C:\Users\Derik\Desktop\Modding Minecraft>gradlew.bat setupDecompWorkspace --refr
esh-dependencies
****************************
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
:recompForge
warning: [options] bootstrap class path not set in conjunction with -source 1.6
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\entit
y\player\EntityPlayer.java:208: error: cannot find symbol
this.eyeHeight = this.getDefaultEyeHeight();
^
symbol: variable eyeHeight
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\entit
y\player\EntityPlayer.java:208: error: cannot find symbol
this.eyeHeight = this.getDefaultEyeHeight();
^
symbol: method getDefaultEyeHeight()
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\entit
y\player\EntityPlayer.java:1116: error: cannot find symbol
return eyeHeight;
^
symbol: variable eyeHeight
location: class EntityPlayer
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\entit
y\player\EntityPlayer.java:1806: error: method getBedLocation in class EntityPla
yer 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\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\entit
y\player\EntityPlayer.java:1812: error: method isSpawnForced in class EntityPlay
er 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\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\entit
y\player\EntityPlayer.java:1822: error: method setSpawnChunk in class EntityPlay
er 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\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\entit
y\player\EntityPlayer.java:2442: error: cannot find symbol
ChatComponentText chatcomponenttext = new ChatComponentText(ScorePlayerT
eam.formatPlayerName(this.getTeam(), this.getDisplayName()));
^
symbol: method getDisplayName()
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\item\
Item.java:790: error: cannot find symbol
double d1 = par2EntityPlayer.prevPosY + (par2EntityPlayer.posY - par2Ent
ityPlayer.prevPosY) * (double)f + (double)(par1World.isRemote ? par2EntityPlayer
.getEyeHeight() - par2EntityPlayer.getDefaultEyeHeight() : par2EntityPlayer.getE
yeHeight()); // isRemote check to revert changes to ray trace position due to ad
ding the eye height clientside and player yOffset differences
^
symbol: method getDefaultEyeHeight()
location: variable par2EntityPlayer of type EntityPlayer
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\world
\gen\structure\StructureVillagePieces.java:1942: error: cannot find symbol
BiomeEvent.GetVillageBlockID event = new BiomeEvent.GetVillageBl
ockID(startPiece == null ? null : startPiece.biome, p_151558_1_, p_151558_2_);
^
symbol: variable biome
location: variable startPiece of type Start
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\world
\gen\structure\StructureVillagePieces.java:1983: error: cannot find symbol
BiomeEvent.GetVillageBlockMeta event = new BiomeEvent.GetVillage
BlockMeta(startPiece == null ? null : startPiece.biome, p_151557_1_, p_151557_2_
);
^
symbol: variable biome
location: variable startPiece of type Start
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\serve
r\management\ServerConfigurationManager.java:435: error: method getBedLocation i
n class EntityPlayer cannot be applied to given types;
ChunkCoordinates chunkcoordinates = par1EntityPlayerMP.getBedLocation(pa
r2);
^
required: no arguments
found: int
reason: actual and formal argument lists differ in length
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\serve
r\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\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\entit
y\player\EntityPlayerMP.java:1176: error: method does not override or implement
a method from a supertype
@Override
^
C:\Users\Derik\Desktop\Modding Minecraft\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, m
sg.z);
^
symbol: method openGui(String,int,World,int,int,int)
location: variable player of type EntityPlayer
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\clien
t\entity\EntityOtherPlayerMP.java:174: error: method does not override or implem
ent a method from a supertype
@Override
^
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraftforge\
common\util\FakePlayer.java:33: error: method does not override or implement a m
ethod 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
: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: 2 mins 19.745 secs
C:\Users\Derik\Desktop\Modding Minecraft>
I have Java 7 (I had 8 but downgraded to 7 and deleted 8). I have set JAVA_HOME and the path. setting up the DevConsole works and I can access the minecraft folders with eclipse.
However, eclipse won't run even the startup code built into it when I get it (the one that starts minecraft itself)
I've followed roughly a dozen tutorials and spent nearly 20 hours trying to get this setup. I've deleted and reinstalled the Forge Src and eclipse at least 5 times.... I'm out of ideas.
Can anyone help me?
EDIT: I managed to fix it! Turns out there were some .gradlew files installed on my C: Users directory from a few earlier attempts. After deleting them, it worked!
it should be noted that I did run javac in the cmd line and it worked....
I've put a shortcut to the mods folder in the same place as my other files (so I could just copy/paste my mods easily). That wouldn't do anything, would it?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
when I run gradlew.bat setupDecompWorkspace --refresh-dependencies, I get this:
C:\Users\Derik\Desktop\Modding Minecraft>gradlew.bat setupDecompWorkspace --refr
esh-dependencies
****************************
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
:recompForge
warning: [options] bootstrap class path not set in conjunction with -source 1.6
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\entit
y\player\EntityPlayer.java:208: error: cannot find symbol
this.eyeHeight = this.getDefaultEyeHeight();
^
symbol: variable eyeHeight
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\entit
y\player\EntityPlayer.java:208: error: cannot find symbol
this.eyeHeight = this.getDefaultEyeHeight();
^
symbol: method getDefaultEyeHeight()
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\entit
y\player\EntityPlayer.java:1116: error: cannot find symbol
return eyeHeight;
^
symbol: variable eyeHeight
location: class EntityPlayer
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\entit
y\player\EntityPlayer.java:1806: error: method getBedLocation in class EntityPla
yer 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\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\entit
y\player\EntityPlayer.java:1812: error: method isSpawnForced in class EntityPlay
er 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\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\entit
y\player\EntityPlayer.java:1822: error: method setSpawnChunk in class EntityPlay
er 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\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\entit
y\player\EntityPlayer.java:2442: error: cannot find symbol
ChatComponentText chatcomponenttext = new ChatComponentText(ScorePlayerT
eam.formatPlayerName(this.getTeam(), this.getDisplayName()));
^
symbol: method getDisplayName()
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\item\
Item.java:790: error: cannot find symbol
double d1 = par2EntityPlayer.prevPosY + (par2EntityPlayer.posY - par2Ent
ityPlayer.prevPosY) * (double)f + (double)(par1World.isRemote ? par2EntityPlayer
.getEyeHeight() - par2EntityPlayer.getDefaultEyeHeight() : par2EntityPlayer.getE
yeHeight()); // isRemote check to revert changes to ray trace position due to ad
ding the eye height clientside and player yOffset differences
^
symbol: method getDefaultEyeHeight()
location: variable par2EntityPlayer of type EntityPlayer
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\world
\gen\structure\StructureVillagePieces.java:1942: error: cannot find symbol
BiomeEvent.GetVillageBlockID event = new BiomeEvent.GetVillageBl
ockID(startPiece == null ? null : startPiece.biome, p_151558_1_, p_151558_2_);
^
symbol: variable biome
location: variable startPiece of type Start
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\world
\gen\structure\StructureVillagePieces.java:1983: error: cannot find symbol
BiomeEvent.GetVillageBlockMeta event = new BiomeEvent.GetVillage
BlockMeta(startPiece == null ? null : startPiece.biome, p_151557_1_, p_151557_2_
);
^
symbol: variable biome
location: variable startPiece of type Start
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\serve
r\management\ServerConfigurationManager.java:435: error: method getBedLocation i
n class EntityPlayer cannot be applied to given types;
ChunkCoordinates chunkcoordinates = par1EntityPlayerMP.getBedLocation(pa
r2);
^
required: no arguments
found: int
reason: actual and formal argument lists differ in length
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\serve
r\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\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\entit
y\player\EntityPlayerMP.java:1176: error: method does not override or implement
a method from a supertype
@Override
^
C:\Users\Derik\Desktop\Modding Minecraft\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, m
sg.z);
^
symbol: method openGui(String,int,World,int,int,int)
location: variable player of type EntityPlayer
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraft\clien
t\entity\EntityOtherPlayerMP.java:174: error: method does not override or implem
ent a method from a supertype
@Override
^
C:\Users\Derik\Desktop\Modding Minecraft\build\tmp\recompSrc\net\minecraftforge\
common\util\FakePlayer.java:33: error: method does not override or implement a m
ethod 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
: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: 2 mins 19.745 secs
C:\Users\Derik\Desktop\Modding Minecraft>
I have Java 7 (I had 8 but downgraded to 7 and deleted 8). I have set JAVA_HOME and the path. setting up the DevConsole works and I can access the minecraft folders with eclipse.
However, eclipse won't run even the startup code built into it when I get it (the one that starts minecraft itself)
I've followed roughly a dozen tutorials and spent nearly 20 hours trying to get this setup. I've deleted and reinstalled the Forge Src and eclipse at least 5 times.... I'm out of ideas.
Can anyone help me?
EDIT: I managed to fix it! Turns out there were some .gradlew files installed on my C: Users directory from a few earlier attempts. After deleting them, it worked!
I've put a shortcut to the mods folder in the same place as my other files (so I could just copy/paste my mods easily). That wouldn't do anything, would it?