I unzipped the Forge mdk to it's own folder, i moved the build.gradle, gradlew.bat, gradlew, and the gradle folder into a new folder(within the folder that i unzipped all the contents to), as per instructions on the Forge documentation page. I then launched InteliJ, selected open, then selected the folder where I moved the build.gradle, and other gradle files. It doesn't build right away due to something odd going on with my JDK (sometimes IntelliJ wants to use an older JDK that is no longer installed on my system, I can't seem to figure out why), so I select the correct JDK manually, refresh the project, and the gradle builds automatically.
Hello, I've been coding for a few years now and I almost have a full semester of OOP Java under my belt so I thought it was high time I start modding for Minecraft, something I've been wanting to do for years. However, I've experienced too many technical roadblocks that I simply cannot solve. Eclipse doesn't seem to agree with my system for some reason, so InteliJ and it's built-in Gradle support is my last hope. I'm entirely out of options. That aside, I've gotten a Forge Gradle environment set up for modding with InteliJ using forge version 28.1.0 for minecraft 1.14.4, and the JDK is 1.8.0_231. I unzipped the Forge kit, got the environment set up, loaded it all up in IntetliJ, got the following error while building the gradle project: "Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0" However it seemed to shrug it off for the most part. The biggest immediate problem was the red lines in the Gradle project tab under both the main and test folders along with their respective dependencies. Hovering over them gives me: "Unable to resolve: net.minecraftforge:forge:1.14.4-28.1.0_mapped_snapshot_20190719-1.14.3" I chose to ignore it for now and run the genInteliJRuns option, followed by running buildClient to make sure everything was working smoothly. Trying to run the client fails of course citing the same error as the one above and as follows: > Task :runClient FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':runClient'. > Could not resolve all files for configuration ':runtimeClasspath'. > Could not resolve net.minecraftforge:forge:1.14.4-28.1.0_mapped_snapshot_20190719-1.14.3. Required by: project : > Could not resolve net.minecraftforge:forge:1.14.4-28.1.0_mapped_snapshot_20190719-1.14.3. > Could not get resource 'https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.14.4-28.1.0_mapped_snapshot_20190719-1.14.3/forge-1.14.4-28.1.0_mapped_snapshot_20190719-1.14.3.pom'. > Could not GET 'https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.14.4-28.1.0_mapped_snapshot_20190719-1.14.3/forge-1.14.4-28.1.0_mapped_snapshot_20190719-1.14.3.pom'. > This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server (files.minecraftforge.net) I've gotten similar but different errors before but this is the most recent one. I'm almost ready to give up on modding because this has taken several days now and I've gotten no where. Any help would be much appreciated.