Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Any alternative to setupDecompWorkspace that doesn't involve Intellij or Eclipse?


Recommended Posts

I'm trying to setup forge for 1.16 modding and gradle is giving me a lot of problems. I know that pre-1.13, you could get away with gradle setupDecompWorkspace, which is now gone. The only possibilities I found online require Eclipse or IntelliJ to do the setting up for you, but I would preferrably do without an IDE (I use Sublime Text, if that can be considered one). Is this not a possibility anymore?

Link to post
Share on other sites
gradlew build
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.10.3/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

> Configure project :
Java: 1.8.0_281 JVM: 25.281-b09(Oracle Corporation) Arch: amd64
New Dep: net.minecraftforge:forge:1.16.4-35.1.37_mapped_snapshot_20201028-1.16.3

> Task :compileJava
2021-03-08 17:30:20,182 Task worker for ':' Thread 2 WARN Advanced terminal features are not available in this environment
Note: SpongePowered MIXIN Annotation Processor Version=0.8.2
Note: ObfuscationServiceMCP supports type: "searge"
Note: ObfuscationServiceMCP supports type: "notch"
C:\projects\betterSlabs\src\main\java\com\lenerdv\better_slabs\BetterSlabs.java:3: error: package cpw.mods.fml.common does not exist
import cpw.mods.fml.common.Mod;
                          ^
C:\projects\betterSlabs\src\main\java\com\lenerdv\better_slabs\BetterSlabs.java:5: error: cannot find symbol
@Mod(modid = BetterSlabs.modId, version = BetterSlabs.version)
 ^
  symbol: class Mod
2 errors

> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation 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. Run with --scan to get full insights.

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

 

Link to post
Share on other sites
7 minutes ago, LexManos said:

Correct, that class does not exist in 1.16, it has not existed for quite some time. As in at least 3 years.

Update your code to 1.16.

Then what is the class for the @ Mod annotation?

 

Link to post
Share on other sites

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Patreon: http://www.patreon.com/lexmanos
Paypal: http://paypal.me/LexManos

BitCoin: 1Q8rWvUNMM2T1ZfDaFeeYQyVXtYoeT6tTn

Link to post
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.

Guest
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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.