error: variable _menu is already defined in method execute(Entity)

Started by thatgirllinzi on

Topic category: Troubleshooting, bugs, and solutions

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
error: variable _menu is already defined in method execute(Entity)

Hi all, I'm having some difficulty updating my mod to 1.21.4 using mcreator 2025.2.

This procedure previously worked but now causes the build to fail.

Download: https://drive.google.com/file/d/1ADG6c2JdW2jSGLc8ZA_Pw0M59sVJmH2z/view?usp=sharing

Here's the error:

I have tried removing all plugins, regenerating the code, and even recreating the procedure from scratch. What has changed that's causing this error?

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In today's build of 2025.2 …
Mon, 07/07/2025 - 03:48

In today's build of 2025.2  that I just updated, I'm getting this  build error now instead from  one of my GUIs. (Also unchanged from previous working versions)

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I regenerated the code with…
Mon, 07/07/2025 - 18:49

I regenerated the code with the bandaid icon but this element still causes the compile error. I am not using any plugins either.

But seems something is not…
Mon, 07/07/2025 - 19:22

But seems something is not right with ProcedureFabricate.

But as I said please send workspace over on github so I can check it out