修复挖掘榜失效的bug

This commit is contained in:
延皓
2022-09-02 10:36:03 +08:00
parent c305885777
commit 40088893b5
7 changed files with 44 additions and 7 deletions
@@ -0,0 +1,28 @@
{
"parent": "fzsd:game_event",
"criteria": {
"on_tools_exclude_axes_used_on_block": {
"trigger": "minecraft:item_used_on_block",
"conditions": {
"player": [
{
"condition": "minecraft:reference",
"name": "fzsd:is_real_player"
}
],
"item": {
"tag": "fzsd:tool/axes"
},
"location": {
"__comment": "斧子剥树皮会触发两次,所以用目标方块限定只触发一次",
"block": {
"tag": "fzsd:stripped_blocks"
}
}
}
}
},
"rewards": {
"function": "fzsd:game_event/advancement/on_tools_used_on_block"
}
}
@@ -1,7 +1,7 @@
{
"parent": "fzsd:game_event",
"criteria": {
"on_tools_used_on_block": {
"on_tools_exclude_axes_used_on_block": {
"__comment": "斧子剥树皮会触发两次!",
"trigger": "minecraft:item_used_on_block",
"conditions": {
@@ -12,7 +12,7 @@
}
],
"item": {
"tag": "fzsd:tools"
"tag": "fzsd:tools_exclude_axes"
}
}
}