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

'void_air' testing with /execute doesn't work

    XMLWordPrintable

    Details

    • Confirmation Status:
      Unconfirmed

      Description

      The bug

      If you tried to test void_air block with execute if/unless block ... command doesn't execute sub-command if the block can be edited. If you place yourself a void_air block with /setblock, the execute command works.This bug exists since void_air and cave_air was introduced in 18w06a.

      Based on this information

      How to reproduce

      /execute if block 1000000 0 0 minecraft:void_air run tellraw @a "Unload block"

      It fails

      /execute unless block 1000000 0 0 minecraft:void_air run tellraw @a "Usable block"

      It fails

       

      If you test with cave_air, it work if you test in caves or not as expected.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            Mondemen Mondemen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: