Even though 1.21 introduces datapack provided music discs, which should be used over this mod whenever possible, this mod will still be updated to continue support for modifying discs with just a resourcepack. Additionally, client side support will be added so that users can listen to custom discs using a resource pack like normal without servers having this mod or any datapacks installed.
gradle.properties has been updated and server side functionality has been fixed (the main logic responsible for sending jukebox song start/stop packets has been moved to the JukeboxSongPlayer from the JukeboxBlockEntity class, and the mixin for this has been updated accordingly).
Client side support has been added by ignoring all 1011 level event packets (sent to stop a song from playing), and instead relying on a jukebox block state update packet to stop a playing disc (when has_record turns to false, the song is stopped).
1.21 will remain fabric only for the time being.
Even though 1.21 introduces datapack provided music discs, which should be used over this mod whenever possible, this mod will still be updated to continue support for modifying discs with just a resourcepack. Additionally, client side support will be added so that users can listen to custom discs using a resource pack like normal without servers having this mod or any datapacks installed.
gradle.properties has been updated and server side functionality has been fixed (the main logic responsible for sending jukebox song start/stop packets has been moved to the
JukeboxSongPlayer
from theJukeboxBlockEntity
class, and the mixin for this has been updated accordingly).Client side support has been added by ignoring all 1011 level event packets (sent to stop a song from playing), and instead relying on a jukebox block state update packet to stop a playing disc (when
has_record
turns to false, the song is stopped).