Custom biome error with Fabric generator

Started by ToasterMan on

Topic category: Help with MCreator software

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom biome error with Fabric generator

Hello, I'm trying to make a custom biome with custom trees, grass and dirt. When i try to compile the mod i get this:
Executing Gradle task: build
Build info: MCreator 2023.2.24119, fabric-1.19.2, 64-bit, 8094 MB, Windows 10, JVM 17.0.5, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2023-06-24-19:44:23


BUILD FAILED
Task completed in 45 seconds

> Configure project :
Fabric Loom: 1.0.18
Not publishing sources jar as it was not found. Use java.withSourcesJar() to fix.
> Task :compileJava FAILED
C:\Users\Matijo\MCreatorWorkspaces\lucaro_mod\src\main\java\net\mcreator\lucaromod\init\LucaroModModBiomes.java:21: error: cannot find symbol  SmwBiomeBiome.createBiome();
 ^
symbol: variable SmwBiomeBiome
location: class LucaroModModBiomes
C:\Users\Matijo\MCreatorWorkspaces\lucaro_mod\src\main\java\net\mcreator\lucaromod\init\LucaroModModBiomes.java:25: error: cannot find symbol  Regions.register(new SmwBiomeRegion(new ResourceLocation(LucaroModMod.MODID, "smw_biome")));
   ^
symbol: class SmwBiomeRegion
location: class LucaroModModBiomes
2 errors
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 4s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 6 seconds

Does anyone know how to solve this issue? Thank you.