From 3123d5696a34a434f8d976df64047c1e12086810 Mon Sep 17 00:00:00 2001 From: anhgelus Date: Fri, 26 Jul 2024 22:43:04 +0000 Subject: feat(nether): 1.16.1 loot_table --- .../loot_table/gameplay/piglin_bartering.json | 239 +++++++++++++++++++++ 1 file changed, 239 insertions(+) create mode 100644 src/main/resources/data/minecraft/loot_table/gameplay/piglin_bartering.json (limited to 'src/main/resources/data') diff --git a/src/main/resources/data/minecraft/loot_table/gameplay/piglin_bartering.json b/src/main/resources/data/minecraft/loot_table/gameplay/piglin_bartering.json new file mode 100644 index 0000000..09f15e8 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_table/gameplay/piglin_bartering.json @@ -0,0 +1,239 @@ +{ + "type": "minecraft:barter", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:book", + "weight": 5, + "functions": [ + { + "function": "minecraft:enchant_randomly", + "options": "minecraft:soul_speed" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_boots", + "weight": 8, + "functions": [ + { + "function": "minecraft:enchant_randomly", + "options": "minecraft:soul_speed" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:potion", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_potion", + "id": "minecraft:fire_resistance" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:splash_potion", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_potion", + "id": "minecraft:fire_resistance" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_nugget", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 9, + "max": 36 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:quartz", + "weight": 20, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 8, + "max": 16 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:glowstone_dust", + "weight": 20, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 5, + "max": 12 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:magma_cream", + "weight": 20, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 6 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:ender_pearl", + "weight": 20, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 8 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:string", + "weight": 20, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 8, + "max": 24 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:fire_charge", + "weight": 40, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:gravel", + "weight": 40, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 8, + "max": 16 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:leather", + "weight": 40, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 10 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:nether_brick", + "weight": 40, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 16 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:obsidian", + "weight": 40 + }, + { + "type": "minecraft:item", + "name": "minecraft:crying_obsidian", + "weight": 40, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:soul_sand", + "weight": 40, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 16 + } + } + ] + } + ] + } + ] +} -- cgit v1.2.3