minecraft-assets/data/minecraft/loot_tables/gameplay/piglin_bartering.json

243 lines
5.9 KiB
JSON

{
"type": "minecraft:barter",
"pools": [
{
"rolls": 1,
"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": 10,
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{Potion:\"minecraft:fire_resistance\"}"
}
],
"name": "minecraft:potion"
},
{
"type": "minecraft:item",
"weight": 10,
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{Potion:\"minecraft:fire_resistance\"}"
}
],
"name": "minecraft:splash_potion"
},
{
"type": "minecraft:item",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 9.0,
"max": 36.0,
"type": "minecraft:uniform"
}
}
],
"name": "minecraft:iron_nugget"
},
{
"type": "minecraft:item",
"weight": 20,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 8.0,
"max": 16.0,
"type": "minecraft:uniform"
}
}
],
"name": "minecraft:quartz"
},
{
"type": "minecraft:item",
"weight": 20,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 5.0,
"max": 12.0,
"type": "minecraft:uniform"
}
}
],
"name": "minecraft:glowstone_dust"
},
{
"type": "minecraft:item",
"weight": 20,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 2.0,
"max": 6.0,
"type": "minecraft:uniform"
}
}
],
"name": "minecraft:magma_cream"
},
{
"type": "minecraft:item",
"weight": 20,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 4.0,
"max": 8.0,
"type": "minecraft:uniform"
}
}
],
"name": "minecraft:ender_pearl"
},
{
"type": "minecraft:item",
"weight": 20,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 8.0,
"max": 24.0,
"type": "minecraft:uniform"
}
}
],
"name": "minecraft:string"
},
{
"type": "minecraft:item",
"weight": 40,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 5.0,
"type": "minecraft:uniform"
}
}
],
"name": "minecraft:fire_charge"
},
{
"type": "minecraft:item",
"weight": 40,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 8.0,
"max": 16.0,
"type": "minecraft:uniform"
}
}
],
"name": "minecraft:gravel"
},
{
"type": "minecraft:item",
"weight": 40,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 4.0,
"max": 10.0,
"type": "minecraft:uniform"
}
}
],
"name": "minecraft:leather"
},
{
"type": "minecraft:item",
"weight": 40,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 4.0,
"max": 16.0,
"type": "minecraft:uniform"
}
}
],
"name": "minecraft:nether_brick"
},
{
"type": "minecraft:item",
"weight": 40,
"name": "minecraft:obsidian"
},
{
"type": "minecraft:item",
"weight": 40,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 3.0,
"type": "minecraft:uniform"
}
}
],
"name": "minecraft:crying_obsidian"
},
{
"type": "minecraft:item",
"weight": 40,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 4.0,
"max": 16.0,
"type": "minecraft:uniform"
}
}
],
"name": "minecraft:soul_sand"
}
]
}
]
}