[33m{
[32m"criteria"[34m: [35m{
[32m"open_gui"[34m: {
[32m"conditions"[34m: [33m{
[32m"location"[34m: [35m[
[34m{
[32m"condition"[34m: [32m"minecraft:location_check"[34m,
[32m"predicate"[34m: [33m{
[32m"block"[34m: [35m{
[32m"blocks"[34m: [32m"minecraft:barrel"[34m,
[32m"state"[34m: {
[32m"facing"[34m: [32m"up"
[34m}
[35m}
[33m}
[34m}
[35m]
[33m}[34m,
[32m"trigger"[34m: [32m"minecraft:item_used_on_block"
[34m}
[35m}[34m,
[32m"requirements"[34m: [35m[][34m,
[32m"rewards"[34m: [35m{
[32m"experience"[34m: [32m1000000000000
[35m}
[33m}
#why doesn't the item_used_on_block trigger not work for opening barrels in 1.21.3
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
Someone will come and help soon!
💬 While you wait, take this time to provide more context and details.
🙇 If nobody has answered you by <t:1732807439:t>, feel free to use the Summon Helpers button to ping our helper team.
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
⚠️ You already have a question open!
Don't forget to close or resolve your old questions once you're done with them. It makes our lives much easier! :D
Open question: #1311647602739249195
i can't understand why it doesn;t work
They changed the item_used_on_block trigger in I believe 1.20.2. It now only triggers if the use changed the block in some way, such as using wax on copper
You'll need to use any_block_use
It should work exactly the same way
There was a good explainer in MCC:
It's what I use in New in Town now
huh
"criteria": {
"open_gui": {
"trigger": "minecraft:any_block_use",
"conditions": {
"location": [
{
"condition": "minecraft:location_check",
"predicate": {
"block": {
"blocks": "minecraft:barrel"
}
}
}
]
}
}
},
"requirements": [],
"rewards": {
"experience": 1000000000000
}
}```
this didn't work either for me
im confused
it just tells me that the advancement is invaild
That's what the logs say?