"Statement do does not support local variables."

Started by birdboi8 on

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:
  • MCreator plugins:
  • Comments:
"Statement do does not support local variables."

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 11:43, 29. Mar 2024
Joined Mar 2021
Points:

User statistics:

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

Switching to a global variable usually does the trick