To reproduce:
1. Be in survival
2. Craft 2 shulker boxes
3. Place both
4. Mine one
5. Switch to a non-shulker box hotbar slot
6. Pick block on the placed shulker box
7. Observe that your selected hotbar slot did not change to the shulker box in your inventory
This is likely because placed and mined shulker boxes have some nbt data with them, especially if there's items inside (though this bug also applies to empty ones).
I expected pick block to switch my selected hotbar slot to any of the shulker boxes of the same color in my inventory, even regardless of wether the contents match.
Linked issues
is duplicated by 1
relates to 1
Attachments
Comments 10
This has to be WAI as each shulker box should have a different ID so the game can identify what contents it should have.
I agree that pick block shouldn't work when you use it on a box with items inside and only have empty ones in your inventory, but if both are empty then this behaviour seems inconsistent. If I pick block on a full shulker box of sand I'd expect another one in my inventory to get equipped too.
Also, the shift-double clicking trick to move many stacks of the same item between your inventory and a container works with shulker boxes as far as I've seen (and respects their contents or lack thereof).
Affects 1.20.4. The discrepancy seems to come from the fact that when the player breaks, and then picks up the shulker box item an empty 'Items: []' array is made.
[media]
Voted for,