diff --git a/data/minecraft/loot_tables/chests/buried_treasure.json b/data/minecraft/loot_tables/chests/buried_treasure.json new file mode 100644 index 0000000..d3198c2 --- /dev/null +++ b/data/minecraft/loot_tables/chests/buried_treasure.json @@ -0,0 +1,206 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:heart_of_the_sea" + } + ], + "rolls": 1 + }, + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4, + "min": 2 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:iron_ingot", + "weight": 20 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 9, + "min": 5 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:gold_nugget", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4, + "min": 3 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:tnt", + "weight": 5 + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 8, + "min": 5 + } + }, + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 8, + "min": 4 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:emerald", + "weight": 5 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:diamond_horse_armor", + "weight": 5 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 5, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:prismarine_crystals", + "weight": 5 + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 3, + "min": 1 + } + }, + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:leather_chestplate" + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_sword" + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 1, + "min": 0 + } + }, + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4, + "min": 2 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:cooked_cod" + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4, + "min": 2 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:cooked_salmon" + } + ], + "rolls": 2 + }, + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:potion" + } + ], + "functions": [ + { + "function": "minecraft:set_potion", + "id": "minecraft:water_breathing" + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 2, + "min": 0 + } + } + ], + "random_sequence": "minecraft:chests/buried_treasure" +}