Wait procedure in if statement

Started by MossyNick on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined May 2024
Points:
120

User statistics:

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