Started by
Cesitrox
on
Topic category: Help with Minecraft modding (Java Edition)
Im trying to make so when pressing a certain key the player shoot 10 fireballs with 5 ticks between each one but trying to loop the "wait x ticks then on server-side do" doesn't seem to work. When testing the procedure it actually waits the 5 ticks but does not loop.
iirc the wait block registers an event for x ticks later. what you have to do is increasing the x every time the loop runs. like
x=5
do this 10 times {
wait x ticks and do this {
"do something"
}
x=x+5
}
Could you show me the procedure so I can understand it better?