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

/loot tool argument is ambiguous

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.1, 1.20.2, 23w43b, 1.21.4
    • None
    • Confirmed
    • Commands

      In the /loot command the <tool> argument (for the mine/fish options) is ambiguous with mainhand and offhand input.

      /effect was split up to /effect give and /effect clear for exactly this reason.

      Current synaxt:

      /loot <...> mine <x> <y> <z> <tool>|mainhand|offhand
      /loot <...> fish <loot table> <x> <y> <z> <tool>|mainhand|offhand

      Expected synaxt:

      /loot <...> mine <x> <y> <z> mainhand|offhand
      /loot <...> mine <x> <y> <z> tool <tool>
      /loot <...> fish <loot table> <x> <y> <z> mainhand|offhand
      /loot <...> fish <loot table> <x> <y> <z> tool <tool>

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

              Created:
              Updated:
              CHK: