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

Execute unless always fails on entities

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 17w45b
    • Minecraft 17w45a
    • None
    • Windows 10 x86_64
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              CHK: