PlaySound() NoteBlocks

Discussion in 'Plugin Development' started by Mudkiper202, Feb 28, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    Mudkiper202

    So currently i have a little jingle im trying to play with noteblocks but whenever i play the sound the pitch is not changed. I heard that if you change the pitch number, it should equal the number of times you rightclick a noteblock but i dont hear a difference when i test it. Can someone tell me whats wrong?
    Code:
    p.playSound(p.getLocation(), Sound.BLOCK_NOTE_HARP, 1, 6);
     
  2. Offline

    Zombie_Striker

  3. Offline

    Mudkiper202

    But you need a noteblock for that and i want to do it without a noteblock
     
Thread Status:
Not open for further replies.

Share This Page