AudioPlayer

AudioPlayer

157k Downloads

Jukebox plays multiple songs at once. Keeps playing when Jukebox is broken

Ebsolas opened this issue ยท 1 comments

commented

Bug description
Jukebox was glitched into playing multiple records when discs are placed in too quickly.

Steps to reproduce the issue

  1. Go into creative mode (easier to replicate)
  2. Place down a jukebox
  3. While holding a disc, Rapid r-click on the jukebox with the disc (macro recommended)
  4. The jukebox will now be playing multiple instances of the same song.
  5. R clicking again will eject the disc, but the music will keep playing
  6. Continuing to insert discs will increase the number of songs played
  7. Breaking the jukebox will cause the disc music to continue being played without a jukebox
  8. Exiting world and re-entering fixes it until the steps are followed again

Expected behavior
It is expected that when discs are clicked rapidly on a jukebox it'll emulate vanilla behavior where the disc is ejected on the second click. Further clicks alternate between inserting the held disc and ejecting the inserted one.

Versions

  • Minecraft version: 1.18.2
  • Fabric loader version: 0.13.3 & 0.14.3 (2 versions tested)
  • Mod version: 1.18.2-1.0.2

Other mods
Fabric API 0.48.0 & 0.51.1 (dependency, 2 versions tested)
Voice chat mod 1.18.2-2.2.32 & 1.18.2-2.2.37 (dependency, 2 versions tested)
AudioPlayer (from curseforge)

commented

This also happens in vanilla Minecraft. This is not a bug of this mod.

https://bugs.mojang.com/browse/MC-112245