Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • Eclipse wont open the minecraft project.
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
_Bobobot_

Eclipse wont open the minecraft project.

By _Bobobot_, January 2, 2015 in ForgeGradle

  • Reply to this topic
  • Start new topic

Recommended Posts

_Bobobot_    0

_Bobobot_

_Bobobot_    0

  • Tree Puncher
  • _Bobobot_
  • Members
  • 0
  • 4 posts
Posted January 2, 2015

I installed forge following these instructions:

 

http://www.minecraftforge.net/wiki/Installation/Source

 

However, when I open eclipse, and point the workspace folder to "forge-1.7.10-10.13.2.1277-src\eclipse", I only see this:

 

GC0ctu0.png

 

The \eclipse folder only contains a .metadata folder, which then contains these files:

 

2mDg09p.png

 

After trying to do a troubleshoot myself, I found out that the whole forge folder does not contain any of the decompiled minecraft files. After searching a bit, I found them in a tmp folder which suggests to me that those files were only meant to be temporary.

 

In the folder "forge-1.7.10-10.13.2.1277-src\build\tmp\expandedArchives" I found these two folders, which then contained the source files of minecraft (at least I think they did).

 

 

So my idea is that gradlew can not copy those files to the right place, or something similar. I'm not an expert in this, so it is of course possible that I'm completely wrong.

 

Could anyone help me please?

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7690

diesieben07

diesieben07    7690

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7690
  • 56283 posts
Posted January 2, 2015

The decompiled minecraft files do not end up in your forge directory, they are stored in the central gradle cache so they can be shared across different workspaces.

If you followed the steps exactly (do not delete anything from the extracted download, run gradlew eclipse) then this will not happen.

 

Edit: Just tried it out, it works just fine.

  • Quote

Share this post


Link to post
Share on other sites

_Bobobot_    0

_Bobobot_

_Bobobot_    0

  • Tree Puncher
  • _Bobobot_
  • Members
  • 0
  • 4 posts
Posted January 2, 2015

I'm not sure what I did wrong then. Let my write down the steps I went through.

 

I downloaded the 1.7.10 latest src from here: http://files.minecraftforge.net/

 

After that, I extracted the downloaded package, went into the extracted folder, and opened a command prompt there.

 

Then, I wrote in "gradlew setupDecompWorkspace --refresh-dependencies", and after it completed, I typed in "gradlew eclipse".

 

After that, I opened eclipse, pointed the workspace to the eclipse folder in the extracted forge folder, and then I got that error.

 

Am I doing something wrong?

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7690

diesieben07

diesieben07    7690

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7690
  • 56283 posts
Posted January 2, 2015

No, nothing wrong just some redundancy. All you need is

gradlew setupDecompWorkspace eclipse

.

If the commands completed without error all I can say is: try again.

  • Quote

Share this post


Link to post
Share on other sites

_Bobobot_    0

_Bobobot_

_Bobobot_    0

  • Tree Puncher
  • _Bobobot_
  • Members
  • 0
  • 4 posts
Posted January 2, 2015

I tried it again and again countless times, still no luck.

 

The weird thing is, that the wiki say the process might take up to 10 minutes, but for me it only takes about half a minute.

 

This is how my cmd window looks after running the command you suggested:

 

8yHtcNM.png

 

It say SKIPPED for a lot of things, that might be a problem, I'm not sure.

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7690

diesieben07

diesieben07    7690

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7690
  • 56283 posts
Posted January 2, 2015

The SKIPPED is normal and is actually a feature. When gradle has done a task already in the past, it does not need to do it again in the future, making the process faster.

 

The problem here is probably your username (or rather the file path). Choose a path that does not contain non-ascii characters.

  • Quote

Share this post


Link to post
Share on other sites

_Bobobot_    0

_Bobobot_

_Bobobot_    0

  • Tree Puncher
  • _Bobobot_
  • Members
  • 0
  • 4 posts
Posted January 2, 2015

I changed the path and it solved my problem.

 

Thank you! :)

  • Quote

Share this post


Link to post
Share on other sites

ThaWeeDope    0

ThaWeeDope

ThaWeeDope    0

  • Tree Puncher
  • ThaWeeDope
  • Members
  • 0
  • 2 posts
Posted March 19, 2015

How to change path???

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7690

diesieben07

diesieben07    7690

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7690
  • 56283 posts
Posted March 19, 2015

You choose a different folder...

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • JayNeedsHelp
      How can I fix this encoding issue?

      By JayNeedsHelp · Posted 1 hour ago

      Hey so I'm creating a forge mod and I'm trying to use the "§" character but I'm getting an illegal character error in the compiler. I've tried using the -encoding option in the compiler, I've also tried converting the file to UTF-8 without BOM, but it wasn't UTF-8 BOM in the first place. I was making a jar mod with mcp in eclipse and everything was working just fine with these characters, which I'm now moving to a forge mod. I'm using IntelliJ Community IDEA currently.   Here's a link to part of the error list: https://jay-hosts-a.dark-web.store/6AXsbJqG. Obviously the other errors were due to the illegal character error but I thought I might as well show it. I'm making a forge mod for 1.12.2, forgegradle is version 2.3-SNAPSHOT and I'm using mixingradle-0.6-SNAPSHOT.   I'm not sure how to fix this and any help would be greatly appreciated.
    • mchase
      Forge crashing

      By mchase · Posted 1 hour ago

      I downloaded and installed forge for 1.16.4 and it shows up in my installations and will start to open but then crashes and gives me "exit code 255". I am on MacOS if that makes a difference. it says The game crashed whilst initializing game Error: java.lang.IllegalStateException: GLFW error before init: [0x10008]Cocoa: Failed to find service port for display Exit Code: 255 does forge just not work on Mac? am I missing something? please help
    • MiToKonndria
      cant download pixelmon

      By MiToKonndria · Posted 2 hours ago

      when i click install on the Pixelmon modpack it gets to 42% and mod 3 out of 7 and then gives me the error message: Timeout attempting to download: "https://edge.forgecdn.net/files/3072/298/pixelmon-1.12.2-8.1.2-universal.jar"
    • lupicus
      can someone help with server crashing

      By lupicus · Posted 2 hours ago

      Looks like Wonderful Enchantments has problems, try and remove it.
    • Draco18s
      can someone help with server crashing

      By Draco18s · Posted 2 hours ago

      Surprise, accessing the client thread from the server thread isn't possible. Bitch at the author of wonderfulenchantments.
  • Topics

    • JayNeedsHelp
      0
      How can I fix this encoding issue?

      By JayNeedsHelp
      Started 1 hour ago

    • mchase
      0
      Forge crashing

      By mchase
      Started 1 hour ago

    • MiToKonndria
      0
      cant download pixelmon

      By MiToKonndria
      Started 2 hours ago

    • IRONDALEK
      3
      can someone help with server crashing

      By IRONDALEK
      Started 7 hours ago

    • Twu
      0
      Need help with Potion Brewing recipes

      By Twu
      Started 2 hours ago

  • Who's Online (See full list)

    • HappyAndJust
    • fan87
    • BakaJzon
    • Zeher_Monkey
    • ChubzRequiem
    • xXCrazy_CactusXx
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • Eclipse wont open the minecraft project.
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community