Jukebox Music

Discussion in 'Spigot Plugin Development' started by joshuacc, Jul 13, 2018.

  1. Hello, I posted this thread before but I really want to solve this issue. I don't know if this is a bug from 1.8 but I think it's possible because I saw it before from Shotbow on the Annihilation kit called 'Bard' and they use jukeboxes with the music. The problem that I am getting in to is stopping the Jukebox music, I tried ejecting it, making it in to air, set the Jukebox playing in to AIR or null and even packets. I use the Jukebox BlockState to play the music and it worked except for stopping the disc.

    Tell me if there's a way on stopping it or is it not possible for that version. Thanks!
  2. Spigot javadoc for 1.8 says to use eject(), setPlaying(Material.AIR) or setPlaying(null) to stop the music from playing.
  3. Tried doing that, doesn't work. It restarts the music again.
  4. Is the jukebox blocked by a block (Is there air above the jukebox)? Perhaps the ejected disk can't exit the jukebox?
  5. No, nothing is blocking on the Jukebox.

Share This Page