Play Sound Specific Sound

Discussion in 'Spigot Plugin Development' started by DeadlyDeath001, May 7, 2015.

  1. I know the code. But how do I make play a specific other pickup sound?
    Code (Text):
    player.playSound(player.getLocation(), Sound.ORB_PICKUP, 10, 10);
  2. Replace Sound.ORB_PICKUP with another sound.
  3. Like ORB_PICKUP :1
    How would i do this?
  4. A long time ago I thought I read that when the client receives the data to play certain sound clips, that for some with multiple clips it choose them at random client side. This may not be true because it was well over a year and a half ago that I remember reading info on it. For all I remember it was incorrect. So don't quote me please.
  5. Those are chosen at random