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

Unbreakable blocks do not have loot tables

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 1.16.3, 1.16.4 Pre-release 1, 21w03a, 21w05b, 21w06a, 1.17.1
    • None
    • Confirmed
    • Loot tables
    • Low

    Description

      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

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                CHK: