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.
Example: C://eclipse/workspace/TutWorkspace/
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:
"C://Users/Tutorial/Workspace/TutModWorkspace/"
Wrong Example:
"C://Users/Tutorial/Workspace/TutModWorkspace/.eclipse/"
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:
[/pre]
[pre]--version 1.7
- The version of either the decompiler or minecraft. Works as 1.7, so I wouldn't suggest changing it, cause that may crash[/pre]
[pre]
--tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker
- This is required, without it, minecraft crashes.[/pre]
[pre]
--accessToken=Player001
- Same as the username, Not entirely sure the purpose, but I'm pretty sure it crashes if you don't have it.[/pre]
[pre]
--username=Player001
- The username you wanna use for the testing[/pre]
[pre]
--assetsDir=eclipse/assets
- For sounds, you want to put this if you want them![/pre]
[pre]
--userProperties=Player001
- 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]
[/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]
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumMake 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.
Example: C://eclipse/workspace/TutWorkspace/
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:
"C://Users/Tutorial/Workspace/TutModWorkspace/"
Wrong Example:
"C://Users/Tutorial/Workspace/TutModWorkspace/.eclipse/"
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:
Step 5: And use this as the VM Arguments:
I hope that this helped you set up a workspace.
97
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumYou're right, I'll update that. Thanks
Edit: Saw the post above, and that should be what you need to do @keomate88
97
-
View User Profile
-
View Posts
-
Send Message
Curse Premium[/pre] [pre]--version 1.7 - The version of either the decompiler or minecraft. Works as 1.7, so I wouldn't suggest changing it, cause that may crash[/pre] [pre][/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]
97
I got a folder instead of a .zip file when I downloaded the Src.
Any ideas why that happened?
This post is probably a big help, but I'm trying to do this on my Mac. Any ideas?