MCreator not regenerating correctly after update

Started by xpecttt on

Topic category: Help with MCreator software

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MCreator not regenerating correctly after update

So I updated my MCreator workspace from 2025.3 to 2026.1 and now everything is kinda broken.

I ran the game directly after the update and I got this error for every block that I have in my mod:
.../init/mod_namespaceModBlockEntities.java:27: error: cannot find symbol public static final DeferredHolder<BlockEntityType<?>, BlockEntityType<InfectionFleshBlockEntity>> INFECTION_FLESH = register("infection_flesh", mod_namespaceModBlocks.INFECTION_FLESH, InfectionFleshBlockEntity::new);
^
symbol: class InfectionFleshBlockEntity
location: class mod_namespaceModBlockEntities

init\mod_namespaceModBlocks.java:40: error: cannot find symbol INFECTION_FLESH = register("infection_flesh", InfectionFleshBlock::new);
^
symbol: class InfectionFleshBlock
location: class mod_namespaceModBlocks

I tried fixing it by restoring files from a backup.

But now when I run the game, all my blocks show up as purple/black missing textures.
The console shows this: 

Missing model for variant: 'Block{mod_namespace:infection_flesh}'
No model loaded for default item model ID mod_namespace:infection_flesh

Also, whenever I click “Regenerate code and build”, MCreator just deletes the files I manually restored (models, textures, etc.) and the problem comes back again.

Not sure if theres any fix other than downgrading again.

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah I use plugins, but I…
Wed, 04/01/2026 - 09:31

Yeah I use plugins, but I was not getting any errors for them. I removed the outdated ones before even starting that workspace and I was just left with my plugin which I updated to work on 2026.1 and JEI which was already updated on the plugin download site so I just downloaded the new version. Now I checked again but I'm not getting any errors for those 2 plugins I have right now. 

Also can you specify where I actually need to go on github and what I need to do on there, or what I need to do in general.

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alright so I have searched…
Wed, 04/01/2026 - 09:36

Alright so I have searched around the workspace a bit and found some elements from past plugins that managed to not get detected. I regenerated the code and now its working correctly, I'm not getting any errors.

Still thanks Klemen