Jump to content

[Tutorial][Mac] How to setup ForgeGradle


The_1_gamers

Recommended Posts

1. DOWNLOAD FORGE SRC click dis '*' IF YOU DONT WANT TO SEE ADFLY click it. ALso extract the file

 

2. locate the folder to get to it type 'cd Desktop/forge'

 

3. (Skip this if you have more than 4gb ram on your mac (I have 4 gb)) TO do this type "export _JAVA_OPTIONS='-Xmx1000M' "In the terminal

 

4a. type 'sh gradlew setupDevWorkspace/setupCIWorkspace eclipse/netbeans/idea' if you are not sure your ide is supported check the gradle website if its supported.

 

4b.(Do this if you have a BUILD FAILED) If it says build failed type 'sh gradlew resetCache'

 

(Optinal)(Eclipse Only)5. Install the eclipse gradle plugin if you want to be able to build in eclipse

 

6. Open up the ide and start coding :)

 

 

BUILDING YOUR PROJECT

(IF YOU HAVE THE ECLIPSE PLUGIN INSTALLED IGNORE THE REST OF THE STEPS but follow step 8)7.

 

cd back to the folder THE SECOND STEP

 

type: sh gradlew build and go to the generated folder and your files will be there

 

8. go to the build folder and compress the files and distribute.

 

ON THE IDE

 

If you get a error in the project's example mod IGNORE IT THAT METHOD DOESNT EXIST

 

Any recommendations

 

Comment below

 

EDIT: if you want to check minecraft's source go download jd-eclipse or jd-IntellIJ to see the sources (Cant edit them)

Link to comment
Share on other sites

  • 2 years later...

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.

Announcements



×
×
  • Create New...

Important Information

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