I want to use a jukebox to trigger redstone automation. Is there a straightforward way to detect when a disc is playing?
How can I detect when a jukebox is playing a disc?
Answers
Try taking a comparator output from the jukebox. That is the straightforward option to check first for a disc-related redstone signal, without building a separate clock.
Test it with a disc inserted and again after the track ends if you need to distinguish playback from a disc simply being present.
Reply to this answer
There is also a more accidental approach involving a redstone clock. One reported setup clocks when the jukebox is empty and stops clocking when a disc is inside. That could be useful as an inverted indicator, but the exact circuit and why it behaves that way are not established here.
It was reported working in a recent snapshot, so I would not assume it behaves the same in every version. Check what happens after playback ends too, since a disc being inside is not necessarily the same thing as music playing.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions