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

chiseled bookshelf does not get updated after hopper pulls book #11740

Open
JMKohnagel opened this issue Dec 13, 2024 · 2 comments
Open

chiseled bookshelf does not get updated after hopper pulls book #11740

JMKohnagel opened this issue Dec 13, 2024 · 2 comments
Labels

Comments

@JMKohnagel
Copy link

Expected behavior

If you place a book in a chiseled bookshelf with a hopper beneath it, the hopper, if it has free inv space, pulls the book out of the bookshelf and the book is visually removed from the bookshelf, the state (f3 slot_x_occupied) is set to false and the book is removed from its inv.

Observed/Actual behavior

If there already are books inside the hopper and after pulling out the book from the bookshelf the book stacks with the books inside the hopper the bookshelf is not updated correctly. But if there are for example 32 books in the last slot of the hopper and the other slots are free everything works normally because the book gets transfered into the first hopper slot and does not stack with 32 books in the last slot. The bug only occurs if the book stacks with books in the hopper. If the bug occurs the book gets pulled into the hopper but is still displayed in the bookshelf but you cannot take it out since it was already pulled out by the hopper and you also cannot put a book in that slot. In f3 you can see the info slot_x_occupied is still true. Only after you insert a book into another slot or take another book out of another slot the bookshelf gets updated

Steps/models to reproduce

  1. place a hopper and on top a chiseled bookshelf
  2. put a book into the first slot of the hopper
  3. put a book into the bookshelf
  4. the hopper pulled out the book and stacked onto the containing book but the booshelf still displays the book
  5. empty the hopper and put one book into the last slot (or any other thats not the first)
  6. put a book into the last slot of the hopper
  7. put a book into the bookshelf
  8. the hopper pulled out the book and put it into the first slot and the bookshelf is empty

Plugin and Datapack List

Server Plugins (0):
There are 3 data pack(s) enabled: [vanilla (build-in)], [file/bukkit (world)], [paper (build-in)]
There are no more datapacks available

Paper version

This server is running Paper version 1.21.1-132-ver/1.21.1@b48403b (2024-11-21-T10:14:27Z) (Implementing API version 1.21.1-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.1-119-7cd4f2c (MC: 1.21.1)

Other

No response

@papermc-sniffer papermc-sniffer bot added the version: 1.21.1 Game version 1.21.1 label Dec 13, 2024
@kennytv
Copy link
Member

kennytv commented Dec 13, 2024

1.21.1 is no longer supported, can you reproduce this on 1.21.4 or 1.21.3?

@Keviro
Copy link

Keviro commented Dec 13, 2024

Can confirm on 1.21.3

Image

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

No branches or pull requests

3 participants