mojira.dev
MC-64334

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

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

Related issues

Comments

qmagnet

Confirmed for 1.8.2-pre1

Kraif

Confirmed for 1.13.1.

muzikbike

Relates to MC-147708

TheBoy358

Fixed in 20w10a.

qmagnet

(Unassigned)

Confirmed

(Unassigned)

Minecraft 14w30c, Minecraft 14w31a, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 15w40b, ..., Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w47a, Minecraft 18w47b, 1.15.1

20w10a

Retrieved