"Statement do does not support local variables."

Started by birdboi8 on Fri, 12/17/2021 - 23:54

Topic category: Help with modding (Java Edition)

Last seen on 00:09, 18. Dec 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
"Statement do does not support local variables."
Fri, 12/17/2021 - 23:54

encountered this issue just now.

i have a wait x ticks block, and in the do section i put a set local variable to x block. its giving me the error "Statement do does not support local variables.". what do i do?

Last seen on 13:07, 27. Mar 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
i also have this problem,…
Sat, 03/26/2022 - 19:08

i also have this problem, still havent found an answer :(

Last seen on 05:12, 14. May 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Switching to a global…
Mon, 03/28/2022 - 02:22

Switching to a global variable usually does the trick