Can someone tell me what I did wrong?

Started by Dokneso on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 months ago
Joined Mar 2022
Points:
443

User statistics:

  • Modifications: 0
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
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"

Active 1 year ago
Joined Oct 2021
Points:
621

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 1
  • Comments: 202
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".