From 2a2480a11bc533f477fdab383d79b368704c3c4d Mon Sep 17 00:00:00 2001 From: Aureljz Date: Sun, 23 Oct 2022 23:52:44 -0300 Subject: [PATCH] Switched mining system chests. --- .../mining_system/mining_system_barrels.json | 236 +++--------------- .../mining_system/mining_system_treasure.json | 231 ++++++++++++++--- 2 files changed, 229 insertions(+), 238 deletions(-) diff --git a/src/main/resources/data/dungeons_arise/loot_tables/chests/mining_system/mining_system_barrels.json b/src/main/resources/data/dungeons_arise/loot_tables/chests/mining_system/mining_system_barrels.json index 2f642eb..c70b985 100644 --- a/src/main/resources/data/dungeons_arise/loot_tables/chests/mining_system/mining_system_barrels.json +++ b/src/main/resources/data/dungeons_arise/loot_tables/chests/mining_system/mining_system_barrels.json @@ -6,180 +6,43 @@ "entries": [ { "type": "minecraft:item", - "weight": 1, - "name": "minecraft:diamond_pickaxe", - "functions": [ - { - "function": "minecraft:enchant_with_levels", - "levels": { - "min": 0, - "max": 16 - }, - "treasure": true - } - ] - }, - { - "type": "minecraft:item", - "weight": 10, - "name": "minecraft:stone_pickaxe", - "functions": [ - { - "function": "minecraft:enchant_with_levels", - "levels": { - "min": 20, - "max": 39 - }, - "treasure": true - } - ] - }, - { - "type": "minecraft:item", - "weight": 15, - "name": "minecraft:iron_pickaxe", - "functions": [ - { - "function": "minecraft:enchant_with_levels", - "levels": { - "min": 15, - "max": 20 - }, - "treasure": true - } - ] - }, - { - "type": "minecraft:item", - "weight": 5, - "name": "minecraft:golden_pickaxe", - "functions": [ - { - "function": "minecraft:enchant_with_levels", - "levels": 39, - "treasure": true - } - ] - } - ] - }, - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:empty", - "weight": 700 - }, - { - "type": "minecraft:item", - "weight": 1, - "name": "minecraft:diamond_pickaxe", - "functions": [ - { - "function": "minecraft:set_nbt", - "tag": "{Enchantments:[{id:\"minecraft:sharpness\",lvl:6s},{id:\"minecraft:looting\",lvl:3s}]}" - } - ] - } - ] - }, - { - "rolls": { - "min": 0, - "max": 2 - }, - "entries": [ - { - "type": "minecraft:item", - "name": "minecraft:diamond_chestplate", - "functions": [ - { - "function": "minecraft:enchant_with_levels", - "levels": { - "min": 8, - "max": 20 - } - } - ] - }, - { - "type": "minecraft:item", - "name": "minecraft:diamond_leggings", + "name": "minecraft:brown_mushroom", "functions": [ { - "function": "minecraft:enchant_with_levels", - "levels": { - "min": 8, - "max": 20 + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 3 } } ] }, { "type": "minecraft:item", - "name": "minecraft:diamond_helmet", + "name": "minecraft:red_mushroom", "functions": [ { - "function": "minecraft:enchant_with_levels", - "levels": { - "min": 8, - "max": 20 + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4 } } ] }, { "type": "minecraft:item", - "name": "minecraft:diamond_boots", + "weight": 3, + "name": "minecraft:baked_potato", "functions": [ { - "function": "minecraft:enchant_with_levels", - "levels": { - "min": 8, - "max": 20 + "function": "minecraft:set_count", + "count": { + "min": 12, + "max": 18 } } ] - }, - { - "type": "minecraft:item", - "name": "minecraft:iron_chestplate", - "functions": [ - { - "function": "minecraft:enchant_with_levels", - "levels": 39 - } - ] - }, - { - "type": "minecraft:item", - "name": "minecraft:iron_leggings", - "functions": [ - { - "function": "minecraft:enchant_with_levels", - "levels": 39 - } - ] - }, - { - "type": "minecraft:item", - "name": "minecraft:iron_helmet", - "functions": [ - { - "function": "minecraft:enchant_with_levels", - "levels": 39 - } - ] - }, - { - "type": "minecraft:item", - "name": "minecraft:iron_boots", - "functions": [ - { - "function": "minecraft:enchant_with_levels", - "levels": 39 - } - ] } ] }, @@ -187,105 +50,80 @@ "rolls": 1, "entries": [ { - "type": "minecraft:item", - "name": "minecraft:brown_mushroom", - "functions": [ - { - "function": "minecraft:set_count", - "count": { - "min": 1, - "max": 3 - } - } - ] + "type": "minecraft:empty", + "weight": 2000 }, { - "type": "minecraft:item", - "name": "minecraft:slime_ball", - "functions": [ - { - "function": "minecraft:set_count", - "count": { - "min": 1, - "max": 8 - } - } - ] + "type": "minecraft:tag", + "weight": 2, + "name": "minecraft:music_discs", + "expand": true } ] }, { "rolls": { "min": 1, - "max": 3 + "max": 2 }, "entries": [ { "type": "minecraft:item", - "weight": 10, - "name": "minecraft:emerald", + "weight": 5, + "name": "minecraft:coal", "functions": [ { "function": "minecraft:set_count", "count": { - "min": 1, - "max": 8 + "min": 4, + "max": 12 } } ] }, { "type": "minecraft:item", - "weight": 20, - "name": "minecraft:diamond", + "weight": 2, + "name": "minecraft:gold_ore", "functions": [ { "function": "minecraft:set_count", "count": { - "min": 6, - "max": 8 + "min": 3, + "max": 12 } } ] }, { "type": "minecraft:item", - "weight": 15, - "name": "minecraft:gold_ingot", + "weight": 10, + "name": "minecraft:iron_ore", "functions": [ { "function": "minecraft:set_count", "count": { "min": 4, - "max": 24 + "max": 16 } } ] }, { "type": "minecraft:item", - "weight": 5, + "weight": 8, "name": "minecraft:iron_ingot", "functions": [ { "function": "minecraft:set_count", "count": { - "min": 16, - "max": 48 + "min": 4, + "max": 16 } } ] } ] - }, - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:loot_table", - "name": "minecraft:chests/abandoned_mineshaft" - } - ] } ] } \ No newline at end of file diff --git a/src/main/resources/data/dungeons_arise/loot_tables/chests/mining_system/mining_system_treasure.json b/src/main/resources/data/dungeons_arise/loot_tables/chests/mining_system/mining_system_treasure.json index d686c39..9f7bfc2 100644 --- a/src/main/resources/data/dungeons_arise/loot_tables/chests/mining_system/mining_system_treasure.json +++ b/src/main/resources/data/dungeons_arise/loot_tables/chests/mining_system/mining_system_treasure.json @@ -6,43 +6,180 @@ "entries": [ { "type": "minecraft:item", - "name": "minecraft:brown_mushroom", + "weight": 1, + "name": "minecraft:diamond_pickaxe", "functions": [ { - "function": "minecraft:set_count", - "count": { - "min": 1, - "max": 3 + "function": "minecraft:enchant_with_levels", + "levels": { + "min": 0, + "max": 16 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:stone_pickaxe", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "min": 20, + "max": 39 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:iron_pickaxe", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "min": 15, + "max": 20 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:golden_pickaxe", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": 39, + "treasure": true + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:empty", + "weight": 700 + }, + { + "type": "minecraft:item", + "weight": 1, + "name": "minecraft:diamond_pickaxe", + "functions": [ + { + "function": "minecraft:set_nbt", + "tag": "{Enchantments:[{id:\"minecraft:sharpness\",lvl:6s},{id:\"minecraft:looting\",lvl:3s}]}" + } + ] + } + ] + }, + { + "rolls": { + "min": 0, + "max": 2 + }, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:diamond_chestplate", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "min": 8, + "max": 20 } } ] }, { "type": "minecraft:item", - "name": "minecraft:red_mushroom", + "name": "minecraft:diamond_leggings", "functions": [ { - "function": "minecraft:set_count", - "count": { - "min": 1, - "max": 4 + "function": "minecraft:enchant_with_levels", + "levels": { + "min": 8, + "max": 20 } } ] }, { "type": "minecraft:item", - "weight": 3, - "name": "minecraft:baked_potato", + "name": "minecraft:diamond_helmet", "functions": [ { - "function": "minecraft:set_count", - "count": { - "min": 12, - "max": 18 + "function": "minecraft:enchant_with_levels", + "levels": { + "min": 8, + "max": 20 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:diamond_boots", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "min": 8, + "max": 20 } } ] + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_chestplate", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": 39 + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_leggings", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": 39 + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_helmet", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": 39 + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_boots", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": 39 + } + ] } ] }, @@ -50,75 +187,91 @@ "rolls": 1, "entries": [ { - "type": "minecraft:empty", - "weight": 2000 + "type": "minecraft:item", + "name": "minecraft:brown_mushroom", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] }, { - "type": "minecraft:tag", - "weight": 2, - "name": "minecraft:music_discs", - "expand": true + "type": "minecraft:item", + "name": "minecraft:slime_ball", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 8 + } + } + ] } ] }, { "rolls": { "min": 1, - "max": 2 + "max": 3 }, "entries": [ { "type": "minecraft:item", - "weight": 5, - "name": "minecraft:coal", + "weight": 10, + "name": "minecraft:emerald", "functions": [ { "function": "minecraft:set_count", "count": { - "min": 4, - "max": 12 + "min": 1, + "max": 8 } } ] }, { "type": "minecraft:item", - "weight": 2, - "name": "minecraft:gold_ore", + "weight": 20, + "name": "minecraft:diamond", "functions": [ { "function": "minecraft:set_count", "count": { - "min": 3, - "max": 12 + "min": 6, + "max": 8 } } ] }, { "type": "minecraft:item", - "weight": 10, - "name": "minecraft:iron_ore", + "weight": 15, + "name": "minecraft:gold_ingot", "functions": [ { "function": "minecraft:set_count", "count": { "min": 4, - "max": 16 + "max": 24 } } ] }, { "type": "minecraft:item", - "weight": 8, + "weight": 5, "name": "minecraft:iron_ingot", "functions": [ { "function": "minecraft:set_count", "count": { - "min": 4, - "max": 16 + "min": 16, + "max": 48 } } ] @@ -130,9 +283,9 @@ "entries": [ { "type": "minecraft:loot_table", - "name": "minecraft:chests/simple_dungeon" + "name": "minecraft:chests/abandoned_mineshaft" } ] } ] -} \ No newline at end of file +}