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

Shulker boxes broken in Creative do not follow their assigned loot table, but shulker boxes broken in Survival do

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.1, 24w37a
    • None
    • Confirmed
    • Creative
    • Loot tables

      May relate to MC-164184.

      The bug

      If the loot table for shulker boxes is changed such that they drop a block that is not a shulker box, they will correctly drop that block if broken in Survival mode, but not when broken in Creative mode.

      How to reproduce

      A data pack that makes default shulker boxes drop chests is attached to this ticket.

      1. Download and apply the attached data pack
      2. Place an item in a shulker box
      3. Break the shulker box in Creative
      4. Break the shulker box in Survival

      Expected results

      In both cases, a chest would be dropped.

      Actual results

      In Creative mode, a shulker box is dropped instead.

        1. 2024-09-16_13.27.28.png
          2024-09-16_13.27.28.png
          161 kB
        2. 2024-09-16_13.27.39.png
          2024-09-16_13.27.39.png
          240 kB
        3. 2024-09-16_13.28.44.png
          2024-09-16_13.28.44.png
          220 kB
        4. 2024-09-16_13.28.55.png
          2024-09-16_13.28.55.png
          167 kB
        5. blockentitydrops.zip
          2 kB

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: