"Place Structure at X Y Z" procedure block causes compilation error for any procedure it is part of

Started by COMMANDO66 on

Topic category: Troubleshooting, bugs, and solutions

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"Place Structure at X Y Z" procedure block causes compilation error for any procedure it is part of

I am trying to make a procedure that will place my structures instead of using the generator, since said generator can cause structures to be cut off at chunk borders. However, the procedure always causes a compilation error. I did some testing, and found that even just having one "place structure" block as the entire procedure still caused a compilation error, while the other elements of that procedure did not.

I checked the structure files being used, and they are definitely there. In fact, they are used as structures that generate just fine.

I then tried deleting and re-importing the structure files, which did not fix it, utilizing fresh "place structure" blocks from the side menu, which did not fix it, and starting an entirely new procedure, which did not fix it either. What is going on?

 

If a ZIP is required, I have it, but I don't know how to attach it here.

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Update: I found the problem…
Sun, 01/22/2023 - 19:13

Update: I found the problem. Apparently, for some code-related reason, the local variables used in the procedure cannot be the words "Structure" or "Rotation." I solved the issue by replacing them with other words.