Forge setup for micro MOD creation is not successful: Task'setupDecompWorkspace' not found in root project

Asked 2 years ago, Updated 2 years ago, 36 views

I'm making a micro MOD, but I can't set up forge well.
↓ Command Prompt

C:\Users\81704\OneDrive\Desktop\forge-1.12.2-14.23.5.2859-mdk(1)>gradlew setupDecompWorkspace
To honour the JVM settings for this build a new JVM will be forked. Please consumer using the daemon: https://docs.gradle.org/4.9/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

>Configure project:
New Dep:net.minecraftforge:forge:1.12.2-14.23.5.2859_mapped_snapshot_20171003-1.12

FAILURE—Build failed with an exception.

* What was wrong:
Task 'setupDecompWorkspace' not found in root project 'forge-1.12.2-14.23.5.2859-mdk(1).

* Try:
Run gradlew tasks to get a list of available tasks.Run with --stacktrace option to get the stack trace.Run with --info --debug option to get more log output.Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use' -- warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 6s

https://www.youtube.com/watch?v=RGm8OumDf1I

Please let me know if you know the cause of the ↑ video.

Enter a description of the image here

java

2022-09-30 16:38

1 Answers

Running the gradlew setupDecompWorkspace for setting up Mdk is a way for old Forge.The implementation has now been removed because a new method is being used, and the Task'setupDecompWorkspace' not found, or setupDecompWorkspace, is missing.

The correct method is written in English on the included README.txt.

Step 2: You're left with a choice.
If you prefer to use Eclipse:

(omitted)

If you prefer to use IntelliJ:

In other words, if you are using Eclipse, run gradlew genEclipseRuns and if you are using IntelliJ, import the project as it is.

If you search Task'setupDecompWorkspace'not found in root project for the most important part of the error message, you will find some problems solving it, so please use it as a reference for how to do it.You should also be able to read official documents such as README.txt and http://mcforge.readthedocs.io/en/latest/gettingstarted/.


2022-09-30 16:38

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.