Creating any dimension fails build

Started by SlimePuppy on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 22:51, 18. Mar 2024
Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Creating any dimension fails build

I cant build a dimension in my mod, I tried a bunch of different names and properties.

My active external APIs are the Curios API, GeckoLib and the JEI api

Here's the project: https://drive.google.com/file/d/1ZeZirfDpwGA9WWaVBRNGapzVojkvAM88/view?usp=sharing

(sorry if I'm not giving enough info, I'm bad at making Forum posts lol)

This is what the console returns:

> Task :compileJava FAILED
D:\mcreator\echofinity\src\main\java\gay\slimesanctum\echofinity\world\dimension\MainechofinityDimension.java:31: error: EFFECTS has private access in DimensionSpecialEffects event.enqueueWork(() -> DimensionSpecialEffects.EFFECTS.put(new ResourceLocation("echofinity:mainechofinity"), customEffect));
^
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 --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
BUILD FAILED in 2s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 46 seconds
Last seen on 11:57, 14. Apr 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did you edited your code?
Tue, 02/27/2024 - 20:30

Did you edited your code?

Last seen on 07:35, 14. Apr 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No
Sat, 03/09/2024 - 12:33

No