New procedure block: "Each [insert number here] ticks do:" [SOLVED]

Started by MargoxaTheGamer on

Topic category: Feature requests and ideas for MCreator

Last seen on 14:53, 23. Aug 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
New procedure block: "Each [insert number here] ticks do:" [SOLVED]
Mon, 05/17/2021 - 11:31 (edited)

Wait procedure block was recently added to MCreator, I was very happy of that, but then I felt like it's not enough. I wanted to make a potion effect, that should do something not every tick, but every 20th tick and I couldn't do that with current wait/delay procedure, so I would be very happy if that would be implemented in MCreator, it would be very useful.

Edited by MargoxaTheGamer on Mon, 05/17/2021 - 11:31
You can use player tick…
Sun, 03/28/2021 - 11:39

You can use player tick event and count player variable and do action only on eg. multiplies of 20 of the counter. So counter increments by one each tick, when multiple of 20 -> do own thing each 20th tick

Last seen on 16:52, 9. Apr 2024
Joined Oct 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah, as Klemen said, things…
Mon, 04/26/2021 - 10:01

Yeah, as Klemen said, things like this are already possible for a long time and pretty easily, do you wanna show how to do it?

Last seen on 14:53, 23. Aug 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I didn't need another answer…
Mon, 04/26/2021 - 14:45

I didn't need another answer. The Klemen's answer was enough, I'm using NBTTags to do this for some weeks already. I'm surprised, that this post still even gets comments, and not the other, newer one.

Last seen on 16:52, 9. Apr 2024
Joined Oct 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Welp, let me suprise you…
Wed, 05/12/2021 - 05:34

Welp, let me suprise you second time by writting this