Wait procedure in if statement

Started by MossyNick on

Topic category: Help with modding (Java Edition)

Last seen on 13:40, 9. May 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wait procedure in if statement

I want to make an effect that heals entities udner 100 health and damage above 100 health but now it just goes every tick and I want it every second, I have tried a couple of things like adding a 'wait ... ticks then on server side' but that just waits and then does whats inside every tick

You need to do counter…
Fri, 05/03/2024 - 17:09

You need to do counter. Store data somewhere, e.g. in player variable. Each tick, increment number by 1. When it reaches 20, reset counter and do action

I suggest you check our…
Fri, 05/03/2024 - 17:09

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei

There are some counter tutorials