[Solved, kinda] Repeat [number] times BUT with a custom wait time between each thing that is done

Started by RedWirePlatinum on

Topic category: Feature requests and ideas for MCreator

Active 19 hours ago
Joined May 2022
Points:
733

User statistics:

  • Modifications: 1
  • Forum topics: 43
  • Wiki pages: 0
  • MCreator plugins: 2
  • Comments: 149
[Solved, kinda] Repeat [number] times BUT with a custom wait time between each thing that is done
Wed, 09/13/2023 - 23:30 (edited)

I'm not the best at explaining, but I imagine the text for this loop block to look something like this:
repeat [number] times with tick wait time [tick number]

do [insert whatever is to be executed the given amount of times]

As of now, making custom NBT data works just fine as a work-around to this, but I think this would be a cool addition to mcreator :]

Edited by RedWirePlatinum on Wed, 09/13/2023 - 23:30
Active 1 year ago
Joined Oct 2021
Points:
637

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 1
  • Comments: 202
So basically you mean:   …
Sat, 09/10/2022 - 11:41

So basically you mean:

 

while <condition> do:
	<user stuff>
	wait <amount> seconds
	

 

 

 

Active 19 hours ago
Joined May 2022
Points:
733

User statistics:

  • Modifications: 1
  • Forum topics: 43
  • Wiki pages: 0
  • MCreator plugins: 2
  • Comments: 149
yeah, but for people that…
Sat, 09/24/2022 - 06:25

yeah, but for people that don't know anything about java LOL

Active 19 hours ago
Joined May 2022
Points:
733

User statistics:

  • Modifications: 1
  • Forum topics: 43
  • Wiki pages: 0
  • MCreator plugins: 2
  • Comments: 149
(like me)
Sat, 09/24/2022 - 06:26

(like me)

Active 2 years ago
Joined Oct 2022
Points:
297

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
Just put a "wait [] ticks on…
Mon, 10/17/2022 - 20:00

Just put a "wait [] ticks on server-side then do" inside a "repeat [] times" block

Active 19 hours ago
Joined May 2022
Points:
733

User statistics:

  • Modifications: 1
  • Forum topics: 43
  • Wiki pages: 0
  • MCreator plugins: 2
  • Comments: 149
Everything still executes…
Sat, 10/22/2022 - 22:06

Everything still executes all at once instead of waiting [number] amount of ticks then doing said thing.