-
Notifications
You must be signed in to change notification settings - Fork 608
IntelliJ setup
- install IntelliJ (beyond the scope of this documentation)
- start IntelliJ
- select Do not import settings
- click OK
- select Theme
- click Skip Remaining and Set Defaults
- select Check out from Version Control
- select Git
-
enter your repository/branch details
-
click Test
-
click Clone
-
-- wait ---
You will receive a prompt indicating that your checkout from version control contained a project file. In my experience, attempting to open this file fails to do anything useful.
- click No
- click Open
Browse to the folder you specified for the parent and inside the folder you specified for the git checkout. You should see a pom.xml file.
- select the pom.xml file
- click OK
- select Open as Project
At this point IntelliJ should be open with the Forge project. However, it will take a while for IntelliJ to download all the project dependencies. This is reflected in the bottom status bar by default.
- select File
- select Project Structure...
- select New
- select JDK
If necessary browse to the JDK directory.
- click OK
-
click OK
-
select Run from the top menu
-
select Debug... from the drop down
-
select Edit Configurations...
-
click the + in the upper left
- select "Application"
-
set the Name to: Forge
-
set the Main class to: forge.view.Main
-
set the VM options to: -Xms768m -XX:+UseParallelGC -Dsun.java2d.xrender=false
-
set the Working directory to the forge-gui-desktop subfolder path
-
set Use classpath of module to: forge-gui-desktop
-
click Debug
-
-- wait --
If all goes well, you should eventually see the Forge splash screen followed by the main UI.
-
-
Gameplay Guide
-
Modding and Development
-
-
- Skins
- Music & Sounds
- Card Images
- File Formats