2022-07-07 07:39:01 +08:00
|
|
|
{
|
|
|
|
"condition": "minecraft:alternative",
|
|
|
|
"terms": [
|
|
|
|
{
|
|
|
|
"__comment": "主手==斧子",
|
|
|
|
"condition": "minecraft:entity_properties",
|
|
|
|
"entity": "this",
|
|
|
|
"predicate": {
|
|
|
|
"equipment": {
|
|
|
|
"mainhand": {
|
2022-07-30 16:34:38 +08:00
|
|
|
"tag": "fzsd:tool/axes"
|
2022-07-07 07:39:01 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"__comment": "主手!=工具&&副手==斧子",
|
|
|
|
"condition": "minecraft:inverted",
|
|
|
|
"term": {
|
|
|
|
"condition": "minecraft:alternative",
|
|
|
|
"terms": [
|
|
|
|
{
|
|
|
|
"condition": "minecraft:entity_properties",
|
|
|
|
"entity": "this",
|
|
|
|
"predicate": {
|
|
|
|
"equipment": {
|
|
|
|
"mainhand": {
|
2022-07-30 16:34:38 +08:00
|
|
|
"tag": "fzsd:tools"
|
2022-07-07 07:39:01 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"condition": "minecraft:inverted",
|
|
|
|
"term": {
|
|
|
|
"condition": "minecraft:entity_properties",
|
|
|
|
"entity": "this",
|
|
|
|
"predicate": {
|
|
|
|
"equipment": {
|
|
|
|
"offhand": {
|
2022-07-30 16:34:38 +08:00
|
|
|
"tag": "fzsd:tool/axes"
|
2022-07-07 07:39:01 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|