Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

How to open MCP in eclipse?


  • Please log in to reply
8 replies to this topic

#1

Angrygamers

Posted 30 July 2011 - 04:38 PM

can someone show me how to open all the codes in eclipse the other tutorial i tryed SUCKED. please help

Register or log in to remove.

#2

Temerer
    Temerer

    Zombie Killer

  • Members
  • 227 posts
  • Location: Israel
  • Minecraft: Temerer

Posted 30 July 2011 - 04:40 PM

if you just need to open the src files with eclipse, just define it as the default program to open java files

#3

Davidee
    Davidee

    Obsidian Miner

  • Members
  • 1481 posts

Posted 30 July 2011 - 04:42 PM

Change your eclipse workspace to the eclipse folder which can be found where all of your MCP files are.

#4

Angrygamers

Posted 30 July 2011 - 04:43 PM

no  i need all the src files to appear on the side not just 1 at a time

#5

Temerer
    Temerer

    Zombie Killer

  • Members
  • 227 posts
  • Location: Israel
  • Minecraft: Temerer

Posted 30 July 2011 - 04:45 PM

oh, then do what he said(above me) but set the workspace to the src folder(the last src folder) inside the src foldr that is in the mcp folder(the folder where all the java files are in)

#6

Angrygamers

Posted 30 July 2011 - 06:00 PM

it doesnt work -.-

#7

cheechako
    cheechako

    Lapis Lazuli Collector

  • Members
  • 1163 posts

Posted 30 July 2011 - 06:09 PM

View PostTemerer, on 30 July 2011 - 04:45 PM, said:

oh, then do what he said(above me) but set the workspace to the src folder(the last src folder) inside the src foldr that is in the mcp folder(the folder where all the java files are in)

No, not the src folder. The eclipse folder inside the main MCP folder.

If that doesn't work, backup your source and the ENTIRE MCP folder. Unzip a fresh copy of MCP, add the jar (and ModLoader, etc), run updatemcp and decompile. Then launch Eclipse and choose Switch Workspace > Other from the file menu. Browse to the main MCP folder that you just created, and select the eclipse folder. Once you select this workspace, Eclipse will always open it. If not, there might be some turned-off setting to remember the last workspace.

#8

Angrygamers

Posted 30 July 2011 - 06:25 PM

thank you~

#9

cheechako
    cheechako

    Lapis Lazuli Collector

  • Members
  • 1163 posts

Posted 30 July 2011 - 06:29 PM

And a suggestion, for you or anyone else that stumbles upon this thread:

Once you have MC decompiled and loaded into Eclipse, run it (click the little play button) BEFORE adding any of your own code to make sure everything works.