Unable to create blocks - Mcreator 2025.2 (Fabric 1.20.1 Generator)

Started by SillyW0bb on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Unable to create blocks - Mcreator 2025.2 (Fabric 1.20.1 Generator)

I've repeatedly ran into not being able to create blocks with custom block models and at first i simply shrugged it off as the .json file being wired wrong or something - but I've now understood that I can't create blocks at all?

I tried creating a regular block with the built-in model rather than my custom one but even that didn't work.

Joined Apr 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Executing Gradle task:…
Mon, 05/25/2026 - 17:18
Executing Gradle task: runClient 
Build info: MCreator 2025.2.28610, fabric-1.20.1, 64-bit, 15966 MB, Windows 11, JVM 21.0.7, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2026-05-25-19:17:40 
 
> Configure project : 
Fabric Loom: 1.4.6 
> Task :compileJava 
C:\Users\[name]\MCreatorWorkspaces\glup\prevolswbb\src\main\java\net\mcreator\prevolswbb\init\PrevolswbbModBlocks.java:17: error: cannot find symbol 
        STONE_PILLAR = register("stone_pillar", new StonePillarBlock()); 
                                                    ^ 
  symbol:   class StonePillarBlock 
  location: class PrevolswbbModBlocks 
C:\Users\[name]\MCreatorWorkspaces\glup\prevolswbb\src\main\java\net\mcreator\prevolswbb\init\PrevolswbbModBlocks.java:21: error: cannot find symbol 
        StonePillarBlock.clientInit(); 
        ^ 
  symbol:   variable StonePillarBlock 
  location: class PrevolswbbModBlocks 
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 --info option to get more log output. 
> Run with --scan to get full insights. 
BUILD FAILED in 16s 
1 actionable task: 1 executed 
 
BUILD FAILED 
Task completed in 18 seconds
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Get the latest.log and most…
Mon, 05/25/2026 - 22:07

Get the latest.log and most recent crash report

Joined Apr 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't run the client -…
Tue, 05/26/2026 - 08:43

I can't run the client - that's the issue 💔

The build fails as soon as I try to run and thanks that there's no logs from that - unless Mcreator has some system for logs (rather than the logs being put out for the client)

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So the new block you just…
Tue, 05/26/2026 - 09:44

So the new block you just made was StonePillarBlock, what files were generated with your block? The registry cannot find your StonePillarBlock or the syntax is wrong

Do you have any blocks in your mod other than that one? Show me your ModBlockRegistry or at least a part of it

This might just be an issue with the fabric generator where you have inadvertently caused an error so now it is non-functional