{ "parent": "fz:game_event", "criteria": { "on_piglin_trade": { "trigger": "minecraft:thrown_item_picked_up_by_entity", "conditions": { "entity": { "type": "minecraft:piglin", "flags": { "is_baby": false } } } } }, "rewards": { "function": "fz:game_event/player/on_piglin_trade" } }