kill item that has custom data
how do I kill all items that have the custom data "critical_item:1b"? i tried this
kill @e[type=item,nbt={Item:{custom_data:{critical_item:1b}}}]but it didnt work. thiskill @e[type=item,nbt={custom_data:{"critical_item":1b}}]also didnt work