Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jukeboxes are not extracted from properly with the transfer API #4220

Open
TropheusJ opened this issue Nov 10, 2024 · 0 comments
Open

Jukeboxes are not extracted from properly with the transfer API #4220

TropheusJ opened this issue Nov 10, 2024 · 0 comments

Comments

@TropheusJ
Copy link
Contributor

I previously made an issue about inserting items: #3680
Extracting is also broken, and it seems that has been the case since 1.20 came out.
JukeboxBlockEntity only has the stop playing music logic in removeItem, not setItem. So when InventorySlotWrapper sets the disc to an empty stack, the music keeps going and the blockstate isn't updated.
Using FAPI 0.92.2 on 1.20.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant