Uncertainty with Build stability - "Cannot Find Symbol"

Started by EmeraldDrgon on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Uncertainty with Build stability - "Cannot Find Symbol"

I remember re-arranging stuff in the creative tab before this error was being thrown- in two locations where I don't understand why it throws errors.

 

Version: 1.19.2

EAP Snapshot 2023.2 17118

 

> Task :mcreatorLink UP-TO-DATE
> Task :compileJava
C:\Users\USERNAME\MCreatorWorkspaces\emedrgcompack\src\main\java\net\mcreator\emedrgcompack\init\EmedrgcompackModBlocks.java:164: error: cannot find symbol public static final DeferredRegister<Block> REGISTRY = DeferredRegister.create(ForgeRegistries.BLOCKS, EmedrgcompackMod.MODID);
^
symbol: variable EmedrgcompackMod
location: class EmedrgcompackModBlocks
C:\Users\USERNAME\MCreatorWorkspaces\emedrgcompack\src\main\java\net\mcreator\emedrgcompack\init\EmedrgcompackModItems.java:28: error: cannot find symbol public static final DeferredRegister<Item> REGISTRY = DeferredRegister.create(ForgeRegistries.ITEMS, EmedrgcompackMod.MODID);
^
symbol: variable EmedrgcompackMod
location: class EmedrgcompackModItems
2 errors

These were preventing me from letting it build.

 

I do have locked code recipes, all they do is use item IDs that the mod and MCreator don't have.

 

If anyone can help, please do!

Update MCreator first, 1.19…
Sun, 09/17/2023 - 08:42

Update MCreator first, 1.19.2 is no longer supported

If this does not help, If possible, open a bug report at github and attach zip of your workspace.

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Update: I even tried…
Sun, 09/17/2023 - 08:45

Update: I even tried unlocking the locked recipes, all locked workspace elements. And it gives the same error.