Hey everyone, I'm trying to play a sound based on the given block.
Although, I'm not sure how to get the SoundEvent of a block.
Can anyone tell me how?
Here's my code, if it's even useful at all:
e.getWorld().playSound(null, pos, /* soundevent of blockstate */, SoundCategory.BLOCKS, 0.5f, 1);