mojira.dev
MC-124707

How can I make "Use Name Tag" advancement in data pack

{
"display": {
"icon": {
"item": "minecraft:name_tag"
},
"title": {
"text": "Make it Special"
},
"description": {
"text": "When I called his name he came to me as a flower"
}
},
"parent": "minecraft:leader/root",
"criteria": {
"name": {
"trigger": "minecraft:consume_item",
"conditions": {
"item": {
"item": "minecraft:name_tag"
}
}
}
}
}

This is my advancement code. But it doesn't work.

Linked issues

Attachments

Comments 2

consume_item is for items you consume, like food or drink!

You can always use an impossible trigger and fulfill it manually using commands and statistics 🙂

Hongsi_k

(Unassigned)

Unconfirmed

Minecraft 18w05a

Retrieved