piglin_bartering.json
0 B
Empty File
{
"type": "minecraft:barter",
"pools": [
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"weight": 5,
"functions": [
{
"function": "minecraft:enchant_randomly",
"enchantments": [
"minecraft:soul_speed"
]
}
],
"name": "minecraft:book"
},
{
"type": "minecraft:item",
"weight": 8,
"functions": [
{
"function": "minecraft:enchant_randomly",
"enchantments": [
"minecraft:soul_speed"
]
}
],
"name": "minecraft:iron_boots"
},
{
"type": "minecraft:item",
"weight": 8,
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{Potion:\"minecraft:fire_resistance\"}"
}
],
"name": "minecraft:potion"
},
{
"type": "minecraft:item",
"weight": 8,
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{Potion:\"minecraft:fire_resistance\"}"
}
],
"name": "minecraft:splash_potion"
},
{
"type": "minecraft:item",
"weight": 10,
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{Potion:\"minecraft:water\"}"
}
],
"name": "minecraft:potion"
},
{
"type": "minecraft:item",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 10.0,
"max": 36.0
},
"add": false
}
],
"name": "minecraft:iron_nugget"
},
{
"type": "minecraft:item",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 2.0,
"max": 4.0
},
"add": false
}
],
"name": "minecraft:ender_pearl"
},
{
"type": "minecraft:item",
"weight": 20,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 3.0,
"max": 9.0
},
"add": false
}
],
"name": "minecraft:string"
},
{
"type": "minecraft:item",
"weight": 20,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 5.0,
"max": 12.0
},
"add": false
}
],
"name": "minecraft:quartz"
},
{
"type": "minecraft:item",
"weight": 40,
"name": "minecraft:obsidian"
},
{
"type": "minecraft:item",
"weight": 40,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 1.0,
"max": 3.0
},
"add": false
}
],
"name": "minecraft:crying_obsidian"
},
{
"type": "minecraft:item",
"weight": 40,
"name": "minecraft:fire_charge"
},
{
"type": "minecraft:item",
"weight": 40,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 2.0,
"max": 4.0
},
"add": false
}
],
"name": "minecraft:leather"
},
{
"type": "minecraft:item",
"weight": 40,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 2.0,
"max": 8.0
},
"add": false
}
],
"name": "minecraft:soul_sand"
},
{
"type": "minecraft:item",
"weight": 40,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 2.0,
"max": 8.0
},
"add": false
}
],
"name": "minecraft:nether_brick"
},
{
"type": "minecraft:item",
"weight": 40,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 6.0,
"max": 12.0
},
"add": false
}
],
"name": "minecraft:spectral_arrow"
},
{
"type": "minecraft:item",
"weight": 40,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 8.0,
"max": 16.0
},
"add": false
}
],
"name": "minecraft:gravel"
},
{
"type": "minecraft:item",
"weight": 40,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 8.0,
"max": 16.0
},
"add": false
}
],
"name": "minecraft:blackstone"
}
]
}
]
}