{ "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" } } } } } ] } } ] }