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

Unbreakable blocks do not have loot tables

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.3, 1.16.4 Pre-release 1, 21w03a, 21w05b, 21w06a, 1.17.1, 1.18.1, 22w03a, 1.19, 1.19.2, 1.20.1, 1.20.4, 24w12a
    • Confirmed
    • Loot tables
    • Low
    • Platform

      These blocks cannot normally be broken in survival, which is a likely explanation for the absence of loot tables for these blocks. However, the /setblock command with "destroy" can be used to simulate a "legitimate" breaking of such blocks (as can be seen with the example shown of breaking a stone block to produce cobblestone). As no such loot tables exist for these blocks, mapmakers are limited as to what can be done with these blocks, as it may be desirable for a block to be completely unbreakable by players but yield an item when broken via command.

      Confirmed to be affected:

      • minecraft:bedrock
      • minecraft:end_portal_frame
      • minecraft:end_portal
      • minecraft:end_gateway
      • minecraft:barrier

      Untested, but likely also affected:

      • minecraft:command_block
      • minecraft:chain_command_block
      • minecraft:repeating_command_block
      • minecraft:structure_block
      • minecraft:jigsaw

        1. 2020-10-22_16.30.53.png
          2020-10-22_16.30.53.png
          176 kB
        2. 2020-10-22_16.30.56.png
          2020-10-22_16.30.56.png
          199 kB
        3. 2020-10-22_16.30.25.png
          2020-10-22_16.30.25.png
          341 kB
        4. 2020-10-22_16.30.52.png
          2020-10-22_16.30.52.png
          339 kB
        5. 2020-10-22_16.30.35.png
          2020-10-22_16.30.35.png
          185 kB
        6. 2020-10-22_16.30.37.png
          2020-10-22_16.30.37.png
          298 kB
        7. 2020-10-22_16.30.28.png
          2020-10-22_16.30.28.png
          196 kB
        8. 2020-10-22_16.30.58.png
          2020-10-22_16.30.58.png
          295 kB

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            9 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: