Jump to content

Setting up your IDE for use with Forge in 1.7.2


Binero

Recommended Posts

Setting up your IDE for use with Forge

Integrated Development Environments can increase your productivity drastically. Forge uses Gradle and currently supports creating projects automatically for IntelliJ IDEA and Eclipse. These instructions require you to have prepared your basic Forge working environment.

 

IntelliJ IDEA

 

 

First, you open the IDE and select "Import Project...." from the main menu. If you have already opened a project you can either import directly from the "File" menu, or you can close the project first, also done through the "File" menu. Alternatively you can just open the project.

 

SctCpla.png

 

Next, you browse to your Forge directory and select the 'build.gradle' file, and hit "OK".

 

E6Uye9R.png

 

You can leave the next screen as-is and just hit OK. It might take a while to complete the import, but after that you'll be able to start developing your modification using Minecraft Forge and IntelliJ IDEA.

 

Note: To build your project's release version you'll still have to run gradle build.

 

 

Eclipse

 

 

First build the required project files for eclipse:

gradle eclipse

 

Next, open up Eclipse, and click "Switch Workspace" located in your "File" menu. This will populate your "eclipse" directory. Navigate to your Forge directory and select the "eclipse" folder.

 

qKlKxFH.png

 

You can now start development of your modification using Minecraft Forge inside the Eclipse IDE.

 

Note: To build your project's release version you'll still have to run gradle build.

 

 

Link to comment
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.
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...

×   Pasted as rich text.   Restore formatting

  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.



×
×
  • Create New...

Important Information

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