15 lines
340 B
JSON
15 lines
340 B
JSON
{
|
|
"criteria": {
|
|
"on_piglin_trade": {
|
|
"trigger": "minecraft:thrown_item_picked_up_by_entity",
|
|
"conditions": {
|
|
"entity": {
|
|
"type": "minecraft:piglin"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"rewards": {
|
|
"function": "fz:event/on_piglin_trade"
|
|
}
|
|
} |