item components syntax
im making a code for a skyblock datapack to make the game similar to skyblock in hypixel. I made an item called "Crafting" which is a crafting table that when you right click opens a custom menu to make items so i can use custom items in recipes. I don't want you dropping it and giving is being worked on so to kill it:
kill @e[type=item, nbt={Item:{id:"minecraft:crafting_table",components:{"minecraft:item_name":"Craft", "minecraft:max_stack_size":1, "minecraft:can_place_on":{blocks:'test_block'}, "minecraft:consumable":{consume_seconds:0f,animation:"none",sound:'minecraft:ui.button.click', has_consume_particles:0b},"minecraft:rarity":"epic"}}}]
the code says that "blocks" is an unknown key.