Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-118788

Shulker box generates loot from loot table when broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.12, Minecraft 1.12.2, Minecraft 18w05a, Minecraft 18w11a, Minecraft 1.13, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w03a, Minecraft 19w03b, Minecraft 19w03c, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 2, 1.14.4, 19w46b, 1.15.2, 20w14a, 20w46a, 21w03a, 1.16.5, 21w06a, 21w08b, 1.20.1
    • Confirmed
    • Loot tables

      The bug

      Breaking a shulker box with a loot table causes it to generate the loot despite it not being opened.

      How to reproduce

      1. Use the following command to place a shulker box with a loot table
        /setblock ~ ~ ~ white_shulker_box{LootTable:"chests/simple_dungeon"}
        
      2. Break the shulker box
      3. Pick up the shulker box item and hover over it

            Unassigned Unassigned
            marcono1234 [Mod] Marcono1234
            Votes:
            11 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              CHK: