The track in a jukebox continues to play even though there is technically no music disc in it
MrRedstoneToGo opened this issue ยท 6 comments
Describe the Bug
If a music disk is removed from a jukebox by a Create machine while it is still playing (only possible with Mechanical Arm and Chute, Funnels and Smart chutes are blocked by the jukebox's redstone signal), you can still hear the track. However, the jukebox no longer emits a redstone signal and the jukebox is also empty in Jade.
Reproduction Steps
- Put a music disc in a jukebox
- Remove the music disk with a chute or mechanical arm.
Expected Result
The song stops as if you were pulling out the Muaic disk by hand.
Screenshots and Videos
No response
Crash Report or Log
No response
Operating System
Windows 11
Mod Version
0.5.1f
Minecraft Version
1.20.1
Other Mods
No response
Additional Context
I took advantage of this and this is what I got. Just put a music disc on the depot and listen to the wonderful music :)
There is a schematic in the zip file
I have found out something more precise: When a Chute takes an item from a Jukebox, the Music Disk is removed from the Jukebox inventory, but the song is not stopped. A Mechanical Arm stops the song properly. However, there are problems if a second Mechanical wants to pick up the Music Disc from the jukebox at the same time. Then the song is not stopped.
Maybe this is related to game ticks. If the mechanical arm only searches for a target every second tick, maybe the latter bug is also fixed.