Topic category: Troubleshooting, bugs, and solutions
I am currently making a mod and deleted 4 different blocks because i thought they wouldnt fit into the mod. But now my mcreator keeps telling me i need to regenerate the code but it keeps failing and saying:
symbol: variable DELETED_MOD_ELEMENT
location: class LuckyBlocksUltimate2ModItems
C:\Users\ledam\MCreatorWorkspaces\lucky_blocks_ultimate\src\main\java\net\mcreator\luckyblocksultimate\init\LuckyBlocksUltimate2ModTrades.java:88: error: cannot find symbol new ItemStack(LuckyBlocksUltimate2ModItems.DELETED_MOD_ELEMENT.get()), 10, 5, 0.05f));
^
symbol: variable DELETED_MOD_ELEMENT
location: class LuckyBlocksUltimate2ModItems
4 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
Can anyone please help me?
You have deleted mod element that is still used by other mod elements. Clear those usages that remained, namely in LuckyBlocksUltimate2Mod
I already cleaned everything in connection with the items: Recipieces, Localisation and even textures
One of the trades (LuckyBlocksUltimate2ModTrades) is still using it, or this error would not be showing in the console