Shulker box generates loot from loot table when broken
The bug
Breaking a shulker box with a loot table causes it to generate the loot despite it not being opened.
How to reproduce
- Use the following command to place a shulker box with a loot table
/setblock ~ ~ ~ white_shulker_box{LootTable:"chests/simple_dungeon"} - Break the shulker box
- Pick up the shulker box item and hover over it
- Unresolved
Marcono1234- 12
- 7
- Confirmed
- Loot tables
- block-breaking loot loot-table shulker_box
1.12 - 24w45a
1.12 1.12.2 18w05a 18w11a 1.13 1.13.1-pre1 1.13.1 1.13.2 18w43b 18w43c 18w44a 18w45a 18w46a 18w48a 18w48b 18w49a 18w50a 19w02a 19w03a 19w03b 19w03c 19w04b 19w05a 19w06a 19w12b 19w13b 19w14a 19w14b 1.14.2 1.14.3-pre2 1.14.4 19w46b 1.15.2 20w14a 20w46a 21w03a 1.16.5 21w06a 21w08b 1.20.1 1.21.3 24w45a
Created Issue:
Shulker box generates loot from loot table when broken
The bug
Breaking a shulker box with a loot table causes it to generate the loot despite it not being opened.
How to reproduce
- Use the following command to place a shulker box with a loot table
/setblock ~ ~ ~ white_shulker_box default replace {LootTable:"chests/simple_dungeon"}- Break the shulker box
- Pick up the shulker box item and hover over it
Changed Description:
The bug
Breaking a shulker box with a loot table causes it to generate the loot despite it not being opened.
How to reproduce
- Use the following command to place a shulker box with a loot table
/setblock ~ ~ ~ white_shulker_boxdefaultreplace {LootTable:"chests/simple_dungeon"}- Break the shulker box
- Pick up the shulker box item and hover over it
The bug
Breaking a shulker box with a loot table causes it to generate the loot despite it not being opened.
How to reproduce
- Use the following command to place a shulker box with a loot table
/setblock ~ ~ ~ white_shulker_box{LootTable:"chests/simple_dungeon"}- Break the shulker box
- Pick up the shulker box item and hover over it
Added Affects Versions: 18w11a
Added Affects Versions: 1.13 1.13.1-pre1
Added Affects Versions: 18w46a
Added Affects Versions: 19w02a
Added Mojang Priority: Normal
Added Affects Versions: 1.15.2
Added Affects Versions: 20w14a
Added Affects Versions: 20w46a
Added Affects Versions: 21w03a
Added Affects Versions: 21w06a
Added Affects Versions: 1.20.1
Confirmed for 1.13.1-pre1
Confirmed for 1.13.1
Are we sure this is unintentional?
Every container does this, it's not a bug.
I'd think this would be a bug if it didn't happen.
Can confirm in 21w03a.
Can confirm in 21w06a.
Can confirm in 1.16.5 and 21w08b.
This still happens in 1.20.1.