From 372cb0bff1726fd9664a03371ff1b717f4f407cc Mon Sep 17 00:00:00 2001 From: oitsjustjose Date: Sun, 30 Jan 2022 07:53:37 -0600 Subject: [PATCH] Tweaks to ToTW --- config/towers_of_the_wild-common.toml | 2 +- .../chests/tower/ocean/ocean_tower_chest.json | 117 ++++++++++++++++++ .../chests/tower/regular/tower_chest.json | 105 ++++++++++++++++ 3 files changed, 223 insertions(+), 1 deletion(-) create mode 100644 kubejs/data/towers_of_the_wild/loot_tables/chests/tower/ocean/ocean_tower_chest.json create mode 100644 kubejs/data/towers_of_the_wild/loot_tables/chests/tower/regular/tower_chest.json diff --git a/config/towers_of_the_wild-common.toml b/config/towers_of_the_wild-common.toml index 68b08de..adb523c 100644 --- a/config/towers_of_the_wild-common.toml +++ b/config/towers_of_the_wild-common.toml @@ -10,7 +10,7 @@ allModBiomesBlackList = ["midnight", "the_bumblezone"] #How rarely the towers will spawn (low: common, high: rare). Default: 20 #Range: 3 ~ 200 - towerRarity = 20 + towerRarity = 100 #How rarely the derelict towers will spawn (low: common, high: rare). Default: 72 #Range: 3 ~ 200 derelictTowerRarity = 72 diff --git a/kubejs/data/towers_of_the_wild/loot_tables/chests/tower/ocean/ocean_tower_chest.json b/kubejs/data/towers_of_the_wild/loot_tables/chests/tower/ocean/ocean_tower_chest.json new file mode 100644 index 0000000..98e60cb --- /dev/null +++ b/kubejs/data/towers_of_the_wild/loot_tables/chests/tower/ocean/ocean_tower_chest.json @@ -0,0 +1,117 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 4.0, + "max": 8.0, + "type": "minecraft:uniform" + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 3.0, + "type": "minecraft:uniform" + } + } + ], + "name": "emendatusenigmatica:iron_chunk" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:prismarine_shard" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 2.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:emerald" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:gold_nugget" + }, + { + "type": "minecraft:item", + "weight": 8, + "name": "minecraft:ender_pearl" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:compass" + }, + { + "type": "minecraft:item", + "weight": 3, + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": 30, + "treasure": true + } + ], + "name": "minecraft:book" + }, + { + "type": "minecraft:item", + "weight": 2, + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": 30, + "treasure": true + } + ], + "name": "minecraft:heart_of_the_sea" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:map" + } + ] + } + ] +} diff --git a/kubejs/data/towers_of_the_wild/loot_tables/chests/tower/regular/tower_chest.json b/kubejs/data/towers_of_the_wild/loot_tables/chests/tower/regular/tower_chest.json new file mode 100644 index 0000000..94c3cab --- /dev/null +++ b/kubejs/data/towers_of_the_wild/loot_tables/chests/tower/regular/tower_chest.json @@ -0,0 +1,105 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 4.0, + "max": 8.0, + "type": "minecraft:uniform" + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 3.0, + "type": "minecraft:uniform" + } + } + ], + "name": "emendatusenigmatica:iron_chunk" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:feather" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 2.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:emerald" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:gold_nugget" + }, + { + "type": "minecraft:item", + "weight": 8, + "name": "minecraft:ender_pearl" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:compass" + }, + { + "type": "minecraft:item", + "weight": 3, + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": 30, + "treasure": true + } + ], + "name": "minecraft:book" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:map" + } + ] + } + ] +}