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

Fire can be destroyed if given an item with CanDestroy tag for unbreakable block below (notably bedrock)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w10a
    • Minecraft 14w30c, Minecraft 14w31a, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 15w40b, Minecraft 1.10.2, Minecraft 16w41a, Minecraft 16w42a, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w47a, Minecraft 18w47b, 1.15.1
    • None
    • Confirmed
    • (Unassigned)

      The bug

      I'm only reporting this issue because it doesn't seem to make sense. If you light bedrock with flint and steel and you are given an item with CanDestroy bedrock tag, in adventure mode, hitting the bedrock will not destroy the bedrock (as intended) but will destroy the fire.

      To reproduce

      1. Place bedrock block
      2. Light block on fire
      3. Switch to adventure mode
      4. Input this code:
        /give @p cod{CanDestroy:["bedrock"]}
        
      5. Attempt to break bedrock.
      6. See how the fire gets destroyed even though bedrock cannot be destroyed

      Unbreakable blocks also affected:
      Barriers, End Portal Frames, Command Blocks

            Unassigned Unassigned
            qmagnet qmagnet
            Votes:
            6 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: