Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-92198

Target selector 'm=' parameter does not support 'd' or 'default' modes in commands

    XMLWordPrintable

    Details

    • Confirmation Status:
      Confirmed
    • Platform:
      Multiple
    • ADO:
      474738

      Description

      When entering a command such as /testfor with a target selector having the 'm=' parameter, the tab completion list includes the 'd' and 'default' options, but if you choose either of these options the message "Game mode 'd' [or 'default'] is invalid" is output. Either the tab completion list needs to omit these options, or the command interpreter needs to be updated to support them.

      Note that when a player's Personal Game Mode is set to Default, the argument selector selects them or not according to whether the argument value matches the Default Game Mode. In other words, the argument selector apparently tests the player's actual game mode rather than their Personal Game Mode setting.

      Sample commands that show the issue:
      /testfor @p[m=default]
      /tp @p[m=d] @s
      /op @p[m=d]

        Attachments

          Activity

            People

            Reporter:
            Auldrick [MCPE Mod] Auldrick
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: