Mojira Archive
MC-237301

/loot tool argument is ambiguous

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>

Unresolved

user-f2760

2021-09-21, 11:41 AM

2025-01-02, 12:14 PM

2

1

Confirmed

Commands

1.17.1 - 1.21.41.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

-