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

Command argument with optional numeric among literals does not shown numeric option until the cursor is moved back

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.17.1, 21w37a, 1.18.1, 1.19.2, 1.19.3, 1.19.4, 1.20 Pre-release 5, 1.20.1, 1.20.2, 23w43b
    • Confirmed
    • Commands

      In the /loot replace command, the optional <count> argument isn't shown because of suggestions, until you move your cursor back. No suggestions are otherwise provided for the count argument as it is a numerical argument that are not coordinates or rotation.

      Current behavior:
      See screenshots; the cursor needs to be moved back in order to see you can even provide a count

      Expected behavior:
      The option to provide the count value is shown when at the argument (eg by showing [<count>] in front of the fish, loot, kill and mine suggestions).

      Affected commands and their arguments:

      • /effect
        • (infinite|<seconds>)
      • /loot
        • (fish|loot|kill|mine|<count>)

        1. 2021-09-21_13.42.44.png
          1.29 MB
          user-f2760
        2. 2021-09-21_13.42.46.png
          1.30 MB
          user-f2760
        3. 2021-09-21_13.42.48.png
          1.30 MB
          user-f2760

            Unassigned Unassigned
            jirauser71590 user-f2760 (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: