So. I recently found out how to setup a 1.8 mod. I decided to show you how to too. here we go!
Make sure you have the JDK installed and eclipse installed before you start these steps, otherwise it won't work...
Step 1: Go to files.minecraftforge.net and: - Scroll down to branches, and select 1.8 - Download the version you want, as Src, not Installer.
Step 2: Extract the forge zip you downloaded to a new, empty folder. I'll call it "TutMod". Shift Right click in the "TutMod" folder and choose 'Open command window here'.
Step 3: In the command prompt opened in "TutMod", run the command 'gradlew setupDecompWorkspace --refresh-dependencies'. Let it finish.
Step 4: Once it's finished, in the same command prompt you opened run 'gradlew eclipse'.
Step 5: Create another new folder, and name it something like 'TutWorkspace'.
Step 6: Start up Eclipse, and set the workspace to the "TutWorkspace" folder you just created.
Step 7: In Eclipse, go to the File tab on the top and choose the path File>Import, then General>Existing projects into workspace. Select "Existing projects into workspace".
Step 8: In the next window after "Existing projects into workspace", in the 'Select root directory' box, direct eclipse to the Root Directory of the folder you extracted forge and ran the command prompt commands. Example:
To add a Client Run configuration:
Step 1: Open the Run menu and choose, 'Run Configurations...'
Step 2: In 'Run Configurations...', right click 'Java Application' on the left side, and select 'New'
Step 3: In the new Java Application, For the main class, use net.minecraft.launchwrapper.Launch
Step 4: Go to the next tab, should be pretty much directly above the main class, and it should have 2 boxes, one for the program arguments, one for VM arguments. Set this for the program arguments:
- The version of either the decompiler or minecraft. Works as 1.7, so I wouldn't suggest changing it, cause that may crash[/pre]
- This is required, without it, minecraft crashes.[/pre]
- Same as the username, Not entirely sure the purpose, but I'm pretty sure it crashes if you don't have it.[/pre]
- The username you wanna use for the testing[/pre]
- For sounds, you want to put this if you want them![/pre]
- The same as username and accessToken. Not entirely sure, but it's better just to keep it the same as the other two.[/pre]
[pre]So if you really need any really specific descriptions (I know that I didn't do the best job explaining here), you could go to google, or youtube probably has something too. But pretty much everything there is required to run a modded minecraft. XD Just ignore the [pre] [/pre][/pre]