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

Execute unless always fails on entities

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 17w45a
    • Fix Version/s: Minecraft 17w45b
    • Labels:
      None
    • Environment:
      Windows 10 x86_64
    • Confirmation Status:
      Confirmed

      Description

      Execute unless always fails. If the entity is found, it will do nothing as intended. If the entity is not found, nothing will happen and it will output "no entity is found"

      execute unless entity @p run say hi Works as intended, hi is not said
      execute unless entity @e[name=noentity] run say hi Does not work, hi is not said and No entity was found is outputted to chat

        Attachments

          Activity

            People

            Assignee:
            dinnerbone [Mojang] Nathan Adams
            Reporter:
            pfgbugs pfg
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              CHK: