mojira.dev
MC-279211

Shulker boxes both keep and drop their contents upon being broken via certain methods causing item duplication

Destroying a shulker box using a piston or an explosion, or breaking it in Creative mode drops all of the items from the shulker box while not emptying it out, thus duplicating items.

How to reproduce:

Method #1:

  1. Place a shulker box and insert any items into it.

  2. Place a piston facing the shulker box.

  3. Power the piston.

Method #2:

  1. Place a shulker box and insert any items into it.

  2. Place TNT next to the shulker box.

  3. Light the TNT.

Method #3:

  1. Place a shulker box and insert any items into it.

  2. Switch to Creative mode.

  3. Break the shulker box with your hand.

Linked issues

Comments 3

Can confirm. This applies to every block or entity (e.g. boats with chests) that has a accessible inventory. The content drops when mining the block/killing the entity and duplicates when destryed with external sources like tnt or pistons.

Can confirm, even when destroying the shulker box in creative mode, it duplicate the items from that shulker box.

Can confirm, in Surivival you break the shulker, tool or no tool, and it's items drop aswell.

redstonae

gnembon

1352376

Confirmed

Expansion A

Very Important

Loot tables

25w02a

25w03a

Retrieved