Can someone tell me what I did wrong?

Started by Dokneso on

Topic category: Help with modding (Java Edition)

Last seen on 15:56, 3. Apr 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can someone tell me what I did wrong?

I have a problem...

I`m not sure what`s wrong with this code. And that`s the picture with blocks.

The error says "Statement do does not support local variables"

Last seen on 15:21, 16. Oct 2023
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block "Wait X ticks, then on…
Sun, 10/30/2022 - 18:40

Block "Wait X ticks, then on server side" doesn't support local variables. That mean you can't use variables that you create inside procedure (like your variable "ifItemOnCouldown".