I'm trying to call playSound inside my custom block's randomTickUpdateEvent, like this:
But the sound doesn't play at all. The line after it that sends chat will display the text though. Sounds play when called from other procs, such as in onBlockAdded, so is it because it was called inside a tick event?
Uploaded workspace. It contains just one simple mod element.