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

Impossible selector combinations don't fail to build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 18w06a
    • Minecraft 17w45a, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w48a, Minecraft 17w49a, Minecraft 17w49b, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w05a
    • Confirmed

      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)

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

              Created:
              Updated:
              Resolved:
              CHK: