SOUND Stacking When Procedure is in the ON UPDATE TICK trigger tab

Started by Mr.FEG on

Topic category: Help with MCreator software

Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
SOUND Stacking When Procedure is in the ON UPDATE TICK trigger tab

Hello..I currently working on a sound on block it works perfectly fine but i want to loop the sound so i cfreated a procedure that i put the play sound and also a wait block for n ticks for how long my sound is it works and put that procedure to on tick update in trigger tab but when i do that the sound gets multiplied or stacking so i removed the wait block completely still the sound gets stacked so i added provided wolrd client side the sound completely not workng The Point is why am i adding  that to on update tick when player leaves the world and rejoins the Sound still Plays but it is working when i put on the on update tick trigger the problem is the sound keeps stacking up what should i do please send me images of your procedure if you found a solution to it thanks

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The wait block is not a…
Tue, 05/20/2025 - 11:23

The wait block is not a timer, the procedure will still run 20 times per second, but each iteration of the procedure will be delayed by the amount you put in the wait block. Basically, it still plays the sound 20 times per second, but it starts and ends later based on the delay.

I have provided a more in-depth explanation and solution here: https://mcreator.net/comment/287136