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

Including "gamemode" selector argument prevents non-player entities from being selected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 18w07c, Minecraft 18w10c
    • None
    • Confirmed

      It's likely a smart optimization to do this, but the bug here is that a selector such as @e[gamemode=!creative] will fail to find any non-players (i.e. this is only an issue when looking for an absent gamemode).

      In 1.12 such a selector would find all entities and non-creative mode players.

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

              Created:
              Updated:
              Resolved:
              CHK: