mojira.dev
MC-300971

Breaking a Shelf Block with Items in it duplicates the player's stack instead of dropping the stack inside

Breaking a Shelf Block with an item in it will duplicate the stack in your inventory instead of just one/dropping the stack inside the shelf.

Steps to Reproduce:

  1. Place any shelf block. Variant doesn’t seem to matter.

  2. While holding a single item (not a stack), place it inside the shelf.

  3. Break the shelf, notice how it duplicates your item (it should go from 1 → 2).

  4. Repeat and watch it duplicate.

Environment

Vanilla Java 25w33a

Attachments

Comments 6

Does not affect non-stackable items.

That’s the same thing as item frames

(i mean, item frames can hold only 1 item but if an item frame is broken by external sources, such as a block placed in front of it, it will always drop that item, duplicating it (in creative obliviously))

This is only the case in creative mode because, in creative mode, the item is not consumed when you place it in the shelf, but the shelf still drops its inventory when broken. This seems like intended behavior to me, as lecterns and chiseled bookshelves do the same thing

The Shelf only took the stack of items that you have and in creative they dont took the items in creative mode. So it’s not a bug.

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version History – Snapshot Version History – The official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

sagedontgo

(Unassigned)

Confirmed

(Unassigned)

25w33a

Retrieved