-
Bug
-
Resolution: Fixed
-
22w14a
-
Confirmed
-
Mob behaviour
-
Important
If an Allay attempts to picks up a stack that causes its item count to exceed 64, it will leave a ghost item on the ground that has no visual hitbox with the remaining amount of items it could not pick up due to only taking part of the stack enough to fill its 64 item limit. This can easily cause players to lose items due to not realizing they are still in the world.
To reproduce:
- Summon or spawn an Allay
- Give it a stone item
- Drop a stack of 63 stone items and let it pick it up
- Drop a stack of 64 stone items and let it pick it up
- The second stack will visually disappear and the Allay visually picks up the entire stack of more than 1 item, but in reality, there is a ghost item entity left over
- Verify with
/data get entity @e[type=item,sort=nearest,limit=1]
- The Allay will give you 64 items back, and if you walk over the invisible item, you will get 63 items
Expected behavior:
- The ghost item should remain visible
- The Allay should have only visually picked up 1 item instead of the entire stack
- relates to
-
MC-120643 Picking up an incomplete stack of items is not correctly detected
- Open