diff --git a/gm4_uhc_loot/beet.yaml b/gm4_uhc_loot/beet.yaml new file mode 100644 index 0000000000..6d4b156a0b --- /dev/null +++ b/gm4_uhc_loot/beet.yaml @@ -0,0 +1,22 @@ +id: uhc_loot +name: UHC Loot +version: 1.0.X + +data_pack: + load: . + +pipeline: + - gm4.plugins.extend.module + +meta: + gm4: + versioning: + schedule_loops: [main] + website: + description: Modifies loot tables for the gm4 1.20 UHC! + recommended: [] + video: null + wiki: null + credits: + Creator: + - n/a diff --git a/gm4_uhc_loot/data/gm4_uhc_loot/functions/init.mcfunction b/gm4_uhc_loot/data/gm4_uhc_loot/functions/init.mcfunction new file mode 100644 index 0000000000..81b7fa0d4d --- /dev/null +++ b/gm4_uhc_loot/data/gm4_uhc_loot/functions/init.mcfunction @@ -0,0 +1,4 @@ +execute unless score uhc_loot gm4_modules matches 1 run data modify storage gm4:log queue append value {type:"install",module:"UHC Loot"} +scoreboard players set uhc_loot gm4_modules 1 + +#$moduleUpdateList diff --git a/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_combat_expanded_armor.json b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_combat_expanded_armor.json new file mode 100644 index 0000000000..2044dfe6a8 --- /dev/null +++ b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_combat_expanded_armor.json @@ -0,0 +1,50 @@ +{ + "type": "minecraft:generic", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_combat_expanded:armor/material/chainmail/head", + "weight": 3 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_combat_expanded:armor/material/chainmail/chest", + "weight": 3 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_combat_expanded:armor/material/chainmail/legs", + "weight": 3 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_combat_expanded:armor/material/chainmail/feet", + "weight": 3 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_combat_expanded:armor/material/iron/head", + "weight": 1 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_combat_expanded:armor/material/iron/chest", + "weight": 1 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_combat_expanded:armor/material/iron/legs", + "weight": 1 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_combat_expanded:armor/material/iron/feet", + "weight": 1 + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_combat_expanded_weapon.json b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_combat_expanded_weapon.json new file mode 100644 index 0000000000..dfd0753f9e --- /dev/null +++ b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_combat_expanded_weapon.json @@ -0,0 +1,30 @@ +{ + "type": "minecraft:generic", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_combat_expanded:weapon/axe/iron", + "weight": 3 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_combat_expanded:weapon/sword/iron", + "weight": 3 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_combat_expanded:weapon/axe/gold", + "weight": 1 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_combat_expanded:weapon/sword/gold", + "weight": 1 + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_heart_canisters.json b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_heart_canisters.json new file mode 100644 index 0000000000..458f6609d1 --- /dev/null +++ b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_heart_canisters.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:generic", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_heart_canisters:items/tier_1_heart_canister", + "weight": 10 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_heart_canisters:items/tier_2_heart_canister", + "weight": 1 + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_loot.json b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_loot.json new file mode 100644 index 0000000000..049720db76 --- /dev/null +++ b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_loot.json @@ -0,0 +1,24 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "weight": 60, + "name": "gm4_uhc_loot:gm4_uhc_gear" + }, + { + "type": "minecraft:loot_table", + "weight": 25, + "name": "gm4_uhc_loot:gm4_uhc_potions" + }, + { + "type": "minecraft:loot_table", + "weight": 15, + "name": "gm4_uhc_loot:gm4_uhc_other" + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_metallurgy.json b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_metallurgy.json new file mode 100644 index 0000000000..2e2a161c24 --- /dev/null +++ b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_metallurgy.json @@ -0,0 +1,84 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "loot_table", + "name": "gm4_arborenda_shamir:band", + "weight": 1 + }, + { + "type": "loot_table", + "name": "gm4_vibro_shamir:band", + "weight": 2 + }, + { + "type": "loot_table", + "name": "gm4_defuse_shamir:band", + "weight": 3 + }, + { + "type": "loot_table", + "name": "gm4_ender_bolt_shamir:band", + "weight": 2 + }, + { + "type": "loot_table", + "name": "gm4_forterra_shamir:band", + "weight": 2 + }, + { + "type": "loot_table", + "name": "gm4_hypexperia_shamir:band", + "weight": 1 + }, + { + "type": "loot_table", + "name": "gm4_musical_shamir:band", + "weight": 1 + }, + { + "type": "loot_table", + "name": "gm4_sensus_shamir:band", + "weight": 1 + }, + { + "type": "loot_table", + "name": "gm4_infinitas_shamir:band", + "weight": 1 + }, + { + "type": "loot_table", + "name": "gm4_helious_shamir:band", + "weight": 3 + }, + { + "type": "loot_table", + "name": "gm4_percurro_shamir:band", + "weight": 2 + }, + { + "type": "loot_table", + "name": "gm4_fulcio_shamir:band", + "weight": 1 + }, + { + "type": "loot_table", + "name": "gm4_iacio_shamir:band", + "weight": 2 + }, + { + "type": "loot_table", + "name": "gm4_lumos_shamir:band", + "weight": 1 + }, + { + "type": "loot_table", + "name": "gm4_celaro_shamir:band", + "weight": 2 + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_tnt_landmines.json b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_tnt_landmines.json new file mode 100644 index 0000000000..65f6ef9bf9 --- /dev/null +++ b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_tnt_landmines.json @@ -0,0 +1,30 @@ +{ + "type": "minecraft:generic", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_tnt_landmines:items/crafting_table_landmine", + "weight": 5 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_tnt_landmines:items/dirt_landmine", + "weight": 1 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_tnt_landmines:items/grass_landmine", + "weight": 3 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_tnt_landmines:items/stone_landmine", + "weight": 3 + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_uhc_gear.json b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_uhc_gear.json new file mode 100644 index 0000000000..20c00291e5 --- /dev/null +++ b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_uhc_gear.json @@ -0,0 +1,35 @@ +{ + "type": "minecraft:generic", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_combat_expanded_armor", + "weight": 30 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_combat_expanded_weapon", + "weight": 10 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_metallurgy", + "weight": 30 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_heart_canisters", + "weight": 15 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_boots_of_ostara:items/boots_of_ostara", + "weight": 15 + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_uhc_other.json b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_uhc_other.json new file mode 100644 index 0000000000..000155dfa6 --- /dev/null +++ b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_uhc_other.json @@ -0,0 +1,34 @@ +{ + "type": "minecraft:generic", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "weight": 35, + "name": "gm4_zauber_cauldrons:recipes/precursors/enchanted_prismarine_shard", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:loot_table", + "weight": 40, + "name": "gm4_uhc_loot:gm4_tnt_landmines" + }, + { + "type": "minecraft:loot_table", + "weight": 25, + "name": "gm4_relocators:items/relocator_empty" + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_uhc_potions.json b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_uhc_potions.json new file mode 100644 index 0000000000..b8aed76c89 --- /dev/null +++ b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_uhc_potions.json @@ -0,0 +1,25 @@ +{ + "type": "minecraft:generic", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_lightning_in_a_bottle:items/splash_bottle_of_lightning", + "weight": 20 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_zauber_potions", + "weight": 60 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_potion_liquids:splash_floating_potion", + "weight": 20 + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_zauber_potions.json b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_zauber_potions.json new file mode 100644 index 0000000000..90b52cba29 --- /dev/null +++ b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/gm4_zauber_potions.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:generic", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_zauber_cauldrons:recipes/potions/splash/jump_boost", + "weight": 1 + }, + { + "type": "minecraft:loot_table", + "name": "gm4_zauber_cauldrons:recipes/potions/splash/speed", + "weight": 3 + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/suspicious_stew.json b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/suspicious_stew.json new file mode 100644 index 0000000000..bb391de9bc --- /dev/null +++ b/gm4_uhc_loot/data/gm4_uhc_loot/loot_tables/suspicious_stew.json @@ -0,0 +1,75 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 3, + "max": 10, + "type": "minecraft:uniform" + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_stew_effect", + "effects": [ + { + "type": "minecraft:night_vision", + "duration": { + "min": 7, + "max": 10 + } + }, + { + "type": "minecraft:jump_boost", + "duration": { + "min": 7, + "max": 10 + } + }, + { + "type": "minecraft:weakness", + "duration": { + "min": 10, + "max": 32 + } + }, + { + "type": "minecraft:blindness", + "duration": { + "min": 10, + "max": 32 + } + }, + { + "type": "minecraft:fire_resistance", + "duration": { + "min": 2, + "max": 4 + } + }, + { + "type": "minecraft:poison", + "duration": { + "min": 3, + "max": 4 + } + }, + { + "type": "minecraft:regeneration", + "duration": { + "min": 6, + "max": 8 + } + } + ] + } + ], + "name": "minecraft:suspicious_stew" + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/load/tags/functions/gm4_uhc_loot.json b/gm4_uhc_loot/data/load/tags/functions/gm4_uhc_loot.json new file mode 100644 index 0000000000..98d50dc6b1 --- /dev/null +++ b/gm4_uhc_loot/data/load/tags/functions/gm4_uhc_loot.json @@ -0,0 +1,5 @@ +{ + "values": [ + "gm4_uhc_loot:load" + ] +} diff --git a/gm4_uhc_loot/data/load/tags/functions/load.json b/gm4_uhc_loot/data/load/tags/functions/load.json new file mode 100644 index 0000000000..2240c81b83 --- /dev/null +++ b/gm4_uhc_loot/data/load/tags/functions/load.json @@ -0,0 +1,5 @@ +{ + "values": [ + "#load:gm4_uhc_loot" + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/abandoned_mineshaft.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/abandoned_mineshaft.json new file mode 100644 index 0000000000..202a58e8d7 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/abandoned_mineshaft.json @@ -0,0 +1,295 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:golden_apple" + }, + { + "type": "minecraft:item", + "name": "minecraft:enchanted_golden_apple" + }, + { + "type": "minecraft:item", + "weight": 30, + "name": "minecraft:name_tag" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:book", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_pickaxe" + }, + { + "type": "minecraft:empty", + "weight": 5 + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 2, + "max": 4 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:redstone", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 9 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:lapis_lazuli", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 9 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:diamond", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 2 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:coal", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 3, + "max": 8 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:bread", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:melon_seeds", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:pumpkin_seeds", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:beetroot_seeds", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 4 + } + } + ] + } + ] + }, + { + "rolls": 3, + "entries": [ + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:rail", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 8 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:powered_rail", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:detector_rail", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:activator_rail", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:torch", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 16 + } + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/ancient_city.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/ancient_city.json new file mode 100644 index 0000000000..6f0d41b4b0 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/ancient_city.json @@ -0,0 +1,444 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 5, + "max": 10 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:enchanted_golden_apple", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 2 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_otherside" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:compass", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:sculk_catalyst", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 2 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:name_tag" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:diamond_hoe", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + }, + { + "function": "minecraft:set_damage", + "damage": { + "type": "minecraft:uniform", + "min": 0.8, + "max": 1 + }, + "add": false + }, + { + "function": "minecraft:enchant_with_levels", + "levels": { + "type": "minecraft:uniform", + "min": 30, + "max": 50 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:lead", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:diamond_horse_armor", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:saddle", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:music_disc_13" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:music_disc_cat" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:diamond_leggings", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "type": "minecraft:uniform", + "min": 30, + "max": 50 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:book", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:swift_sneak" + ] + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:sculk", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 10 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:sculk_sensor", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:candle", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:amethyst_shard", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 15 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:experience_bottle", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:glow_berries", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 15 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:iron_leggings", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "type": "minecraft:uniform", + "min": 20, + "max": 39 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 4, + "name": "minecraft:echo_shard", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 4, + "name": "minecraft:disc_fragment_5", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:potion", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + }, + { + "function": "minecraft:set_potion", + "id": "minecraft:strong_regeneration" + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:book", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:book", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 3, + "max": 10 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:bone", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 15 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:soul_torch", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 15 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 7, + "name": "minecraft:coal", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 6, + "max": 15 + }, + "add": false + } + ] + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:empty", + "weight": 75 + }, + { + "type": "minecraft:item", + "weight": 4, + "name": "minecraft:ward_armor_trim_smithing_template" + }, + { + "type": "minecraft:item", + "name": "minecraft:silence_armor_trim_smithing_template" + } + ] + } + ] + } + + \ No newline at end of file diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/ancient_city_ice_box.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/ancient_city_ice_box.json new file mode 100644 index 0000000000..86357b9969 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/ancient_city_ice_box.json @@ -0,0 +1,94 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 4, + "max": 10 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:suspicious_stew" + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_carrot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 10 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:baked_potato", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 10 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:packed_ice", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 6 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 4, + "name": "minecraft:snowball", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 6 + }, + "add": false + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/bastion_bridge.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/bastion_bridge.json new file mode 100644 index 0000000000..7035036cb6 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/bastion_bridge.json @@ -0,0 +1,343 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:lodestone", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 1, + "max": 2 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:crossbow", + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "type": "minecraft:uniform", + "min": 0.1, + "max": 0.5 + }, + "add": false + }, + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:spectral_arrow", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 10, + "max": 28 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:gilded_blackstone", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 8, + "max": 12 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:crying_obsidian", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 3, + "max": 8 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:gold_block", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 9 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 9 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_sword", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_chestplate", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + }, + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_helmet", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + }, + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_leggings", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + }, + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_boots", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + }, + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_axe", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + }, + { + "function": "minecraft:enchant_randomly" + } + ] + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 2, + "max": 4 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:string", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 6 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:leather", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:arrow", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 5, + "max": 17 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_nugget", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 6 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:gold_nugget", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 6 + }, + "add": false + } + ] + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:empty", + "weight": 11 + }, + { + "type": "minecraft:item", + "name": "minecraft:snout_armor_trim_smithing_template" + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:empty", + "weight": 9 + }, + { + "type": "minecraft:item", + "name": "minecraft:netherite_upgrade_smithing_template" + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/bastion_other.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/bastion_other.json new file mode 100644 index 0000000000..da4f7ab2ee --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/bastion_other.json @@ -0,0 +1,561 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:diamond_pickaxe", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + }, + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:diamond_shovel", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:crossbow", + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "type": "minecraft:uniform", + "min": 0.1, + "max": 0.9 + }, + "add": false + }, + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 12, + "name": "minecraft:ancient_debris", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 4, + "name": "minecraft:netherite_scrap", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:spectral_arrow", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 10, + "max": 22 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 9, + "name": "minecraft:piglin_banner_pattern", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:music_disc_pigstep", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 12, + "name": "minecraft:golden_carrot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 6, + "max": 17 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 9, + "name": "minecraft:golden_apple", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:book", + "functions": [ + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:soul_speed" + ] + } + ] + } + ] + }, + { + "rolls": 2, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:iron_sword", + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "type": "minecraft:uniform", + "min": 0.1, + "max": 0.9 + }, + "add": false + }, + { + "function": "minecraft:set_count", + "count": 1, + "add": false + }, + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:iron_block", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_boots", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + }, + { + "function": "minecraft:enchant_randomly", + "enchantments": [ + "minecraft:soul_speed" + ] + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_axe", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + }, + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:gold_block", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:crossbow", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 6 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 6 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_sword", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_chestplate", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_helmet", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_leggings", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_boots", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:crying_obsidian", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 3, + "max": 4 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:gilded_blackstone", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:chain", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 10 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:magma_cream", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 6 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:bone_block", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 3, + "max": 6 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_nugget", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 8 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:obsidian", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 6 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:gold_nugget", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 8 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:string", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 6 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:arrow", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 5, + "max": 17 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:cooked_porkchop", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:empty", + "weight": 11 + }, + { + "type": "minecraft:item", + "name": "minecraft:snout_armor_trim_smithing_template" + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:empty", + "weight": 9 + }, + { + "type": "minecraft:item", + "name": "minecraft:netherite_upgrade_smithing_template" + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/bastion_stable.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/bastion_stable.json new file mode 100644 index 0000000000..7c841e7fdd --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/bastion_stable.json @@ -0,0 +1,406 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:diamond_shovel", + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "type": "minecraft:uniform", + "min": 0.15, + "max": 0.8 + }, + "add": false + }, + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 12, + "name": "minecraft:diamond_pickaxe", + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "type": "minecraft:uniform", + "min": 0.15, + "max": 0.95 + }, + "add": false + }, + { + "function": "minecraft:set_count", + "count": 1, + "add": false + }, + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 8, + "name": "minecraft:netherite_scrap", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 12, + "name": "minecraft:ancient_debris", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:ancient_debris", + "functions": [ + { + "function": "minecraft:set_count", + "count": 2, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 12, + "name": "minecraft:saddle", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 16, + "name": "minecraft:gold_block", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 4 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:golden_carrot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 8, + "max": 17 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:golden_apple", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 3, + "max": 4 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:golden_axe", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + }, + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:crying_obsidian", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:glowstone", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 3, + "max": 6 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:gilded_blackstone", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:soul_sand", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 7 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:crimson_nylium", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 7 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:gold_nugget", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 8 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:leather", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:arrow", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 5, + "max": 17 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:string", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 3, + "max": 8 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:porkchop", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:cooked_porkchop", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:crimson_fungus", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 7 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:crimson_roots", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 7 + }, + "add": false + } + ] + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:empty", + "weight": 11 + }, + { + "type": "minecraft:item", + "name": "minecraft:snout_armor_trim_smithing_template" + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:empty", + "weight": 9 + }, + { + "type": "minecraft:item", + "name": "minecraft:netherite_upgrade_smithing_template" + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/bastion_treasure.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/bastion_treasure.json new file mode 100644 index 0000000000..8f41824217 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/bastion_treasure.json @@ -0,0 +1,389 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": 3, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:netherite_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:ancient_debris", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 8, + "name": "minecraft:netherite_scrap", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 4, + "name": "minecraft:ancient_debris", + "functions": [ + { + "function": "minecraft:set_count", + "count": 2, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:diamond_sword", + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "type": "minecraft:uniform", + "min": 0.8, + "max": 1 + }, + "add": false + }, + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:diamond_chestplate", + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "type": "minecraft:uniform", + "min": 0.8, + "max": 1 + }, + "add": false + }, + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:diamond_helmet", + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "type": "minecraft:uniform", + "min": 0.8, + "max": 1 + }, + "add": false + }, + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:diamond_leggings", + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "type": "minecraft:uniform", + "min": 0.8, + "max": 1 + }, + "add": false + }, + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:diamond_boots", + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "type": "minecraft:uniform", + "min": 0.8, + "max": 1 + }, + "add": false + }, + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:diamond_sword" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:diamond_chestplate" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:diamond_helmet" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:diamond_boots" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:diamond_leggings" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:diamond", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 6 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:enchanted_golden_apple", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1, + "add": false + } + ] + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 3, + "max": 4 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:spectral_arrow", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 12, + "max": 25 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:gold_block", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_block", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 3, + "max": 9 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 3, + "max": 9 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:crying_obsidian", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 3, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:quartz", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 8, + "max": 23 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:gilded_blackstone", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 5, + "max": 15 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:magma_cream", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 3, + "max": 8 + }, + "add": false + } + ] + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:empty", + "weight": 11 + }, + { + "type": "minecraft:item", + "name": "minecraft:snout_armor_trim_smithing_template" + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:netherite_upgrade_smithing_template" + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/buried_treasure.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/buried_treasure.json new file mode 100644 index 0000000000..71625da7e4 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/buried_treasure.json @@ -0,0 +1,185 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:heart_of_the_sea" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 5, + "max": 8 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:tnt", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 2 + } + } + ] + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:emerald", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 8 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:diamond", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 2 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:prismarine_crystals", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + } + } + ] + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 0, + "max": 1 + }, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:leather_chestplate" + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_sword" + } + ] + }, + { + "rolls": 2, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:cooked_cod", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:cooked_salmon", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 4 + } + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/desert_pyramid.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/desert_pyramid.json new file mode 100644 index 0000000000..9ef9a7684d --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/desert_pyramid.json @@ -0,0 +1,256 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 2, + "max": 4 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:diamond", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 7 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:emerald", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 25, + "name": "minecraft:bone", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 6 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 25, + "name": "minecraft:spider_eye", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 25, + "name": "minecraft:rotten_flesh", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 3, + "max": 7 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:saddle" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:iron_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:golden_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:diamond_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:book", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:golden_apple" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:enchanted_golden_apple" + }, + { + "type": "minecraft:empty", + "weight": 15 + } + ] + }, + { + "rolls": 4, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:bone", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:gunpowder", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:rotten_flesh", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:string", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:sand", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 8 + } + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/end_city_treasure.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/end_city_treasure.json new file mode 100644 index 0000000000..732fecea1f --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/end_city_treasure.json @@ -0,0 +1,363 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 2, + "max": 6 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:diamond", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 7 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 8 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 7 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:emerald", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 6 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:beetroot_seeds", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 10 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:saddle" + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_horse_armor" + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_horse_armor" + }, + { + "type": "minecraft:item", + "name": "minecraft:diamond_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:diamond_sword", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "type": "minecraft:uniform", + "min": 20, + "max": 39 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:diamond_boots", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "type": "minecraft:uniform", + "min": 20, + "max": 39 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:diamond_chestplate", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "type": "minecraft:uniform", + "min": 20, + "max": 39 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:diamond_leggings", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "type": "minecraft:uniform", + "min": 20, + "max": 39 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:diamond_helmet", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "type": "minecraft:uniform", + "min": 20, + "max": 39 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:diamond_pickaxe", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "type": "minecraft:uniform", + "min": 20, + "max": 39 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:diamond_shovel", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "type": "minecraft:uniform", + "min": 20, + "max": 39 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:iron_sword", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "type": "minecraft:uniform", + "min": 20, + "max": 39 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:iron_boots", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "type": "minecraft:uniform", + "min": 20, + "max": 39 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:iron_chestplate", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "type": "minecraft:uniform", + "min": 20, + "max": 39 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:iron_leggings", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "type": "minecraft:uniform", + "min": 20, + "max": 39 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:iron_helmet", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "type": "minecraft:uniform", + "min": 20, + "max": 39 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:iron_pickaxe", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "type": "minecraft:uniform", + "min": 20, + "max": 39 + }, + "treasure": true + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:iron_shovel", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "type": "minecraft:uniform", + "min": 20, + "max": 39 + }, + "treasure": true + } + ] + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:empty", + "weight": 14 + }, + { + "type": "minecraft:item", + "name": "minecraft:spire_armor_trim_smithing_template" + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/igloo_chest.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/igloo_chest.json new file mode 100644 index 0000000000..bd58cfea6f --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/igloo_chest.json @@ -0,0 +1,116 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 2, + "max": 8 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:apple", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:coal", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:gold_nugget", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:stone_axe" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:rotten_flesh" + }, + { + "type": "minecraft:item", + "name": "minecraft:emerald" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:wheat", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 3 + }, + "add": false + } + ] + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:golden_apple" + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/jungle_temple.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/jungle_temple.json new file mode 100644 index 0000000000..9e567db37c --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/jungle_temple.json @@ -0,0 +1,160 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 2, + "max": 6 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:diamond", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 7 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:bamboo", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:emerald", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:bone", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 6 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 16, + "name": "minecraft:rotten_flesh", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 3, + "max": 7 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:saddle" + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_horse_armor" + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_horse_armor" + }, + { + "type": "minecraft:item", + "name": "minecraft:diamond_horse_armor" + }, + { + "type": "minecraft:item", + "name": "minecraft:book", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": 30, + "treasure": true + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/nether_bridge.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/nether_bridge.json new file mode 100644 index 0000000000..3b7f23a39b --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/nether_bridge.json @@ -0,0 +1,157 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 2, + "max": 4 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:diamond", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:golden_sword" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:golden_chestplate" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:flint_and_steel" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:nether_wart", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 3, + "max": 7 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:saddle" + }, + { + "type": "minecraft:item", + "weight": 8, + "name": "minecraft:golden_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:diamond_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:obsidian", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 4 + }, + "add": false + } + ] + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:empty", + "weight": 14 + }, + { + "type": "minecraft:item", + "name": "minecraft:rib_armor_trim_smithing_template" + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/pillager_outpost.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/pillager_outpost.json new file mode 100644 index 0000000000..5c7042691e --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/pillager_outpost.json @@ -0,0 +1,244 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 0, + "max": 1 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:crossbow" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 2, + "max": 3 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "weight": 7, + "name": "minecraft:wheat", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 3, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:potato", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:carrot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 3, + "max": 5 + }, + "add": false + } + ] + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:dark_oak_log", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 3 + }, + "add": false + } + ] + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 2, + "max": 3 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "weight": 7, + "name": "minecraft:experience_bottle" + }, + { + "type": "minecraft:item", + "weight": 4, + "name": "minecraft:string", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 6 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 4, + "name": "minecraft:arrow", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 7 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:tripwire_hook", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:book", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 0, + "max": 1 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:goat_horn" + } + ], + "functions": [ + { + "function": "minecraft:set_instrument", + "options": "#minecraft:regular_goat_horns" + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:empty", + "weight": 3 + }, + { + "type": "minecraft:item", + "name": "minecraft:sentry_armor_trim_smithing_template", + "functions": [ + { + "function": "minecraft:set_count", + "count": 2, + "add": false + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/ruined_portal.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/ruined_portal.json new file mode 100644 index 0000000000..19444ac7b1 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/ruined_portal.json @@ -0,0 +1,283 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 4, + "max": 8 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "weight": 40, + "name": "minecraft:obsidian", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 2 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 40, + "name": "minecraft:flint", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 40, + "name": "minecraft:iron_nugget", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 9, + "max": 18 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 40, + "name": "minecraft:flint_and_steel" + }, + { + "type": "minecraft:item", + "weight": 40, + "name": "minecraft:fire_charge" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:golden_apple" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:gold_nugget", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 24 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:golden_sword", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:golden_axe", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:golden_hoe", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:golden_shovel", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:golden_pickaxe", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:golden_boots", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:golden_chestplate", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:golden_helmet", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:golden_leggings", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:glistering_melon_slice", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 12 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:golden_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:light_weighted_pressure_plate" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:golden_carrot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 12 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:clock" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 8 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:bell" + }, + { + "type": "minecraft:item", + "name": "minecraft:enchanted_golden_apple" + }, + { + "type": "minecraft:item", + "name": "minecraft:gold_block", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 2 + }, + "add": false + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/shipwreck_map.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/shipwreck_map.json new file mode 100644 index 0000000000..15498f9520 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/shipwreck_map.json @@ -0,0 +1,129 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:map", + "functions": [ + { + "function": "minecraft:exploration_map", + "decoration": "red_x", + "zoom": 1, + "skip_existing_chunks": false + }, + { + "function": "minecraft:set_name", + "name": { + "translate": "filled_map.buried_treasure" + } + } + ] + } + ] + }, + { + "rolls": 3, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:compass" + }, + { + "type": "minecraft:item", + "name": "minecraft:map" + }, + { + "type": "minecraft:item", + "name": "minecraft:clock" + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:paper", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 10 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:feather", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:book", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:empty", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:coast_armor_trim_smithing_template", + "functions": [ + { + "function": "minecraft:set_count", + "count": 2, + "add": false + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/shipwreck_supply.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/shipwreck_supply.json new file mode 100644 index 0000000000..c1b223e79e --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/shipwreck_supply.json @@ -0,0 +1,285 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 3, + "max": 10 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "weight": 8, + "name": "minecraft:paper", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 12 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 7, + "name": "minecraft:potato", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 6 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 7, + "name": "minecraft:moss_block", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 7, + "name": "minecraft:poisonous_potato", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 6 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 7, + "name": "minecraft:carrot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 8 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 7, + "name": "minecraft:wheat", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 8, + "max": 21 + }, + "add": false + } + ] + }, + { + "type": "minecraft:loot_table", + "weight": 10, + "name": "gm4_uhc_loot:suspicious_stew" + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:coal", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 8 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:rotten_flesh", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 5, + "max": 24 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:pumpkin", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:bamboo", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:gunpowder", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:tnt", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 2 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:leather_helmet", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:leather_chestplate", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:leather_leggings", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:leather_boots", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:empty", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:coast_armor_trim_smithing_template", + "functions": [ + { + "function": "minecraft:set_count", + "count": 2, + "add": false + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/shipwreck_treasure.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/shipwreck_treasure.json new file mode 100644 index 0000000000..a03589f815 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/shipwreck_treasure.json @@ -0,0 +1,165 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 3, + "max": 6 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "weight": 90, + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 40, + "name": "minecraft:emerald", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:diamond" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:experience_bottle" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 2, + "max": 5 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "weight": 50, + "name": "minecraft:iron_nugget", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 10 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:gold_nugget", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 10 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:lapis_lazuli", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 10 + }, + "add": false + } + ] + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:empty", + "weight": 5 + }, + { + "type": "minecraft:item", + "name": "minecraft:coast_armor_trim_smithing_template", + "functions": [ + { + "function": "minecraft:set_count", + "count": 2, + "add": false + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/simple_dungeon.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/simple_dungeon.json new file mode 100644 index 0000000000..2f7131be9a --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/simple_dungeon.json @@ -0,0 +1,286 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:saddle" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:golden_apple" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:enchanted_golden_apple" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:music_disc_13" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:music_disc_cat" + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:name_tag" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:golden_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:iron_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:diamond_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:book", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:bread" + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:wheat", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:bucket" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:redstone", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:coal", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:melon_seeds", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:pumpkin_seeds", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:beetroot_seeds", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 4 + } + } + ] + } + ] + }, + { + "rolls": 3, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:bone", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:gunpowder", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:rotten_flesh", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:string", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 8 + } + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/stronghold_corridor.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/stronghold_corridor.json new file mode 100644 index 0000000000..94c7b260e6 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/stronghold_corridor.json @@ -0,0 +1,208 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 2, + "max": 3 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:ender_pearl" + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:diamond", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:redstone", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 9 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:bread", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:apple", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_pickaxe" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_sword" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_chestplate" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_helmet" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_leggings" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_boots" + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_apple" + }, + { + "type": "minecraft:item", + "name": "minecraft:saddle" + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_horse_armor" + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_horse_armor" + }, + { + "type": "minecraft:item", + "name": "minecraft:diamond_horse_armor" + }, + { + "type": "minecraft:item", + "name": "minecraft:music_disc_otherside" + }, + { + "type": "minecraft:item", + "name": "minecraft:book", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": 30, + "treasure": true + } + ] + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:empty", + "weight": 9 + }, + { + "type": "minecraft:item", + "name": "minecraft:eye_armor_trim_smithing_template" + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/stronghold_crossing.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/stronghold_crossing.json new file mode 100644 index 0000000000..a68766a3e8 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/stronghold_crossing.json @@ -0,0 +1,139 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:redstone", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 4, + "max": 9 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:coal", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 3, + "max": 8 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:bread", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:apple", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_pickaxe" + }, + { + "type": "minecraft:item", + "name": "minecraft:book", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": 30, + "treasure": true + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/stronghold_library.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/stronghold_library.json new file mode 100644 index 0000000000..9a3a135244 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/stronghold_library.json @@ -0,0 +1,77 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 2, + "max": 10 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:book", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:paper", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 7 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:map" + }, + { + "type": "minecraft:item", + "name": "minecraft:compass" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:book", + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": 30, + "treasure": true + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/underwater_ruin_big.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/underwater_ruin_big.json new file mode 100644 index 0000000000..a3d8b416d5 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/underwater_ruin_big.json @@ -0,0 +1,107 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 2, + "max": 8 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:coal", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:stone_axe" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:rotten_flesh" + }, + { + "type": "minecraft:item", + "name": "minecraft:emerald" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:wheat", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 3 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:leather_chestplate" + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_helmet" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:fishing_rod", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:map", + "functions": [ + { + "function": "minecraft:exploration_map", + "decoration": "red_x", + "zoom": 1, + "skip_existing_chunks": false + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/underwater_ruin_small.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/underwater_ruin_small.json new file mode 100644 index 0000000000..663a3e3f8a --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/underwater_ruin_small.json @@ -0,0 +1,126 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 2, + "max": 8 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:coal", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:gold_nugget", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:emerald" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:wheat", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 3 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:golden_apple" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:book", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:leather_chestplate" + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_helmet" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:fishing_rod", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:map", + "functions": [ + { + "function": "minecraft:exploration_map", + "decoration": "red_x", + "zoom": 1, + "skip_existing_chunks": false + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_armorer.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_armorer.json new file mode 100644 index 0000000000..c09cb23e14 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_armorer.json @@ -0,0 +1,65 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 4, + "name": "minecraft:bread", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_helmet" + }, + { + "type": "minecraft:item", + "name": "minecraft:emerald" + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_butcher.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_butcher.json new file mode 100644 index 0000000000..1df8c9e7ed --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_butcher.json @@ -0,0 +1,112 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:emerald" + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:porkchop", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:wheat", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:beef", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:mutton", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:coal", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_cartographer.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_cartographer.json new file mode 100644 index 0000000000..b9ee47ca12 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_cartographer.json @@ -0,0 +1,97 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:map", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:paper", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:compass" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:bread", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:stick", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 2 + }, + "add": false + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_desert_house.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_desert_house.json new file mode 100644 index 0000000000..10d076242f --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_desert_house.json @@ -0,0 +1,119 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 3, + "max": 8 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:clay_ball" + }, + { + "type": "minecraft:item", + "name": "minecraft:green_dye" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:cactus", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:wheat", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 7 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:bread", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:book" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:dead_bush", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:emerald", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_fisher.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_fisher.json new file mode 100644 index 0000000000..98f52455f4 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_fisher.json @@ -0,0 +1,125 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:emerald" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:cod", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:salmon", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:water_bucket", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:barrel", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:wheat_seeds", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:coal", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_fletcher.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_fletcher.json new file mode 100644 index 0000000000..bad58f8380 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_fletcher.json @@ -0,0 +1,112 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:emerald" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:arrow", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:feather", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:egg", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:flint", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:stick", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_mason.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_mason.json new file mode 100644 index 0000000000..2fb08ebfc0 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_mason.json @@ -0,0 +1,85 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:clay_ball", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:flower_pot" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:stone" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:stone_bricks" + }, + { + "type": "minecraft:item", + "weight": 4, + "name": "minecraft:bread", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:yellow_dye" + }, + { + "type": "minecraft:item", + "name": "minecraft:smooth_stone" + }, + { + "type": "minecraft:item", + "name": "minecraft:emerald" + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_plains_house.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_plains_house.json new file mode 100644 index 0000000000..900e180e11 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_plains_house.json @@ -0,0 +1,140 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 3, + "max": 8 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:gold_nugget", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:dandelion" + }, + { + "type": "minecraft:item", + "name": "minecraft:poppy" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:potato", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 7 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:bread", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:apple", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:book" + }, + { + "type": "minecraft:item", + "name": "minecraft:feather" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:emerald", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:oak_sapling", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 2 + }, + "add": false + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_savanna_house.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_savanna_house.json new file mode 100644 index 0000000000..6e30dcd54d --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_savanna_house.json @@ -0,0 +1,140 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 3, + "max": 8 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:gold_nugget", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:grass" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:tall_grass" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:bread", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:wheat_seeds", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:emerald", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:acacia_sapling", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 2 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:saddle" + }, + { + "type": "minecraft:item", + "name": "minecraft:torch", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 2 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:bucket" + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_shepherd.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_shepherd.json new file mode 100644 index 0000000000..abf30f0122 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_shepherd.json @@ -0,0 +1,132 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:white_wool", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 8 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:black_wool", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:gray_wool", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:brown_wool", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:light_gray_wool", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:emerald" + }, + { + "type": "minecraft:item", + "name": "minecraft:shears" + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "minecraft:wheat", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 6 + }, + "add": false + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_snowy_house.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_snowy_house.json new file mode 100644 index 0000000000..38d224e117 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_snowy_house.json @@ -0,0 +1,140 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 3, + "max": 8 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:blue_ice" + }, + { + "type": "minecraft:item", + "weight": 4, + "name": "minecraft:snow_block" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:potato", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 7 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:bread", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:beetroot_seeds", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:beetroot_soup" + }, + { + "type": "minecraft:item", + "name": "minecraft:furnace" + }, + { + "type": "minecraft:item", + "name": "minecraft:emerald", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:snowball", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 7 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:coal", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_taiga_house.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_taiga_house.json new file mode 100644 index 0000000000..9841d99598 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_taiga_house.json @@ -0,0 +1,175 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 3, + "max": 8 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:iron_nugget", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:fern" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:large_fern" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:potato", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 7 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:sweet_berries", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 7 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:bread", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:pumpkin_seeds", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:pumpkin_pie" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:emerald", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:spruce_sapling", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:spruce_sign" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:spruce_log", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "add": false + } + ] + } + ] + } + ] + } + + \ No newline at end of file diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_tannery.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_tannery.json new file mode 100644 index 0000000000..99192877d7 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_tannery.json @@ -0,0 +1,98 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:leather", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:leather_chestplate" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:leather_boots" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:leather_helmet" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:bread", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:leather_leggings" + }, + { + "type": "minecraft:item", + "name": "minecraft:saddle" + }, + { + "type": "minecraft:item", + "name": "minecraft:emerald", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "add": false + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_temple.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_temple.json new file mode 100644 index 0000000000..dd20a94cb9 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_temple.json @@ -0,0 +1,114 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 3, + "max": 8 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:redstone", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 7, + "name": "minecraft:bread", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 7, + "name": "minecraft:rotten_flesh", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:lapis_lazuli", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:emerald", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_toolsmith.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_toolsmith.json new file mode 100644 index 0000000000..2042df2c2b --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_toolsmith.json @@ -0,0 +1,124 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 3, + "max": 8 + }, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:diamond", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:bread", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_pickaxe" + }, + { + "type": "minecraft:item", + "name": "minecraft:coal", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:stick", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_shovel" + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_weaponsmith.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_weaponsmith.json new file mode 100644 index 0000000000..786d4d74a3 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/village/village_weaponsmith.json @@ -0,0 +1,179 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 3, + "max": 8 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:diamond", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 5 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:bread", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:apple", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_pickaxe" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_sword" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_chestplate" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_helmet" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_leggings" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_boots" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:obsidian", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 3, + "max": 7 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:oak_sapling", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 3, + "max": 7 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:saddle" + }, + { + "type": "minecraft:item", + "name": "minecraft:iron_horse_armor" + }, + { + "type": "minecraft:item", + "name": "minecraft:golden_horse_armor" + }, + { + "type": "minecraft:item", + "name": "minecraft:diamond_horse_armor" + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/loot_tables/chests/woodland_mansion.json b/gm4_uhc_loot/data/minecraft/loot_tables/chests/woodland_mansion.json new file mode 100644 index 0000000000..b0888c1e30 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/loot_tables/chests/woodland_mansion.json @@ -0,0 +1,286 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "type": "minecraft:binomial", + "n": 400, + "p": 0.003 + }, + "entries": [ + { + "type": "minecraft:loot_table", + "name": "gm4_uhc_loot:gm4_loot" + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 1, + "max": 3 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:lead" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:golden_apple" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:enchanted_golden_apple" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:music_disc_13" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:music_disc_cat" + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:name_tag" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:chainmail_chestplate" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:diamond_hoe" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:diamond_chestplate" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:book", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ] + } + ] + }, + { + "rolls": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:bread" + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:wheat", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:bucket" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:redstone", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:coal", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:melon_seeds", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:pumpkin_seeds", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 4 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:beetroot_seeds", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 2, + "max": 4 + } + } + ] + } + ] + }, + { + "rolls": 3, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:bone", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:gunpowder", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:rotten_flesh", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:string", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1, + "max": 8 + } + } + ] + } + ] + } + ] +} diff --git a/gm4_uhc_loot/data/minecraft/recipes/suspicious_stew.json b/gm4_uhc_loot/data/minecraft/recipes/suspicious_stew.json new file mode 100644 index 0000000000..7451a796b1 --- /dev/null +++ b/gm4_uhc_loot/data/minecraft/recipes/suspicious_stew.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "minecraft:barrier" + } + ], + "result": { + "item": "minecraft:barrier" + } +}