24 lines
709 B
JSON
24 lines
709 B
JSON
{
|
|
"criteria": {
|
|
"trading_counter": {
|
|
"trigger": "minecraft:villager_trade",
|
|
"conditions": {
|
|
"player": [
|
|
{
|
|
"condition": "minecraft:inverted",
|
|
"term": {
|
|
"condition": "minecraft:entity_scores",
|
|
"entity": "this",
|
|
"scores": {
|
|
"carpetBot": 1
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"rewards": {
|
|
"function": "fz:scoreboards/tradingcounter/calculator"
|
|
}
|
|
} |