From c7e5508fda2c017a05b0a908f6a1480b45045af8 Mon Sep 17 00:00:00 2001 From: Sergeant Acoustic Date: Sat, 24 Jan 2026 02:50:56 +0000 Subject: [PATCH] Port loot tables --- .../loot_table/archaeology/desert_well.json | 69 ++++ .../archaeology/ocean_ruin_cold.json | 75 +++++ .../archaeology/ocean_ruin_warm.json | 74 +++++ .../loot_table/blocks/ancient_debris.json | 48 +++ .../minecraft/loot_table/blocks/gravel.json | 37 +++ .../loot_table/blocks/jungle_leaves.json | 136 ++++++++ .../chests/abandoned_mineshaft.json | 238 ++++++++++++++ .../loot_table/chests/ancient_city.json | 123 +++++++ .../chests/ancient_city_ice_box.json | 73 +++++ .../loot_table/chests/buried_treasure.json | 206 ++++++++++++ .../loot_table/chests/desert_pyramid.json | 211 ++++++++++++ .../loot_table/chests/end_city_treasure.json | 132 ++++++++ .../loot_table/chests/jungle_temple.json | 149 +++++++++ .../loot_table/chests/nether_bridge.json | 83 +++++ .../loot_table/chests/ruined_portal.json | 213 +++++++++++++ .../loot_table/chests/simple_dungeon.json | 269 ++++++++++++++++ .../chests/stronghold_corridor.json | 105 ++++++ .../chests/village/village_armorer.json | 56 ++++ .../chests/village/village_cartographer.json | 85 +++++ .../chests/village/village_plains_house.json | 128 ++++++++ .../chests/village/village_savanna_house.json | 128 ++++++++ .../chests/village/village_taiga_house.json | 161 ++++++++++ .../chests/village/village_temple.json | 109 +++++++ .../chests/village/village_toolsmith.json | 112 +++++++ .../chests/village/village_weaponsmith.json | 175 ++++++++++ .../loot_table/chests/woodland_mansion.json | 301 ++++++++++++++++++ .../minecraft/loot_table/entities/husk.json | 103 ++++++ .../loot_table/entities/iron_golem.json | 27 ++ .../minecraft/loot_table/entities/zombie.json | 103 ++++++ .../loot_table/entities/zombie_villager.json | 103 ++++++ 30 files changed, 3832 insertions(+) create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/archaeology/desert_well.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/archaeology/ocean_ruin_cold.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/archaeology/ocean_ruin_warm.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/blocks/ancient_debris.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/blocks/gravel.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/blocks/jungle_leaves.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/abandoned_mineshaft.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/ancient_city.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/ancient_city_ice_box.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/buried_treasure.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/desert_pyramid.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/end_city_treasure.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/jungle_temple.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/nether_bridge.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/ruined_portal.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/simple_dungeon.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/stronghold_corridor.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_armorer.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_cartographer.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_plains_house.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_savanna_house.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_taiga_house.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_temple.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_toolsmith.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_weaponsmith.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/woodland_mansion.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/entities/husk.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/entities/iron_golem.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/entities/zombie.json create mode 100644 overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/entities/zombie_villager.json diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/archaeology/desert_well.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/archaeology/desert_well.json new file mode 100644 index 0000000..8c72c22 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/archaeology/desert_well.json @@ -0,0 +1,69 @@ +{ + "type": "minecraft:archaeology", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:arms_up_pottery_sherd", + "weight": 2 + }, + { + "type": "minecraft:item", + "name": "minecraft:brewer_pottery_sherd", + "weight": 2 + }, + { + "type": "minecraft:item", + "name": "minecraft:brick" + }, + { + "type": "minecraft:item", + "name": "minecraft:emerald" + }, + { + "type": "minecraft:item", + "name": "minecraft:stick" + }, + { + "type": "minecraft:item", + "functions": [ + { + "effects": [ + { + "type": "minecraft:night_vision", + "duration": { + "type": "minecraft:uniform", + "max": 10.0, + "min": 7.0 + } + }, + { + "type": "minecraft:jump_boost", + "duration": { + "type": "minecraft:uniform", + "max": 10.0, + "min": 7.0 + } + }, + { + "type": "minecraft:saturation", + "duration": { + "type": "minecraft:uniform", + "max": 10.0, + "min": 7.0 + } + } + ], + "function": "minecraft:set_stew_effect" + } + ], + "name": "minecraft:suspicious_stew" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "minecraft:archaeology/desert_well" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/archaeology/ocean_ruin_cold.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/archaeology/ocean_ruin_cold.json new file mode 100644 index 0000000..3f91658 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/archaeology/ocean_ruin_cold.json @@ -0,0 +1,75 @@ +{ + "type": "minecraft:archaeology", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:blade_pottery_sherd" + }, + { + "type": "minecraft:item", + "name": "minecraft:explorer_pottery_sherd" + }, + { + "type": "minecraft:item", + "name": "minecraft:mourner_pottery_sherd" + }, + { + "type": "minecraft:item", + "name": "minecraft:plenty_pottery_sherd" + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_axe" + }, + { + "type": "minecraft:item", + "name": "minecraft:stone_axe", + "functions":[{ + "function": "enchant_with_levels", + "treasure": true, + "levels": 15 + }] + }, + { + "type": "minecraft:item", + "name": "minecraft:emerald", + "weight": 2 + }, + { + "type": "minecraft:item", + "name": "minecraft:bowl", + "weight": 2 + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_pickaxe", + "weight": 1 + }, + { + "type": "minecraft:item", + "name": "minecraft:stone_pickaxe", + "functions":[{ + "function": "enchant_with_levels", + "treasure": true, + "levels": 15 + }] + }, + { + "type": "minecraft:item", + "name": "minecraft:coal", + "weight": 2 + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_ingot", + "weight": 2 + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "minecraft:archaeology/ocean_ruin_cold" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/archaeology/ocean_ruin_warm.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/archaeology/ocean_ruin_warm.json new file mode 100644 index 0000000..1f8fcb4 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/archaeology/ocean_ruin_warm.json @@ -0,0 +1,74 @@ +{ + "type": "minecraft:archaeology", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:angler_pottery_sherd" + }, + { + "type": "minecraft:item", + "name": "minecraft:shelter_pottery_sherd" + }, + { + "type": "minecraft:item", + "name": "minecraft:snort_pottery_sherd" + }, + { + "type": "minecraft:item", + "name": "minecraft:sniffer_egg" + }, + { + "type": "minecraft:item", + "name": "minecraft:stone_sword", + "functions":[{ + "function": "minecraft:enchant_with_levels", + "levels": 15, + "treasure": true + }] + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_sword" + }, + { + "type": "minecraft:item", + "name": "minecraft:emerald", + "weight": 2 + }, + { + "type": "minecraft:item", + "name": "minecraft:wheat", + "weight": 2 + }, + { + "type": "minecraft:item", + "name": "minecraft:stone_shovel", + "functions":[{ + "function": "minecraft:enchant_with_levels", + "levels": 15, + "treasure": true + }] + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_shovel" + }, + { + "type": "minecraft:item", + "name": "minecraft:coal", + "weight": 2 + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_ingot", + "weight": 2 + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "minecraft:archaeology/ocean_ruin_warm" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/blocks/ancient_debris.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/blocks/ancient_debris.json new file mode 100644 index 0000000..aae148d --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/blocks/ancient_debris.json @@ -0,0 +1,48 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": {"min": 1} + } + ] + } + } + } + ], + "name": "minecraft:ancient_debris" + }, + { + "type": "minecraft:item", + "functions": [ + { + "enchantment": "minecraft:fortune", + "formula": "minecraft:ore_drops", + "function": "minecraft:apply_bonus" + }, + {"function": "minecraft:explosion_decay"} + ], + "name": "minecraft:netherite_scrap" + } + ] + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "minecraft:blocks/ancient_debris" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/blocks/gravel.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/blocks/gravel.json new file mode 100644 index 0000000..fc79596 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/blocks/gravel.json @@ -0,0 +1,37 @@ +{ + "type": "minecraft:block", + "pools": [{ + "rolls": 1, + "entries": [{ + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "name": "minecraft:gravel", + "conditions": [{ + "condition": "minecraft:match_tool", + "predicate": {"predicates": { + "enchantments": [{"enchantments": "minecraft:silk_touch", "levels": {"min": 1}}] + }} + }] + }, + { + "type": "minecraft:item", + "name": "minecraft:gravel", + "conditions": [ + { + "condition": "minecraft:any_of", + "terms": [ + {"condition": "minecraft:match_tool", "predicate": {"items": "#minecraft:shovels"}} + ] + }, + {"condition": "minecraft:random_chance", "chance": 0.5} + ] + }, + {"type": "minecraft:item", "name": "minecraft:flint"} + ], + "conditions": [{"condition": "minecraft:survives_explosion"}] + }] + }], + "random_sequence": "minecraft:blocks/gravel" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/blocks/jungle_leaves.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/blocks/jungle_leaves.json new file mode 100644 index 0000000..113c22e --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/blocks/jungle_leaves.json @@ -0,0 +1,136 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:any_of", + "terms": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "items": "minecraft:shears" + } + }, + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ] + } + ], + "name": "minecraft:jungle_leaves" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:survives_explosion" + }, + { + "chances": [ + 0.05, + 0.0625, + 0.083333336, + 0.1 + ], + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune" + } + ], + "name": "minecraft:jungle_sapling" + } + ] + } + ], + "rolls": 1.0 + }, + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:any_of", + "terms": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "items": "minecraft:shears" + } + }, + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ] + } + } + ], + "entries": [ + { + "type": "minecraft:item", + "conditions": [ + { + "chances": [ + 0.02, + 0.022222223, + 0.025, + 0.033333335, + 0.1 + ], + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune" + } + ], + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "minecraft:stick" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "minecraft:blocks/jungle_leaves" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/abandoned_mineshaft.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/abandoned_mineshaft.json new file mode 100644 index 0000000..f475621 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/abandoned_mineshaft.json @@ -0,0 +1,238 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:apple", + "weight": 20 + }, + { + "type": "minecraft:item", + "name": "minecraft:name_tag", + "weight": 30 + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "options": "#minecraft:on_random_loot" + } + ], + "name": "minecraft:book", + "weight": 10 + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_pickaxe", + "weight": 5 + }, + { + "type": "minecraft:empty", + "weight": 5 + } + ], + "rolls": 1.0 + }, + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 5.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:iron_ingot", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 9.0, + "min": 4.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:amethyst_shard", + "weight": 2 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 9.0, + "min": 4.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:lapis_lazuli", + "weight": 5 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:gold_ingot", + "weight": 3 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 13.0, + "min": 7.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:coal", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 7.0, + "min": 2.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:cooked_porkchop", + "weight": 15 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4.0, + "min": 2.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:firework_rocket", + "weight": 4 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:golden_apple", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:beetroot_soup", + "weight": 10 + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 4.0, + "min": 2.0 + } + }, + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 8.0, + "min": 4.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:iron_ingot", + "weight": 20 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 8.0, + "min": 4.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:gold_nugget", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_chirp", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_mellohi", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_13", + "weight": 7 + } + ], + "rolls": 3.0 + } + ], + "random_sequence": "minecraft:chests/abandoned_mineshaft" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/ancient_city.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/ancient_city.json new file mode 100644 index 0000000..274c6bd --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/ancient_city.json @@ -0,0 +1,123 @@ +{ + "pools":[{ + "rolls": {"min":12,"max":17}, + "entries":[ + { + "type":"item", + "name":"minecraft:enchanted_golden_apple", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:recovery_compass", + "weight":1 + }, + + { + "type":"item", + "name":"minecraft:diamond_sword", + "functions":[{ + "function":"enchant_with_levels", + "options": "#minecraft:on_random_loot", + "levels": {"min":25,"max":40} + }], + "weight":2 + }, + { + "type":"item", + "name":"minecraft:diamond_boots", + "functions":[{ + "function":"enchant_with_levels", + "options": "#minecraft:on_random_loot", + "levels": {"min":25,"max":40} + }], + "weight":2 + }, + { + "type":"item", + "name":"minecraft:diamond_horse_armor", + "weight":2 + }, + { + "type":"item", + "name":"minecraft:music_disc_13", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:music_disc_cat", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:music_disc_otherside", + "weight":1 + }, + + { + "type":"item", + "name":"minecraft:echo_shard", + "weight":4 + }, + { + "type":"item", + "name":"minecraft:disc_fragment_5", + "weight":5 + }, + { + "type":"item", + "name":"minecraft:experience_bottle", + "functions":[{ + "function":"minecraft:set_count", + "count": {"type":"minecraft:uniform","min":17,"max":22} + }], + "weight":4 + }, + { + "type":"item", + "name":"minecraft:sculk", + "functions":[{ + "function":"minecraft:set_count", + "count": {"type":"minecraft:uniform","min":10,"max":18} + }], + "weight":8 + }, + { + "type":"item", + "name":"minecraft:sculk_sensor", + "functions":[{ + "function":"minecraft:set_count", + "count": {"type":"minecraft:uniform","min":1,"max":3} + }], + "weight":4 + }, + { + "type":"item", + "name":"minecraft:black_wool", + "functions":[{ + "function":"minecraft:set_count", + "count": {"type":"minecraft:uniform","min":8,"max":15} + }], + "weight":6 + }, + { + "type":"item", + "name":"minecraft:deepslate_bricks", + "functions":[{ + "function":"minecraft:set_count", + "count": {"type":"minecraft:uniform","min":8,"max":15} + }], + "weight":7 + }, + { + "type":"item", + "name":"minecraft:lingering_potion", + "functions":[{ + "function":"minecraft:set_potion", + "id":"minecraft:long_swiftness" + }], + "weight":4 + } + ] + }] +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/ancient_city_ice_box.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/ancient_city_ice_box.json new file mode 100644 index 0000000..6d274a7 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/ancient_city_ice_box.json @@ -0,0 +1,73 @@ +{ + "pools":[{ + "rolls": {"min":4,"max":10}, + "entries":[ + { + "type":"item", + "name":"minecraft:enchanted_golden_apple", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:golden_apple", + "functions":[{ + "function":"minecraft:set_count", + "count": {"type":"minecraft:uniform","min":2,"max":5} + }], + "weight":2 + + }, + { + "type":"item", + "name":"minecraft:golden_carrot", + "functions":[{ + "function":"minecraft:set_count", + "count": {"type":"minecraft:uniform","min":7,"max":10} + }], + "weight":3 + + }, + { + "type":"item", + "name":"minecraft:echo_shard", + "weight":4 + }, + { + "type":"item", + "name":"minecraft:experience_bottle", + "functions":[{ + "function":"minecraft:set_count", + "count": {"type":"minecraft:uniform","min":17,"max":22} + }], + "weight":4 + }, + { + "type":"item", + "name":"minecraft:snowball", + "functions":[{ + "function":"minecraft:set_count", + "count": {"type":"minecraft:uniform","min":10,"max":18} + }], + "weight":7 + }, + { + "type":"item", + "name":"minecraft:sculk_sensor", + "functions":[{ + "function":"minecraft:set_count", + "count": {"type":"minecraft:uniform","min":1,"max":3} + }], + "weight":4 + }, + { + "type":"item", + "name":"minecraft:lingering_potion", + "functions":[{ + "function":"minecraft:set_potion", + "id":"minecraft:healing" + }], + "weight":3 + } + ] + }] +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/buried_treasure.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/buried_treasure.json new file mode 100644 index 0000000..ace8325 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/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" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/desert_pyramid.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/desert_pyramid.json new file mode 100644 index 0000000..1ae3449 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/desert_pyramid.json @@ -0,0 +1,211 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 3, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:copper_ingot", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:stone_axe", + "weight": 3 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 17, + "min": 12 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:coal", + "weight": 15 + }, + { + "type": "minecraft:item", + "functions": [{ + "add": false, + "count": {"type": "minecraft:uniform","max": 3,"min": 1}, + "function": "minecraft:set_count" + }], + "name": "minecraft:emerald", + "weight": 15 + }, + { + "type": "minecraft:item", + "functions": [{ + "add": false, + "count": {"type": "minecraft:uniform","max": 6,"min": 4}, + "function": "minecraft:set_count" + }], + "name": "minecraft:bone", + "weight": 25 + }, + { + "type": "minecraft:item", + "functions": [{ + "add": false, + "count": {"type": "minecraft:uniform","max": 3,"min": 1}, + "function": "minecraft:set_count" + }], + "name": "minecraft:spider_eye", + "weight": 25 + }, + { + "type": "minecraft:item", + "functions": [{ + "add": false, + "count": {"type": "minecraft:uniform","max": 7,"min": 3}, + "function": "minecraft:set_count" + }], + "name": "minecraft:rotten_flesh", + "weight": 25 + }, + { + "type": "minecraft:item", + "name": "minecraft:saddle", + "weight": 20 + }, + { + "type": "minecraft:item", + "name": "minecraft:leather_horse_armor", + "weight": 15 + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_strad", + "weight": 10 + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_mall", + "weight": 5 + }, + { + "type": "minecraft:item", + "functions": [{ + "function": "minecraft:enchant_randomly", + "options": "#minecraft:on_random_loot" + }], + "name": "minecraft:book", + "weight": 20 + }, + { + "type": "minecraft:item", + "name": "minecraft:apple", + "weight": 20 + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_carrot", + "weight": 2 + }, + { + "type": "minecraft:empty", + "weight": 15 + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 4, + "min": 2 + } + }, + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "functions": [{ + "add": false, + "count": {"type": "minecraft:uniform","max": 8,"min": 1}, + "function": "minecraft:set_count" + }], + "name": "minecraft:bone", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [{ + "add": false, + "count": {"type": "minecraft:uniform","max": 8,"min": 1}, + "function": "minecraft:set_count" + }], + "name": "minecraft:gunpowder", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [{ + "add": false, + "count": {"type": "minecraft:uniform","max": 8,"min": 1}, + "function": "minecraft:set_count" + }], + "name": "minecraft:rotten_flesh", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [{ + "add": false, + "count": {"type": "minecraft:uniform","max": 8,"min": 1}, + "function": "minecraft:set_count" + }], + "name": "minecraft:string", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [{ + "add": false, + "count": {"type": "minecraft:uniform","max": 8,"min": 1}, + "function": "minecraft:set_count" + }], + "name": "minecraft:sand", + "weight": 10 + } + ], + "rolls": 4 + }, + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:empty", + "weight": 6 + }, + { + "type": "minecraft:item", + "functions": [{ + "add": false, + "count": 2, + "function": "minecraft:set_count" + }], + "name": "minecraft:dune_armor_trim_smithing_template" + } + ], + "rolls": 1 + } + ], + "random_sequence": "minecraft:chests/desert_pyramid" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/end_city_treasure.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/end_city_treasure.json new file mode 100644 index 0000000..64a14cf --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/end_city_treasure.json @@ -0,0 +1,132 @@ +{ + "pools":[{ + "rolls": {"min":10,"max":16}, + "entries":[ + { + "type":"item", + "name":"minecraft:beetroot_seeds", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:diamond", + "functions":[{ + "function":"minecraft:set_count", + "count": {"type":"minecraft:uniform","min":2,"max":7} + }], + "weight":4 + }, + { + "type":"item", + "name":"minecraft:netherite_scrap", + "functions":[{ + "function":"minecraft:set_count", + "count": {"type":"minecraft:uniform","min":1,"max":2} + }], + "weight":1 + }, + { + "type":"item", + "name":"minecraft:diamond_sword", + "functions":[{ + "function":"enchant_with_levels", + "options": "#minecraft:on_random_loot", + "levels": {"min":25,"max":40} + }], + "weight":2 + }, + { + "type":"item", + "name":"minecraft:diamond_boots", + "functions":[{ + "function":"enchant_with_levels", + "options": "#minecraft:on_random_loot", + "levels": {"min":25,"max":40} + }], + "weight":2 + }, + { + "type":"item", + "name":"minecraft:diamond_chestplate", + "functions":[{ + "function":"enchant_with_levels", + "options": "#minecraft:on_random_loot", + "levels": {"min":25,"max":40} + }], + "weight":2 + }, + { + "type":"item", + "name":"minecraft:diamond_helmet", + "functions":[{ + "function":"enchant_with_levels", + "options": "#minecraft:on_random_loot", + "levels": {"min":25,"max":40} + }], + "weight":2 + }, + { + "type":"item", + "name":"minecraft:diamond_leggings", + "functions":[{ + "function":"enchant_with_levels", + "options": "#minecraft:on_random_loot", + "levels": {"min":25,"max":40} + }], + "weight":2 + }, + { + "type":"item", + "name":"minecraft:diamond_pickaxe", + "functions":[{ + "function":"enchant_with_levels", + "options": "#minecraft:on_random_loot", + "levels": {"min":25,"max":40} + }], + "weight":2 + }, + { + "type":"item", + "name":"minecraft:diamond_horse_armor", + "weight":2 + }, + { + "type":"item", + "name":"minecraft:purpur_block", + "functions":[{ + "function":"minecraft:set_count", + "count": {"type":"minecraft:uniform","min":10,"max":18} + }], + "weight":12 + }, + { + "type":"item", + "name":"minecraft:book", + "functions":[{ + "function":"enchant_with_levels", + "options": "#minecraft:on_random_loot", + "levels": {"min":10,"max":30} + }], + "weight":6 + }, + { + "type":"item", + "name":"minecraft:phantom_membrane", + "functions":[{ + "function":"minecraft:set_count", + "count": {"type":"minecraft:uniform","min":3,"max":9} + }], + "weight":7 + }, + { + "type":"item", + "name":"minecraft:splash_potion", + "functions":[{ + "function":"minecraft:set_potion", + "id":"minecraft:strong_leaping" + }], + "weight":4 + } + ] + }] +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/jungle_temple.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/jungle_temple.json new file mode 100644 index 0000000..977e6d9 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/jungle_temple.json @@ -0,0 +1,149 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": {"type": "minecraft:uniform", + "max": 3, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:copper_ingot", + "weight": 15 + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_hoe", + "weight": 3 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 3, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:bamboo", + "weight": 15 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 3, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:emerald", + "weight": 2 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 6, + "min": 4 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:bone", + "weight": 20 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 7, + "min": 3 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:leather", + "weight": 16 + }, + { + "type": "minecraft:item", + "name": "minecraft:saddle", + "weight": 1 + }, + { + "type": "minecraft:item", + "name": "minecraft:leather_horse_armor" + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_cat" + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_wait" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": 30, + "options": "#minecraft:on_random_loot" + } + ], + "name": "minecraft:book" + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 6, + "min": 2 + } + }, + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:empty", + "weight": 2 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": 2, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:wild_armor_trim_smithing_template" + } + ], + "rolls": 1 + } + ], + "random_sequence": "minecraft:chests/jungle_temple" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/nether_bridge.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/nether_bridge.json new file mode 100644 index 0000000..deb677a --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/nether_bridge.json @@ -0,0 +1,83 @@ +{ + "pools":[{ + "rolls": {"min":19,"max":25}, + "entries":[ + { + "type":"item", + "name":"minecraft:diamond_sword", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:obsidian", + "count": {"min":3,"max":5}, + "weight":14 + }, + { + "type":"item", + "name":"minecraft:diamond", + "count": {"min":2,"max":5}, + "weight":9 + }, + { + "type":"item", + "name":"minecraft:golden_horse_armor", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:rib_armor_trim_smithing_template", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:nether_wart", + "count": {"min":3,"max":14}, + "weight":14 + }, + { + "type":"item", + "name":"minecraft:diamond_chestplate", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:golden_chestplate", + "functions": [{ + "function":"enchant_with_levels", + "options": "#minecraft:on_random_loot", + "levels": {"min":10,"max":30} + }], + "weight":1 + }, + { + "type":"item", + "name":"minecraft:golden_boots", + "functions":[{ + "function":"enchant_with_levels", + "options": "#minecraft:on_random_loot", + "levels": {"min":20,"max":30} + }], + "weight":1 + }, + { + "type":"item", + "name":"minecraft:fire_charge", + "count": {"min":2,"max":3}, + "weight":5 + }, + { + "type":"item", + "name":"minecraft:blaze_powder", + "count": {"min":2,"max":3}, + "weight":3 + }, + { + "type":"item", + "name":"minecraft:nether_bricks", + "count": {"min":8,"max":19}, + "weight":20 + } + ] + }] +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/ruined_portal.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/ruined_portal.json new file mode 100644 index 0000000..ae87d63 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/ruined_portal.json @@ -0,0 +1,213 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:flint", + "weight": 40 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:basalt", + "weight": 40 + }, + { + "type": "minecraft:item", + "name": "minecraft:fire_charge", + "weight": 40 + }, + { + "type": "minecraft:item", + "name": "minecraft:apple", + "weight": 15 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 3, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:copper_ingot", + "weight": 15 + }, + { + "type": "minecraft:item", + "functions": [ + {"function": "minecraft:enchant_randomly", "options": "#minecraft:on_random_loot"}, + { + "function": "minecraft:set_components", + "components": { + "tool": { + "rules": [ + {"blocks": "#minecraft:incorrect_for_wooden_tool", "correct_for_drops": false}, + {"blocks": "#mineable/pickaxe", "speed": 2.0, "correct_for_drops": true}, + {"blocks": "#mineable/axe", "speed": 2.0, "correct_for_drops": true}, + {"blocks": "#mineable/shovel", "speed": 2.0, "correct_for_drops": true}, + {"blocks": "#mineable/hoe", "speed": 2.0, "correct_for_drops": true} + ] + }, + "custom_name": "{'text':'Wooden Paxel','italic':false}", + "custom_model_data": 74831 + } + } + ], + "name": "minecraft:wooden_shovel", + "weight": 35 + }, + { + "type": "minecraft:item", + "name": "minecraft:stone_axe", + "weight": 15 + }, + { + "type": "minecraft:item", + "name": "minecraft:stone_hoe", + "weight": 15 + }, + { + "type": "minecraft:item", + "name": "minecraft:stone_shovel", + "weight": 15 + }, + { + "type": "minecraft:item", + "functions": [{"function": "minecraft:enchant_randomly"}], + "options": "#minecraft:on_random_loot", + "name": "minecraft:leather_boots", + "weight": 5 + }, + { + "type": "minecraft:item", + "functions": [{"function": "minecraft:enchant_randomly"}], + "options": "#minecraft:on_random_loot", + "name": "minecraft:leather_chestplate", + "weight": 5 + }, + { + "type": "minecraft:item", + "functions": [{"function": "minecraft:enchant_randomly"}], + "options": "#minecraft:on_random_loot", + "name": "minecraft:leather_helmet", + "weight": 5 + }, + { + "type": "minecraft:item", + "functions": [{"function": "minecraft:enchant_randomly"}], + "options": "#minecraft:on_random_loot", + "name": "minecraft:leather_leggings", + "weight": 5 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 7, + "min": 2 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:glistering_melon_slice", + "weight": 15 + }, + { + "type": "minecraft:item", + "name": "minecraft:leather_horse_armor", + "weight": 15 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 7, + "min": 2 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:golden_carrot", + "weight": 15 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 8, + "min": 2 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:copper_ingot", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:bell" + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 11, + "min": 4 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:nether_bricks" + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 8, + "min": 4 + } + } + ], + "random_sequence": "minecraft:chests/ruined_portal" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/simple_dungeon.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/simple_dungeon.json new file mode 100644 index 0000000..f6e990e --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/simple_dungeon.json @@ -0,0 +1,269 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:saddle", + "weight": 20 + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_apple", + "weight": 15 + }, + { + "type": "minecraft:item", + "name": "minecraft:poppy", + "weight": 2 + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_otherside", + "weight": 2 + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_13", + "weight": 15 + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_cat", + "weight": 15 + }, + { + "type": "minecraft:item", + "name": "minecraft:name_tag", + "weight": 20 + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_ingot", + "functions":[{ + "function":"minecraft:set_count", + "count":{"type":"minecraft:uniform","min":1,"max":4}, + "add":true + }], + "weight": 10 + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_horse_armor", + "weight": 15 + }, + { + "type": "minecraft:item", + "name": "minecraft:gold_ingot", + "weight": 5 + }, + { + "type": "minecraft:item", + "functions": [{"function": "minecraft:enchant_randomly"}], + "options": "#minecraft:on_random_loot", + "name": "minecraft:book", + "weight": 10 + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 3, + "min": 1 + } + }, + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:iron_ingot", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:gold_ingot", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:bread", + "weight": 20 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 9, + "min": 3 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:wheat", + "weight": 20 + }, + { + "type": "minecraft:item", + "name": "minecraft:bucket", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:coal", + "weight": 15 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4, + "min": 2 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:melon_slice", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4, + "min": 2 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:pumpkin_pie", + "weight": 10 + }, + { + "type": "minecraft:item", + "name": "minecraft:beetroot_soup", + "weight": 10 + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 4, + "min": 1 + } + }, + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 8, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:bone", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 8, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:gunpowder", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 8, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:rotten_flesh", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 8, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:string", + "weight": 10 + } + ], + "rolls": 3 + } + ], + "random_sequence": "minecraft:chests/simple_dungeon" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/stronghold_corridor.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/stronghold_corridor.json new file mode 100644 index 0000000..04a3005 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/stronghold_corridor.json @@ -0,0 +1,105 @@ +{ + "pools":[{ + "rolls": 3, + "entries":[ + { + "type":"item", + "name":"minecraft:sentry_armor_trim_smithing_template", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:vex_armor_trim_smithing_template", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:wild_armor_trim_smithing_template", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:coast_armor_trim_smithing_template", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:dune_armor_trim_smithing_template", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:wayfinder_armor_trim_smithing_template", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:raiser_armor_trim_smithing_template", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:shaper_armor_trim_smithing_template", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:host_armor_trim_smithing_template", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:ward_armor_trim_smithing_template", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:silence_armor_trim_smithing_template", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:tide_armor_trim_smithing_template", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:snout_armor_trim_smithing_template", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:rib_armor_trim_smithing_template", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:eye_armor_trim_smithing_template", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:spire_armor_trim_smithing_template", + "weight":1 + }, + { + "type":"item", + "name":"minecraft:phantom_membrane", + "functions":[{ + "function":"minecraft:set_count", + "count": {"type":"minecraft:uniform","min":1,"max":3} + }], + "weight":2 + }, + { + "type":"item", + "name":"minecraft:potion", + "functions":[{ + "function":"minecraft:set_potion", + "id":"minecraft:strength" + }], + "weight":1 + } + ] + }] +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_armorer.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_armorer.json new file mode 100644 index 0000000..6c6300e --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_armorer.json @@ -0,0 +1,56 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 3.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:copper_ingot", + "weight": 2 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:bread", + "weight": 4 + }, + { + "type": "minecraft:item", + "name": "minecraft:chainmail_helmet" + }, + { + "type": "minecraft:item", + "name": "minecraft:emerald" + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 5.0, + "min": 1.0 + } + } + ], + "random_sequence": "minecraft:chests/village/village_armorer" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_cartographer.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_cartographer.json new file mode 100644 index 0000000..91f32fb --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_cartographer.json @@ -0,0 +1,85 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 3.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:ink_sac", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 5.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:paper", + "weight": 15 + }, + { + "type": "minecraft:item", + "name": "minecraft:redstone", + "weight": 5 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:bread", + "weight": 15 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:stick", + "weight": 5 + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 5.0, + "min": 1.0 + } + } + ], + "random_sequence": "minecraft:chests/village/village_cartographer" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_plains_house.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_plains_house.json new file mode 100644 index 0000000..07ea257 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_plains_house.json @@ -0,0 +1,128 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 3.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:raw_copper" + }, + { + "type": "minecraft:item", + "name": "minecraft:dandelion", + "weight": 2 + }, + { + "type": "minecraft:item", + "name": "minecraft:poppy" + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 7.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:potato", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:bread", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 5.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:apple", + "weight": 10 + }, + { + "type": "minecraft:item", + "name": "minecraft:book" + }, + { + "type": "minecraft:item", + "name": "minecraft:feather" + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:emerald", + "weight": 2 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:oak_sapling", + "weight": 5 + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 8.0, + "min": 3.0 + } + } + ], + "random_sequence": "minecraft:chests/village/village_plains_house" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_savanna_house.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_savanna_house.json new file mode 100644 index 0000000..88d0a13 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_savanna_house.json @@ -0,0 +1,128 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 3.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:raw_copper" + }, + { + "type": "minecraft:item", + "name": "minecraft:short_grass", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:tall_grass", + "weight": 5 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:bread", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 5.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:wheat_seeds", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:emerald", + "weight": 2 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:acacia_sapling", + "weight": 10 + }, + { + "type": "minecraft:item", + "name": "minecraft:saddle" + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:torch" + }, + { + "type": "minecraft:item", + "name": "minecraft:bucket" + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 8.0, + "min": 3.0 + } + } + ], + "random_sequence": "minecraft:chests/village/village_savanna_house" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_taiga_house.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_taiga_house.json new file mode 100644 index 0000000..889d3a3 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_taiga_house.json @@ -0,0 +1,161 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 5.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:raw_copper" + }, + { + "type": "minecraft:item", + "name": "minecraft:fern", + "weight": 2 + }, + { + "type": "minecraft:item", + "name": "minecraft:large_fern", + "weight": 2 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 7.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:potato", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 7.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:sweet_berries", + "weight": 5 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:bread", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 5.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:pumpkin_seeds", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:pumpkin_pie" + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:emerald", + "weight": 2 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 5.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:spruce_sapling", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:spruce_sign" + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 5.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:spruce_log", + "weight": 10 + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 8.0, + "min": 3.0 + } + } + ], + "random_sequence": "minecraft:chests/village/village_taiga_house" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_temple.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_temple.json new file mode 100644 index 0000000..d205a58 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_temple.json @@ -0,0 +1,109 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:redstone", + "weight": 2 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:bread", + "weight": 7 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:rotten_flesh", + "weight": 7 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:blue_orchid" + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:copper_ingot" + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:emerald" + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 8.0, + "min": 3.0 + } + } + ], + "random_sequence": "minecraft:chests/village/village_temple" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_toolsmith.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_toolsmith.json new file mode 100644 index 0000000..58822d4 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_toolsmith.json @@ -0,0 +1,112 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 3.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:amethyst_shard" + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 5.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:copper_ingot", + "weight": 5 + }, + { + "type": "minecraft:item", + "functions": [{ + "function": "minecraft:enchant_randomly", + "options": "#minecraft:on_random_loot" + }], + "name": "minecraft:stone_axe" + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 3.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:bread", + "weight": 15 + }, + { + "type": "minecraft:item", + "name": "minecraft:stone_pickaxe", + "weight": 5 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 3.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:coal" + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 3.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:stick", + "weight": 20 + }, + { + "type": "minecraft:item", + "name": "minecraft:stone_shovel", + "weight": 5 + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 8.0, + "min": 3.0 + } + } + ], + "random_sequence": "minecraft:chests/village/village_toolsmith" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_weaponsmith.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_weaponsmith.json new file mode 100644 index 0000000..fa79d3c --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/village/village_weaponsmith.json @@ -0,0 +1,175 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 3.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:amethyst_shard", + "weight": 3 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 5.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:copper_ingot", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 3.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:golden_carrot", + "weight": 5 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 3.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:bread", + "weight": 15 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 3.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:apple", + "weight": 15 + }, + { + "type": "minecraft:item", + "name": "minecraft:stone_pickaxe", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:stone_sword", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:leather_chestplate", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:leather_helmet", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:leather_leggings", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:leather_boots", + "weight": 5 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 7.0, + "min": 3.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:basalt", + "weight": 5 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 7.0, + "min": 3.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:oak_sapling", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:saddle", + "weight": 3 + }, + { + "type": "minecraft:item", + "name": "minecraft:leather" + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_11" + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_13" + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 8.0, + "min": 3.0 + } + } + ], + "random_sequence": "minecraft:chests/village/village_weaponsmith" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/woodland_mansion.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/woodland_mansion.json new file mode 100644 index 0000000..1e8e3f8 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/chests/woodland_mansion.json @@ -0,0 +1,301 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:lead", + "weight": 20 + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_apple", + "weight": 15 + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_axe", + "weight": 2 + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_13", + "weight": 15 + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_cat", + "weight": 15 + }, + { + "type": "minecraft:item", + "name": "minecraft:name_tag", + "weight": 20 + }, + { + "type": "minecraft:item", + "name": "minecraft:chainmail_chestplate", + "weight": 10 + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_hoe", + "weight": 15 + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_chestplate", + "weight": 5 + }, + { + "type": "minecraft:item", + "functions": [{ + "function": "minecraft:enchant_randomly", + "options": "#minecraft:on_random_loot" + }], + "name": "minecraft:book", + "weight": 10 + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 3, + "min": 1 + } + }, + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:iron_ingot", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:gold_ingot", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:bread", + "weight": 20 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:cookie", + "weight": 20 + }, + { + "type": "minecraft:item", + "name": "minecraft:bucket", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:redstone", + "weight": 15 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:coal", + "weight": 15 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4, + "min": 2 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:melon_seeds", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4, + "min": 2 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:pumpkin_seeds", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 4, + "min": 2 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:beetroot_seeds", + "weight": 10 + } + ], + "rolls": { + "type": "minecraft:uniform", + "max": 4, + "min": 1 + } + }, + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 8, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:bone", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 8, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:gunpowder", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 8, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:golden_carrot", + "weight": 10 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 8, + "min": 1 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:string", + "weight": 10 + } + ], + "rolls": 3 + }, + { + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:empty" + }, + { + "type": "minecraft:item", + "name": "minecraft:vex_armor_trim_smithing_template" + } + ], + "rolls": 1 + } + ], + "random_sequence": "minecraft:chests/woodland_mansion" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/entities/husk.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/entities/husk.json new file mode 100644 index 0000000..8644843 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/entities/husk.json @@ -0,0 +1,103 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2.0, + "min": 0.0 + }, + "function": "minecraft:set_count" + }, + { + "count": { + "type": "minecraft:uniform", + "max": 1.0, + "min": 0.0 + }, + "enchantment": "minecraft:looting", + "function": "minecraft:enchanted_count_increase" + } + ], + "name": "minecraft:rotten_flesh" + } + ], + "rolls": 1.0 + }, + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:killed_by_player" + }, + { + "condition": "minecraft:random_chance_with_enchanted_bonus", + "enchanted_chance": { + "type": "minecraft:linear", + "base": 0.035, + "per_level_above_first": 0.01 + }, + "enchantment": "minecraft:looting", + "unenchanted_chance": 0.025 + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:carrot" + }, + { + "type": "minecraft:item", + "functions": [ + { + "conditions": [ + { + "condition": "minecraft:any_of", + "terms": [ + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "flags": { + "is_on_fire": true + } + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "direct_attacker", + "predicate": { + "equipment": { + "mainhand": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "#minecraft:smelts_loot" + } + ] + } + } + } + } + } + ] + } + ], + "function": "minecraft:furnace_smelt" + } + ], + "name": "minecraft:potato" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "minecraft:entities/husk" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/entities/iron_golem.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/entities/iron_golem.json new file mode 100644 index 0000000..348c35a --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/entities/iron_golem.json @@ -0,0 +1,27 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2.0, + "min": 0.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:poppy" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "minecraft:entities/iron_golem" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/entities/zombie.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/entities/zombie.json new file mode 100644 index 0000000..6d0b54a --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/entities/zombie.json @@ -0,0 +1,103 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2.0, + "min": 0.0 + }, + "function": "minecraft:set_count" + }, + { + "count": { + "type": "minecraft:uniform", + "max": 1.0, + "min": 0.0 + }, + "enchantment": "minecraft:looting", + "function": "minecraft:enchanted_count_increase" + } + ], + "name": "minecraft:rotten_flesh" + } + ], + "rolls": 1.0 + }, + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:killed_by_player" + }, + { + "condition": "minecraft:random_chance_with_enchanted_bonus", + "enchanted_chance": { + "type": "minecraft:linear", + "base": 0.035, + "per_level_above_first": 0.01 + }, + "enchantment": "minecraft:looting", + "unenchanted_chance": 0.025 + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:carrot" + }, + { + "type": "minecraft:item", + "functions": [ + { + "conditions": [ + { + "condition": "minecraft:any_of", + "terms": [ + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "flags": { + "is_on_fire": true + } + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "direct_attacker", + "predicate": { + "equipment": { + "mainhand": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "#minecraft:smelts_loot" + } + ] + } + } + } + } + } + ] + } + ], + "function": "minecraft:furnace_smelt" + } + ], + "name": "minecraft:potato" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "minecraft:entities/zombie" +} diff --git a/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/entities/zombie_villager.json b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/entities/zombie_villager.json new file mode 100644 index 0000000..93a3c97 --- /dev/null +++ b/overrides/global_packs/mc_rebalance_datapack/data/minecraft/loot_table/entities/zombie_villager.json @@ -0,0 +1,103 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2.0, + "min": 0.0 + }, + "function": "minecraft:set_count" + }, + { + "count": { + "type": "minecraft:uniform", + "max": 1.0, + "min": 0.0 + }, + "enchantment": "minecraft:looting", + "function": "minecraft:enchanted_count_increase" + } + ], + "name": "minecraft:rotten_flesh" + } + ], + "rolls": 1.0 + }, + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:killed_by_player" + }, + { + "condition": "minecraft:random_chance_with_enchanted_bonus", + "enchanted_chance": { + "type": "minecraft:linear", + "base": 0.035, + "per_level_above_first": 0.01 + }, + "enchantment": "minecraft:looting", + "unenchanted_chance": 0.025 + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:carrot" + }, + { + "type": "minecraft:item", + "functions": [ + { + "conditions": [ + { + "condition": "minecraft:any_of", + "terms": [ + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "flags": { + "is_on_fire": true + } + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "direct_attacker", + "predicate": { + "equipment": { + "mainhand": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "#minecraft:smelts_loot" + } + ] + } + } + } + } + } + ] + } + ], + "function": "minecraft:furnace_smelt" + } + ], + "name": "minecraft:potato" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "minecraft:entities/zombie_villager" +}