Mojira Archive
MC-129468

Item Tags cannot be test in nbt

It's possible to test item tag in clear command but it's impossible to test in selector with nbt.

Example:

  • /execute as @a[nbt={SelectedItem:{id:"#minecraft:planks"}}] run say @s have Planks

No match in this case.

Invalid

Mondemen

2018-05-11, 06:38 PM

2018-05-12, 03:42 PM

2018-05-12, 08:03 AM

0

1

Confirmed

Minecraft 18w19b

-