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)
If you need to learn java check out thenewboston.org they helped me learn a lot on this java stuff
Also watch a couple tutorials on youtube how to mod on forge or look at the wiki (The wiki has multiple languages) AFTER you learn java
OK its happening again this happens in eclipse:
As an error
Description Resource Path Location Type
Project 'Minecraft' is missing required library: '/Users/Vincent-Laptop/mcforge/unresolved dependency - forgeSrc 1.7.2-10.12.0.1024' Minecraft Build path Build Path Problem
Log:
FAILURE: Build failed with an exception.
* What went wrong:
Task 'setupDecompWorkspace' not found in root project 'Vincent-Laptop'.
* Try:
Run gradlew tasks to get a list of available tasks. Run with --info or --debug option to get more log output.
* Exception is:
org.gradle.execution.TaskSelectionException: Task 'setupDecompWorkspace' not found in root project 'Vincent-Laptop'.
at org.gradle.execution.TaskSelector.getSelection(TaskSelector.java:69)
at org.gradle.execution.commandline.CommandLineTaskParser.parseTasks(CommandLineTaskParser.java:41)
at org.gradle.execution.TaskNameResolvingBuildConfigurationAction.configure(TaskNameResolvingBuildConfigurationAction.java:45)
at org.gradle.execution.DefaultBuildExecuter.configure(DefaultBuildExecuter.java:42)
at org.gradle.execution.DefaultBuildExecuter.access$100(DefaultBuildExecuter.java:23)
at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:48)
at org.gradle.execution.ExcludedTaskFilteringBuildConfigurationAction.configure(ExcludedTaskFilteringBuildConfigurationAction.java:46)
at org.gradle.execution.DefaultBuildExecuter.configure(DefaultBuildExecuter.java:42)
at org.gradle.execution.DefaultBuildExecuter.access$100(DefaultBuildExecuter.java:23)
at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:48)
at org.gradle.execution.DefaultTasksBuildExecutionAction.configure(DefaultTasksBuildExecutionAction.java:38)
at org.gradle.execution.DefaultBuildExecuter.configure(DefaultBuildExecuter.java:42)
at org.gradle.execution.DefaultBuildExecuter.select(DefaultBuildExecuter.java:35)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:155)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:113)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:81)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:64)
at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:35)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)
at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
at org.gradle.launcher.Main.doAction(Main.java:46)
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
at org.gradle.launcher.Main.main(Main.java:37)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:58)
BUILD FAILED
I am doing everything related to the tutorials on youtube I need real bad help
I am trying to run install.sh from terminal by doing this,
First I type: cd
Then I type: bash
Then I drag the file into terminal
I press enter and I get: python: can't open file 'install.py': [Errno 2] No such file or directory.
I also just dragged it staight in and I get: python: can't open file 'install.py': [Errno 2] No such file or directory.
I have java installed: 1.6.0 jdk and 1.6.0 jre