Interface Jukebox

    • Method Detail

      • stop

        void stop()
        Stops the currently playing music disc, if any.
      • eject

        void eject()
        Ejects the music disc item in this Jukebox into the world.
      • insert

        void insert​(ItemStack disc)
        Ejects the current music disc item in this Jukebox and inserts the given one.
        Parameters:
        disc - The music disc item to insert