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

Command feedback for attempting to use a selector that includes entities when only players are allowed uses inconsistent formatting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.6, 24w21b, 1.21, 1.21.3, 1.21.4
    • None
    • Confirmed
    • Commands, Text
    • Low
    • Platform

      The command feedback that is returned when trying to use a selector that allows entities when only players are affected by the command uses different formatting on the last line depending on the argument type. If the argument type is entity, the last line is colored red and underlined, whereas if the argument type is game_profile, the last line is light gray colored and not underlined.

      How to reproduce:

      1. Execute the following command:
        /kick @e
      2. Look at the last line of the error.
      3. On a multiplayer server where you are an operator, execute the following command:
        /ban @e
      4. Look at the last line of the error.

      Expected result:

      Both error messages would use the same formatting.

      Observed result:

      The two error messages are formatted differently.

            Unassigned Unassigned
            ManosSef [Mod] ManosSef
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              CHK: