How to detect note block use when using advancements 1.21.4
I'm making as advancement for using every note block but im not sure how to do it
this is what a currently have
{
"display": {
"icon": {
"id": "minecraft:note_block"
},
"title": "D",
"description": "Ts",
"frame": "task",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"parent": "minecraft:husbandry/root",
"criteria": {
"used_note_block": {
"trigger": "minecraft:item_used_on_block",
"conditions": {
"location": [
{
"condition": "minecraft:block_state_property",
"block": "minecraft:note_block"
}
]
}
}
}
}
Continue to help post