fz-survival-datapack/data/fzsd/advancements/game_event/on_piglin_trade.json

25 lines
692 B
JSON
Raw Normal View History

2022-07-03 06:27:45 +08:00
{
"parent": "fzsd:game_event",
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": {
"player": [
{
"condition": "minecraft:reference",
"name": "fzsd:is_real_player"
}
],
2022-07-03 06:27:45 +08:00
"entity": {
"type": "minecraft:piglin",
"flags": {
"is_baby": false
}
2022-07-03 06:27:45 +08:00
}
}
}
},
"rewards": {
"function": "fzsd:game_event/advancement/on_piglin_trade"
2022-07-03 06:27:45 +08:00
}
}