mojira.dev
MC-237306

NBT suggesting is not present in clear command when using an item tag.

NBT suggesting (the curly brackets) is not present in the /clear command when using an item tag.

Expected behavior:
The NBT argument suggests opening and closing brackets.

Observed behavior:
Nothing is suggested further, and the next possible argument (<maxCount>) is shown instead.

Steps to reproduce:

  1. Type /clear @s minecraft:anvil

  2. Observe how { is suggested.

  3. Clear chat

  4. Type /clear @s #minecraft:anvil

  5. Observe how NO { is suggested.

Attachments

Comments 5

I am able to confirm this behavior. Also affects 21w39a.

Can confirm in 1.18.1.

This issue is fixed in 1.19.3. I do not know the exact snapshot it got fixed.

Did 1.19.2 get added to the affected version list by accident? I can reproduce the issue in 1.18.2, but can no longer in 22w11a. I believe the fix is somehow connected to the fix of MC-124984.

I might've accidentally added that back then when updating my reports, confusing it with the summon command one.

user-f2760

(Unassigned)

Confirmed

(Unassigned)

1.17.1, 21w37a, 21w39a, 1.18.1, 1.19.2

22w11a

Retrieved