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

Impossible selector combinations don't fail to build

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 17w45a, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w48a, Minecraft 17w49a, Minecraft 17w49b, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w05a
    • Fix Version/s: Minecraft 18w06a
    • Labels:
    • Confirmation Status:
      Confirmed

      Description

      The following examples are all selectors which will successfully build but obviously fail regardless of the surroundings, or which don't make logical sense. Usually the parser should catch these errors beforehand:

      • @e[type=pig,type=cow]
      • @a[gamemode=survival,gamemode=creative]
      • @a[sort=arbitrary,sort=random] (latter sort overrides former here)
      • @a[type=llama] (type should be considered invalid for player selectors, as limit is for @s)

        Attachments

          Activity

            People

            • Assignee:
              dinnerbone [Mojang] Dinnerbone (Nathan Adams)
              Reporter:
              tryashtar [Mod] tryashtar
            • Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: