Started by
Morrigan Narukami
on
Topic category: Troubleshooting, bugs, and solutions
I'm trying to create an mini mod for an personal modpack I'm creating. It runs on Fabric 1.20.1 and the intention is to have an dimension just for the players to spawn in (the mod will just add the dimension btw)
The thing is, no matter what I add, this error always appears. At the moment there is just one block
What I need to do for it to work? Does it needs to be an specific MCreator version or something like that?
Log:
> Configure project :
Fabric Loom: 1.4.6
> Task :compileJava
C:\Users\[MY USER]\MCreatorWorkspaces\spawn_dimension\src\main\java\net\mcreator\spawndimension\SpawnDimensionMod.java:35: error: cannot find symbol SpawnDimensionModItems.load();
^
symbol: variable SpawnDimensionModItems
location: class SpawnDimensionMod
1 error
> 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 --info option to get more log output.
> Run with --scan to get full insights.
BUILD FAILED in 10s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 19 seconds
.java code:
I've did not changed anything on the code. I'm just sending it in case it helps somehow
The generator I'm using:
Edited by Morrigan Narukami on Wed, 07/17/2024 - 08:41
What MCreator version are you using?
The most recent one (2024.2). I've downloaded yesterday, so I thought it would be better to use the most recent version
the fabric generator you are using is only compatible with 2023.4
Oh, I see.
Is there any other fabric generator that is compatible with 2024.2? Or this is the only one avaliable?
I think it is the only one since I can't find any others, and it's creator won't update it ever again, so the only way to make fabric mods is to use 2023.4
Damn. Well, I tried to use 2023.4 version and it works, although somethings were a little confusing to why was causing some errors (but I managed to make it work)
Thanks dude
You're welcome