Skip to content

Fix some block update logic in hopper optimize - #14269

Open
Suisuroru wants to merge 1 commit into
PaperMC:mainfrom
Suisuroru:fix/hopper-logic
Open

Suisuroru wants to merge 1 commit into
PaperMC:mainfrom
Suisuroru:fix/hopper-logic

Conversation

@Suisuroru

@Suisuroru Suisuroru commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Vanllia logic not always call the whole contain's setChanged(), instead, when it happened to CompoundContainer, they only called the block which the hopper try to pull(which the item's owner container) when the hooper is full(not the whole container,only the direct container).

A simple test is as follows, The hopper minecart is full with items.
image

put a item to the chest, then place a block above one of the chest. One of redstone comparator should be not activated and another still activated.

@Suisuroru
Suisuroru requested a review from a team as a code owner September 16, 2026 18:13
@github-project-automation github-project-automation Bot moved this to Awaiting review in Paper PR Queue Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Awaiting review

Development

Successfully merging this pull request may close these issues.

1 participant