Goldorion / Fabric-Generator-MCreator

A Fabric Generator plugin for MCreator
Other
111 stars 40 forks source link

[Bug] Adding any procedure trigger to an entity causes a compilation error. #515

Closed arcade-smasher closed 7 months ago

arcade-smasher commented 7 months ago

Issue tracker rule checks (please read carefully)

Issue description

I was trying to add a procedure to one of my mob's triggers, when it gave me a build error.

How to reproduce this issue?

  1. Make an entity.
  2. Make a procedure.
  3. Go to the triggers tab in the entity from step 1.
  4. Add the procedure to any one of the triggers.
  5. Save the workspace.
  6. You will get a compilation error.

Here is an example of the trigger giving a build error.

https://github.com/Goldorion/Fabric-Generator-MCreator/assets/83091369/8189540d-34a5-4fc2-b9ff-5cfde5111e4a

Operating system

Windows

Details

MCreator version 2023.4 Genorator type: fabric 1.20.1

Example workspace

No response

Logs

No response

Goldorion commented 7 months ago

Please provide a minimal reproducible workspace.

smmmadden commented 7 months ago

@arcade-smasher - nice that you added the MOV file to show it, but you didn't provide the procedure details that is causing the compilation error.