Jump to content

[Solved] [1.8] How to update Forge version


LordMastodon

Recommended Posts

So, I loaded up the dev environment and saw that there's a new version of Forge. I'm wondering if there's a way to update my version without downloading the new version from the website and setting up the whole thing again and just inserting all my class files. I'm pretty sure this existed in 1.7.10 because I saw a Pahimar video on it, but does it exist for 1.8? And if so, how can I use it?

Who are you? Why have you brought me here? And why are there so many PewDiePie fanboys surrounding meeeeeeeee....... *falls into pit and dies*.

 

Also this. Check it out.

width=700 height=200http://i.imgur.com/J4rrGt6.png[/img]

Link to comment
Share on other sites

It's the same for any version of Forge that uses ForgeGradle: change the

minecraft.version

field in your build.gradle script to the appropriate version from files.minecraftforge.net and refresh or regenerate your IDE project.

 

Recent versions of 1.8 have changed the way that the ForgeGradle plugin is applied (since there's now a stable version rather than a snapshot), so if you're updating to version 1503 or newer you should copy the changes to your build.gradle script.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

How do I refresh/regenerate my project (using Eclipse)? Also, how would I know what changes are being made (updating to 1506)?

Who are you? Why have you brought me here? And why are there so many PewDiePie fanboys surrounding meeeeeeeee....... *falls into pit and dies*.

 

Also this. Check it out.

width=700 height=200http://i.imgur.com/J4rrGt6.png[/img]

Link to comment
Share on other sites

For Eclipse, run

gradlew setupDecompWorkspace cleanEclipse eclipse

. For IDEA, run the

setupDecompWorkspace

task and then refresh it in the Gradle tab.

 

Download and extract the version 1506 MDK (the new name for the src download), open its build.gradle file in a text editor and compare it to your current one. You'll want to replace the

buildscript

block and

apply plugin

line of your build.gradle with the

plugins

block of the new build.gradle.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

So for the new src should I also run the whole

gradlew setupDecompWorkspace --refresh-dependencies

and

gradlew eclipse

on it or just copy the file immediately after download?

Who are you? Why have you brought me here? And why are there so many PewDiePie fanboys surrounding meeeeeeeee....... *falls into pit and dies*.

 

Also this. Check it out.

width=700 height=200http://i.imgur.com/J4rrGt6.png[/img]

Link to comment
Share on other sites

There's no need to run Gradle for the MDK download, just copy the ForgeGradle plugin declaration and Forge version from the build.gradle file into yours and run the Gradle commands I mentioned for your project.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

Did what you said, and I got this crash report from the command:

 

Download https://plugins.gradle.org/m2/gradle/plugin/net/minecraftforge/gradle/ForgeGradle/2.0.1/ForgeGradle-2.0.1.pom
Download https://plugins.gradle.org/m2/gradle/plugin/net/minecraftforge/gradle/ForgeGradle/2.0.1/ForgeGradle-2.0.1.jar

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'Robot Sculptures'.
> ForgeGradle 2.0 requires Gradle 2.3 or above.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1 mins 18.115 secs

 

So yeah...

Who are you? Why have you brought me here? And why are there so many PewDiePie fanboys surrounding meeeeeeeee....... *falls into pit and dies*.

 

Also this. Check it out.

width=700 height=200http://i.imgur.com/J4rrGt6.png[/img]

Link to comment
Share on other sites

I've downloaded the most recent version of Gradle (2.6) from the website and extracted it into my downloads folder, but how do I tell ForgeGradle where it is?

Who are you? Why have you brought me here? And why are there so many PewDiePie fanboys surrounding meeeeeeeee....... *falls into pit and dies*.

 

Also this. Check it out.

width=700 height=200http://i.imgur.com/J4rrGt6.png[/img]

Link to comment
Share on other sites

If you have Gradle installed on your computer, you can use that instead of the wrapper, by using

gradle

instead of

gradlew

in the commands.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

It solved my Gradle problem, but the script is still throwing errors:

 

Download https://plugins.gradle.org/m2/gradle/plugin/net/minecraftforge/gradle/ForgeGradle/2.0.1/ForgeGradle-2.0.1.pom
Download https://plugins.gradle.org/m2/gradle/plugin/net/minecraftforge/gradle/ForgeGradle/2.0.1/ForgeGradle-2.0.1.jar
**********************
Powered By MCP:
http://modcoderpack.com/
Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
MCP Data version : 9.10
**********************
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
Download http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.8-11.14.3.1506/forge-1.8-11.14.3.1506.pom
Download http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.8-11.14.3.1506/forge-1.8-11.14.3.1506-userdev.jar
:extractMcpData
Download http://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp/1.8/mcp-1.8-srg.zip
:extractMcpMappings
:genSrgs
:downloadClient SKIPPED
:downloadServer SKIPPED
:splitServerJar
:mergeJars
:deobfMcSRG
Applying SpecialSource...
Applying Exceptor...
:getFernFlower SKIPPED
:decompileMc
:fixMcSources
:applySourcePatches
:remapMcSources
:recompileMc
Download https://libraries.minecraft.net/com/mojang/authlib/1.5.21/authlib-1.5.21.pom
Download https://libraries.minecraft.net/com/mojang/authlib/1.5.21/authlib-1.5.21.jar
[ant:javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[ant:javac] Note: Some input files use or override a deprecated API.
[ant:javac] Note: Recompile with -Xlint:deprecation for details.
[ant:javac] Note: Some input files use unchecked or unsafe operations.
[ant:javac] Note: Recompile with -Xlint:unchecked for details.
[ant:javac] 1 warning
:extractNatives
:getAssetIndex UP-TO-DATE
:getAssets
Current status: 16/734    2%
Current status: 41/734    5%
Current status: 118/734    16%
Current status: 208/734    28%
Current status: 313/734    42%
Current status: 394/734    53%
Current status: 483/734    65%
Current status: 514/734    70%
Current status: 585/734    79%
Current status: 679/734    92%
Current status: 733/734    99%
:makeStart
[ant:javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[ant:javac] C:\Users\<username>\Desktop\Projects\Minecraft\Robot Sculptures\build\tmp\makeStart\extracted\net\minecraftforge\gradle\tweakers\CoremodTweaker.java:35: error: cannot find symbol
[ant:javac]             Field coreModList = GradleStartCommon.getFmlClass("fml.relauncher.CoreModManager", classLoader).getDeclaredField("loadPlugins");
[ant:javac]                                                  ^
[ant:javac]   symbol:   method getFmlClass(String,LaunchClassLoader)
[ant:javac]   location: class GradleStartCommon
[ant:javac] C:\Users\<username>\Desktop\Projects\Minecraft\Robot Sculptures\build\tmp\makeStart\extracted\net\minecraftforge\gradle\tweakers\CoremodTweaker.java:39: error: cannot find symbol
[ant:javac]             Class<ITweaker> clazz = (Class<ITweaker>) GradleStartCommon.getFmlClass("fml.relauncher.CoreModManager$FMLPluginWrapper", classLoader);
[ant:javac]                                                                        ^
[ant:javac]   symbol:   method getFmlClass(String,LaunchClassLoader)
[ant:javac]   location: class GradleStartCommon
[ant:javac] C:\Users\<username>\Desktop\Projects\Minecraft\Robot Sculptures\build\tmp\makeStart\extracted\net\minecraftforge\gradle\tweakers\CoremodTweaker.java:61: error: cannot find symbol
[ant:javac]                     File newFile = GradleStartCommon.coreMap.get(coreMod.getClass().getCanonicalName());
[ant:javac]                                                     ^
[ant:javac]   symbol:   variable coreMap
[ant:javac]   location: class GradleStartCommon
[ant:javac] C:\Users\<username>\Desktop\Projects\Minecraft\Robot Sculptures\build\tmp\makeStart\extracted\net\minecraftforge\gradle\tweakers\CoremodTweaker.java:92: error: cannot find symbol
[ant:javac]             Field f = GradleStartCommon.getFmlClass(COREMOD_CLASS, classLoader).getDeclaredField(TWEAKER_SORT_FIELD);
[ant:javac]                                        ^
[ant:javac]   symbol:   method getFmlClass(String,LaunchClassLoader)
[ant:javac]   location: class GradleStartCommon
[ant:javac] 4 errors
[ant:javac] 1 warning
:makeStart FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':makeStart'.
> Compile failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 13 mins 53.221 secs

 

No clue why that's not working...

Who are you? Why have you brought me here? And why are there so many PewDiePie fanboys surrounding meeeeeeeee....... *falls into pit and dies*.

 

Also this. Check it out.

width=700 height=200http://i.imgur.com/J4rrGt6.png[/img]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.