Tutorial 1. Setup Eclipse

Ok, Install Eclipse ide for java EE developers

Now, create new folder. This folder will be the base folder for all our modstuff.
This folder will be refered as ‘BaseFolder’
Inside the BaseFolder, extract Forge.

e66a6fcc00014a78680675e095bbde6c

What you want to do now, is open a command prompt/terminal.
Now, find your BaseFolder. Use the command cd to move around.
Option 2: Rightclick on BaseFolder and select open commandprompt.
Enter the following command:

gradlew.bat setupDecompWorkspace

Wait for it to be done. It might take quite a while.
Now run

gradlew.bat eclipse

Now, open eclipse.
Set your workspace to …/BaseFolder/eclipse.

e52c696d4689f8f5d694de360f560145

Delete the /src/main/java.
Delete the /src/main/resources


b0e72a627ec980afa1cb8f018f0b5c74

If your project looks like this, CONGRATZ! you havent messed anything up. yet.

Once deleted, create a new folder, inside your BaseFolder.
Called it something, which makes sence. This foldername will be re-used A LOT! *i call it mcmodtutorial* Inside here, create a few folders, with this layout:

1df55f462af872f6b17a475a158520cc

Rightclick on java, build path -> use as Source Root.
Do the same for resources.

Now you should see a source root, on the top of the list, called …/src/main/java

 


Thats, it. Now run it.

e324963ed3a07f4e24ba45aaed807564

 

And done.

Back to List
Next tutorial


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">