2022-07-03 06:27:45 +08:00
|
|
|
{
|
|
|
|
"criteria": {
|
2022-07-03 19:01:51 +08:00
|
|
|
"on_piglin_trade": {
|
2022-07-03 06:27:45 +08:00
|
|
|
"trigger": "minecraft:thrown_item_picked_up_by_entity",
|
|
|
|
"conditions": {
|
|
|
|
"entity": {
|
2022-07-07 07:39:01 +08:00
|
|
|
"type": "minecraft:piglin",
|
|
|
|
"flags": {
|
|
|
|
"is_baby": false
|
|
|
|
}
|
2022-07-03 06:27:45 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"rewards": {
|
2022-07-07 07:39:01 +08:00
|
|
|
"function": "fz:event/player/on_piglin_trade"
|
2022-07-03 06:27:45 +08:00
|
|
|
}
|
|
|
|
}
|