Jump to content

lumonexu

Members
  • Posts

    1
  • Joined

  • Last visited

lumonexu's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. 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? To be specific, I need to get the block placed sound of the block. Here's my code, if it's even useful at all: e.getWorld().playSound(null, pos, /* soundevent of blockstate */, SoundCategory.BLOCKS, 1, 1);
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.