Code wont regenerate after deleting items

Started by LeDamy on

Topic category: Troubleshooting, bugs, and solutions

Active 3 days ago
Joined Jan 2022
Points:
591

User statistics:

  • Modifications: 2
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
Code wont regenerate after deleting items

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…
Sat, 07/01/2023 - 11:54

You have deleted mod element that is still used by other mod elements. Clear those usages that remained, namely in LuckyBlocksUltimate2Mod

Active 3 days ago
Joined Jan 2022
Points:
591

User statistics:

  • Modifications: 2
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
I already cleaned everything…
Sat, 07/01/2023 - 17:05

I already cleaned everything in connection with the items: Recipieces, Localisation and even textures

One of the trades …
Sun, 07/02/2023 - 10:00

One of the trades (LuckyBlocksUltimate2ModTrades) is still using it, or this error would not be showing in the console