Piglin Bartering — gameplay loot
Barter loot table with 1 pool. Can give 18 different items.
- category
- gameplay
- item_ids
- book, iron_boots, potion, splash_potion, +14
- loot_type
- barter
- registry_id
- gameplay/piglin_bartering
- random_sequence
- minecraft:gameplay/piglin_bartering
All 6 attributes
- category
- gameplay
- item_ids
- book, iron_boots, potion, splash_potion, iron_nugget, ender_pearl, dried_ghast, string, quartz, obsidian, crying_obsidian, fire_charge, leather, soul_sand, nether_brick, spectral_arrow, gravel, blackstone
- loot_type
- barter
- random_sequence
- minecraft:gameplay/piglin_bartering
- registry_id
- gameplay/piglin_bartering
- pools
[ { "rolls": 1, "entries": [ { "name": "minecraft:book", "type": "minecraft:item", "weight": 5, "functions": [ { "options": "minecraft:soul_speed", "function": "minecraft:enchant_randomly" } ] }, { "name": "minecraft:iron_boots", "type": "minecraft:item", "weight": 8, "functions": [ { "options": "minecraft:soul_speed", "function": "minecraft:enchant_randomly" } ] }, { "name": "minecraft:potion", "type": "minecraft:item", "weight": 8, "functions": [ { "id": "minecraft:fire_resistance", "function": "minecraft:set_potion" } ] }, { "name": "minecraft:splash_potion", "type": "minecraft:item", "weight": 8, "functions": [ { "id": "minecraft:fire_resistance", "function": "minecraft:set_potion" } ] }, { "name": "minecraft:potion", "type": "minecraft:item", "weight": 10, "functions": [ { "id": "minecraft:water", "function": "minecraft:set_potion" } ] }, { "name": "minecraft:iron_nugget", "type": "minecraft:item", "weight": 10, "functions": [ { "add": false, "count": { "max": 36, "min": 10, "type": "minecraft:uniform" }, "function": "minecraft:set_count" } ] }, { "name": "minecraft:ender_pearl", "type": "minecraft:item", "weight": 10, "functions": [ { "add": false, "count": { "max": 4, "min": 2, "type": "minecraft:uniform" }, "function": "minecraft:set_count" } ] }, { "name": "minecraft:dried_ghast", "type": "minecraft:item", "weight": 10, "functions": [ { "add": false, "count": 1, "function": "minecraft:set_count" } ] }, { "name": "minecraft:string", "type": "minecraft:item", "weight": 20, "functions": [ { "add": false, "count": { "max": 9, "min": 3, "type": "minecraft:uniform" }, "function": "minecraft:set_count" } ] }, { "name": "minecraft:quartz", "type": "minecraft:item", "weight": 20, "functions": [ { "add": false, "count": { "max": 12, "min": 5, "type": "minecraft:uniform" }, "function": "minecraft:set_count" } ] }, { "name": "minecraft:obsidian", "type": "minecraft:item", "weight": 40 }, { "name": "minecraft:crying_obsidian", "type": "minecraft:item", "weight": 40, "functions": [ { "add": false, "count": { "max": 3, "min": 1, "type": "minecraft:uniform" }, "function": "minecraft:set_count" } ] }, { "name": "minecraft:fire_charge", "type": "minecraft:item", "weight": 40 }, { "name": "minecraft:leather", "type": "minecraft:item", "weight": 40, "functions": [ { "add": false, "count": { "max": 4, "min": 2, "type": "minecraft:uniform" }, "function": "minecraft:set_count" } ] }, { "name": "minecraft:soul_sand", "type": "minecraft:item", "weight": 40, "functions": [ { "add": false, "count": { "max": 8, "min": 2, "type": "minecraft:uniform" }, "function": "minecraft:set_count" } ] }, { "name": "minecraft:nether_brick", "type": "minecraft:item", "weight": 40, "functions": [ { "add": false, "count": { "max": 8, "min": 2, "type": "minecraft:uniform" }, "function": "minecraft:set_count" } ] }, { "name": "minecraft:spectral_arrow", "type": "minecraft:item", "weight": 40, "functions": [ { "add": false, "count": { "max": 12, "min": 6, "type": "minecraft:uniform" }, "function": "minecraft:set_count" } ] }, { "name": "minecraft:gravel", "type": "minecraft:item", "weight": 40, "functions": [ { "add": false, "count": { "max": 16, "min": 8, "type": "minecraft:uniform" }, "function": "minecraft:set_count" } ] }, { "name": "minecraft:blackstone", "type": "minecraft:item", "weight": 40, "functions": [ { "add": false, "count": { "max": 16, "min": 8, "type": "minecraft:uniform" }, "function": "minecraft:set_count" } ] } ], "bonus_rolls": 0 } ]
