Command procedure doesn't load and highlightning commands variables

Started by Le lance Flamer on

Topic category: Help with modding (Java Edition)

Last seen on 19:04, 16. Jul 2022
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Command procedure doesn't load and highlightning commands variables
Sun, 04/03/2022 - 08:29 (edited)

Hi everyone,

I have a problem that I encountered in a procedure for my Minecraft command: it doesn't load anymore, I looked in the visual code and there is all the code. I tried to export and import this procedure but it doesn't work anymore. I want to add some code in this procedure but I can't add a single block in the procedure, I right click, it gives me "delete ... blocks" but I looked in the "Warnings and errors" part and I saw 1 warning that says: "Loop block has either empty condition or body. Skipping this block." This could be a cause but then how to prevent this problem.

And now, with that problem, I can't compile anymore my mod...

Now, it's not a problem what you're about to read: I want to enable highlighting of several parts of my command because it has 3 arguments: argument 0: mob - argument 1: the number of mobs to spawn - argument 2 (optional): coordinates

Edited by Le lance Flamer on Sun, 04/03/2022 - 08:29