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

"@e" selector is suggested for commands that do not allow it

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 18w06a, Minecraft 18w08b, Minecraft 18w11a, Minecraft 18w16a
    • None
    • Confirmed

      The bug

      Commands such as /give, /recipe, and /ban can only affect players, so using an @e selector is invalid and will yield a syntax error unless it contains a type=player parameter.

      However they are suggested by the autocompletion. See the attached screenshot.

            dinnerbone [Mojang] Nathan Adams
            tryashtar [Mod] tryashtar
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: