one or more of your main mod files didnt compile properly

Started by CollinMods on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 13:42, 4. Jun 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
one or more of your main mod files didnt compile properly

Error Message:

return serverLevelAcc.level().getServer().getLevel(Level.OVERWORLD).getDataStorage().computeIfAbsent(e -> MapVariables.load(e), MapVariables::new, DATA_NAME);
^
symbol: method level()
location: variable serverLevelAcc of type ServerLevelAccessor
1 error
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 3s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 38 seconds

I tried reinstalling, deleting caches, deleting gradle folder, making new workspace, reinstalling Java

Last seen on 13:42, 4. Jun 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh yeah im running it on…
Thu, 05/23/2024 - 13:52

oh yeah im running it on 2023.4 and Fabric 1.20.1 Generator version 1.10 from GOLDORION