[MC-10786] Comparator doesn't update when a hopper takes in only part of an item stack Created: 02/Mar/13  Updated: 03/May/15  Resolved: 04/Mar/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w09b, Snapshot 13w09c
Fix Version/s: Snapshot 13w10a

Type: Bug
Reporter: Iprefer Anonymity Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: redstone

Attachments: PNG File 1.png     PNG File 2.png     PNG File 3.png     PNG File 4.png     PNG File 5.png    
Confirmation Status: Unconfirmed

 Description   

If you throw a stack of items into a hopper that can't take in all the items from the stack (because the hopper is full), it will correctly take in as much items as it can, but connected comparators won't update.

Reproduction steps:

  • place a hopper, a comparator and 15 redstone for visualization
  • fill 4 slots of the hopper inventory with full stacks of dirt
  • fill the 5th slot in the hopper inventory with half a stack of dirt
  • throw a full stack of dirt into the hopper

Observations after completing the steps above:

  • the hopper will take in half of the stack of dirt that was thrown at it and the other half will bounce off (expected behavior)
  • the restone signal originating from the comparator won't update although the hopper is now completely full (bug)
  • a block update adjacent to the comparator will update the redstone signal to its proper strength
  • the item stacks in the hopper don't have to be all of the same type
  • the bug also occurs for example if 2 slots contain a 60 dirt stack (the other slots are full) and you throw a stack of at least 9 dirt in the hopper

Pseudo code that illustrates the conditions that have to be met for this bug to occur:

(space for items of type A in the hopper) < (stackSize of type A items thrown in the hopper)



 Comments   
Comment by WumpaCraft [ 02/Mar/13 ]

It's true!

Generated at Sun Jan 12 12:25:31 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.