Fabric generator bug when creating biome, constantly asking me to regenerate code. 2023.2

Started by NomoPlayz_YT on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Fabric generator bug when creating biome, constantly asking me to regenerate code. 2023.2

I added a biome to the game and it caused mcreator to constantly ask me to regenerate the code, this is the error in console.


Executing Gradle task: build
Build info: MCreator 2023.2.24119, fabric-1.19.2, 64-bit, 16187 MB, Windows 11, JVM 17.0.5, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2023-08-28-12:24:16

> Configure project :
Fabric Loom: 1.0.18
Not publishing sources jar as it was not found. Use java.withSourcesJar() to fix.
> Task :compileJava
C:\Users\----\MCreatorWorkspaces\eldritchhorror\src\main\java\net\mcreator\eldritchhorror\init\EldritchhorrorModBiomes.java:20: error: cannot find symbol BarrenCusplandBiome.createBiome();
^
symbol: variable BarrenCusplandBiome
location: class EldritchhorrorModBiomes
C:\Users\----\MCreatorWorkspaces\eldritchhorror\src\main\java\net\mcreator\eldritchhorror\init\EldritchhorrorModBiomes.java:24: error: cannot find symbol Regions.register(new BarrenCusplandRegion(new ResourceLocation(EldritchhorrorMod.MODID, "barren_cuspland")));
^
symbol: class BarrenCusplandRegion
location: class EldritchhorrorModBiomes
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
BUILD FAILED in 6s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 11 seconds