Started by
Averagemcreato…
on
Topic category: Help with Minecraft modding (Java Edition)
I am trying to create a firearm that will quickly fire 9 rounds with a 6 ticks delay between them. but when I try it, it fires all of them at once.
the blocks I am using:
event trigger
repeat 9 times do
(
wait 6 ticks then on server side do [
]
shoot arrow
)
Edited by Averagemcreatorenjoyer on Mon, 11/07/2022 - 19:30
I have also tried putting the shoot arrow in the wait 6 ticks block, and it didn't work.
Wait does not this way. Wait will not stop current from running but run blocks inside wait block delayed
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
the repeat block does not care about whether or not the code it executes has finished executing before repeating it again. Basically, it triggers all your wait blocks at once.