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?