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

Command syntax help doesn't handle multiple optional arguments correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Works As Intended
    • Affects Version/s: Minecraft 18w02a
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed

      Description

      To reproduce, look at the command syntax help for /clear:

      1. Type in /clear
      2. Hit the space bar
      3. Hit esc
      4. You will see the command syntax help for /clear: /clear [<targets>] [<item>] (see attached screenshot)

      The provided syntax suggests that

      /clear minecraft:enchanted_book{}

      is valid, which it isn't.

      The correct syntax help for this example should be /clear [<targets> [<item>]].

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dinnerbone [Mojang] Nathan Adams
                Reporter:
                redstonehelper [Mod] redstonehelper
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: