规范了事件系统,完成了实现计分板赋值逻辑

This commit is contained in:
延皓
2022-07-07 07:39:01 +08:00
parent 171b19c93a
commit 4665599abb
173 changed files with 1374 additions and 276 deletions
@@ -0,0 +1,51 @@
{
"condition": "minecraft:alternative",
"terms": [
{
"__comment": "主手==斧子",
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"tag": "fz:tool/axes"
}
}
}
},
{
"__comment": "主手!=工具&&副手==斧子",
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:alternative",
"terms": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"tag": "fz:tools"
}
}
}
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"offhand": {
"tag": "fz:tool/axes"
}
}
}
}
}
]
}
}
]
}