Started by
MossyNick
on
Topic category: Help with Minecraft modding (Java Edition)
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. 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 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