{ "criteria": { "on_villager_trade": { "trigger": "minecraft:villager_trade" } }, "rewards": { "function": "fz:event/player/on_villager_trade" } }