{ "parent": "fz:game_event", "criteria": { "on_villager_trade": { "trigger": "minecraft:villager_trade", "conditions": { "player": [ { "condition": "minecraft:reference", "name": "fz:is_real_player" } ] } } }, "rewards": { "function": "fz:game_event/advancement/on_villager_trade" } }