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

execute ... if/unless data ... throws wrong error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 1.20.2
    • None
    • Unconfirmed
    • Commands

      (relates MC-263605 and MC-264145)

      When you're not in block entity:

      /execute if data block ~ ~ ~ {}
      

      throws "The target block is not a block entity". However,

      /execute if data block ~ ~ ~ {} run say hi
      

      throws "Unknown or incomplete command, ..."

      Same for "That position is not loaded" and "No entity was found".

            Unassigned Unassigned
            ccJerrycc ccJerrycc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: