"One or more of your main mod files did not compile properly"

Started by GamerBeens on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 20:30, 5. Dec 2023
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"One or more of your main mod files did not compile properly"

So I was making a mod for my superflat world, but the day after i made the 3d models from blockbench i got the error message "One or more of your main mod files did not compile properly"
Even though I clicked regenerate code it poped up again in a few seconds. I also checked if i had any locked mod elements but I don't. Can anyone help me?
part of the console after the error when i pressed run client 

Executing Gradle task: runClient
Build info: MCreator 2023.3.36712, forge-1.20.1, 64-bit, 8077 MB, Windows 11, JVM 17.0.7, JAVA_HOME: C:\Users\ncend\Downloads\MCreator.2023.3.Windows.64bit\jdk, started on: 2023-11-24-14:03:02

> Task :compileJava
C:\Users\ncend\MCreatorWorkspaces\custom_villagers\src\main\java\net\mcreator\customvillagers\block\FireTableBlock.java:7: error: cannot find symbol public class FireTableBlock extends Block {
^
symbol: class Block
C:\Users\ncend\MCreatorWorkspaces\custom_villagers\src\main\java\net\mcreator\customvillagers\block\FireTableBlock.java:13: error: cannot find symbol public boolean propagatesSkylightDown(BlockState state, BlockGetter reader, BlockPos pos) {
^
symbol: class BlockState
location: class FireTableBlock
C:\Users\ncend\MCreatorWorkspaces\custom_villagers\src\main\java\net\mcreator\customvillagers\block\FireTableBlock.java:13: error: cannot find symbol public boolean propagatesSkylightDown(BlockState state, BlockGetter reader, BlockPos pos) {
^
symbol: class BlockGetter
location: class FireTableBlock
C:\Users\ncend\MCreatorWorkspaces\custom_villagers\src\main\java\net\mcreator\customvillagers\block\FireTableBlock.java:13: error: cannot find symbol public boolean propagatesSkylightDown(BlockState state, BlockGetter reader, BlockPos pos) {