-
Notifications
You must be signed in to change notification settings - Fork 0
How to setup
This will be a step-by-step tutorial for setting your eclipse up with this repository.
-
Run eclipse and click the file button on the top right, in the dropdown click import.
-
Once you click import a new window will pop up with a bunch of folders, open the git folder by clicking the triangle next to it. There will only be one item in this folder "Projects from Git" double click it.
-
Now there will be two options on your window, pick Clone URI and then next.
-
Now a long form-looking window will pop up, in the URI box put the uri of this repository (you can find it on the front page of this repository). The host should be github.com. the repository path should be
/TEAMModding/KalStuff.gitAlso put your gitHub username and password in. It's likely all this will be filled out for you once you put the URI in. Once you're done, hit next. -
A new window will come up, hit next.
-
Hit next yet again.
-
A progress bar will appear. When it's done hit next again.
-
Now enter the name you want the project to be in your eclipse workspace. This wont affect anything.
-
Now you've cloned the repository. The only problem is the repository doesn't include all the forge setup. So you'll have to set it up yourself. Now close eclipse and navigate to
C:\Users\<yourname>\git\FutureCraft. -
Once in there shift+right-click in the window and then click "open command window here".
-
Now command prompt should be up and running in that directory. Now run the command
gradlew setupDecompWorkspaceand exactly like that. -
Once that's done running run
gradlew eclipse -
Now you should be all set up. To make sure, run eclipse again, It should have src/main/java and src/main/resources at the top. With JRE System Library and Referenced Libraries under them. src/main/java is where all our mod code will be. src/main/resources is where all our .json files, images, basically all the resource pack stuff will go. JRE system library is just java's default classes. You shouldn't have to look in there much for modding. Now Referenced libraries are all the code that we'll need to run. You can find all of minecraft's helper libraries in here such as LWJGL. Minecraft itself is in referenced libraries/forgeSrc-1.8...etc.jar.
If you have any problems with the installation please comment on the latest push or email or something.