From 431f0d1841bbc25e8ebeedf403ed23f0518f8233 Mon Sep 17 00:00:00 2001 From: hypercross Date: Mon, 1 Dec 2025 09:40:57 +0800 Subject: [PATCH] feat: mod config --- .../config/bettermineshafts-forge-1_20.toml | 105 ++++++++++++++++++ configureddefaults/config/via_romana.json | 35 ++++++ modconfig.md | 25 +++++ 3 files changed, 165 insertions(+) create mode 100644 configureddefaults/config/bettermineshafts-forge-1_20.toml create mode 100644 configureddefaults/config/via_romana.json create mode 100644 modconfig.md diff --git a/configureddefaults/config/bettermineshafts-forge-1_20.toml b/configureddefaults/config/bettermineshafts-forge-1_20.toml new file mode 100644 index 0000000..c1027a1 --- /dev/null +++ b/configureddefaults/config/bettermineshafts-forge-1_20.toml @@ -0,0 +1,105 @@ +["YUNG's Better Mineshafts"] + # Whether or not vanilla mineshafts should be disabled. + # Default: true + "Disable Vanilla Mineshafts" = true + # The lowest a mineshaft can spawn. + # Default: -55 + "Minimum y-coordinate" = -55 + # The highest a mineshaft can spawn. + # Default: 30 + # + "Maximum y-coordinate" = 30 + + ########################################################################################################### + ## Ore deposit settings. + ########################################################################################################### + ["YUNG's Better Mineshafts"."Ore Deposits"] + "Enable Ore Deposits" = true + # Chance of an ore deposit being cobblestone only. + # Default: 50 + #Range: 0 ~ 100 + "Cobble Spawn Chance (Empty Deposit)" = 0 + # Chance of an ore deposit containing coal. + # Default: 20 + #Range: 0 ~ 100 + "Coal Spawn Chance" = 30 + # Chance of an ore deposit containing iron. + # Default: 9 + #Range: 0 ~ 100 + "Iron Spawn Chance" = 20 + # Chance of an ore deposit containing redstone. + # Default: 7 + #Range: 0 ~ 100 + "Redstone Spawn Chance" = 15 + # Chance of an ore deposit containing gold. + # Default: 7 + #Range: 0 ~ 100 + "Gold Spawn Chance" = 15 + # Chance of an ore deposit containing lapis lazuli. + # Default: 3 + #Range: 0 ~ 100 + "Lapis Spawn Chance" = 15 + # Chance of an ore deposit containing emerald. + # Default: 3 + #Range: 0 ~ 100 + "Emerald Spawn Chance" = 4 + # Chance of an ore deposit containing diamond. + # Default: 1 + #Range: 0 ~ 100 + "Diamond Spawn Chance" = 1 + + ########################################################################################################### + ## Spawn rates for various mineshaft parts and decorations. + ########################################################################################################### + ["YUNG's Better Mineshafts"."Spawn Rates & More"] + # The spawn rate for lanterns in the main shaft. + # Default: .0067 + #Range: 0.0 ~ 1.0 + "Lantern Spawn Rate" = 0.0067 + # The spawn rate for torches in small shafts. + # Default: .02 + #Range: 0.0 ~ 1.0 + "Torch Spawn Rate" = 0.02 + # The spawn rate for workstation side rooms along the main shaft. + # Default: .025 + #Range: 0.0 ~ 1.0 + "Workstation Spawn Rate" = 0.025 + # The spawn rate for workstation cellars below workstations along the main shaft. + # Default: .25 + #Range: 0.0 ~ 1.0 + "Workstation Cellar Spawn Rate" = 0.25 + # The spawn rate for smaller tunnels that generate along the main shaft. + # Default: .07 + #Range: 0.0 ~ 1.0 + "Small Shaft Spawn Rate" = 0.07 + # The spawn rate for cobwebs. + # Default: .15 + #Range: 0.0 ~ 1.0 + "Cobweb Spawn Rate" = 0.15 + # The spawn rate for minecarts holding chests in small shafts. + # Default: .00125 + #Range: 0.0 ~ 1.0 + "Small Shaft Chest Minecart Spawn Rate" = 0.00125 + # The spawn rate for minecarts holding TNT in small shafts. + # Default: .0025 + #Range: 0.0 ~ 1.0 + "Small Shaft TNT Minecart Spawn Rate" = 0.0025 + # The spawn rate for minecarts holding chests in the main shaft. + # Default: .01 + #Range: 0.0 ~ 1.0 + "Main Shaft Chest Minecart Spawn Rate" = 0.01 + # The spawn rate for minecarts holding TNT in the main shaft. + # Default: .0025 + #Range: 0.0 ~ 1.0 + "Main Shaft TNT Minecart Spawn Rate" = 0.0025 + # Percent chance of an Abandoned Miners' Outpost to spawn at the end of a small mineshaft tunnel. + # Default: 2 + #Range: 0 ~ 100 + "Abandoned Miners' Outpost Spawn Chance" = 2 + # The number of "pieces" (e.g. straight, turn, ladder, intersection, etc.) in a single small shaft. + # This determines the overall length of small shafts. + # Default: 9 + # + #Range: 0 ~ 1000 + "Small Shaft Piece Chain Length" = 9 + diff --git a/configureddefaults/config/via_romana.json b/configureddefaults/config/via_romana.json new file mode 100644 index 0000000..dec4c8e --- /dev/null +++ b/configureddefaults/config/via_romana.json @@ -0,0 +1,35 @@ +{ + "infrastructure_check_radius": 2, + "path_quality_threshold": 0.3, + "node_distance_minimum": 4, + "node_distance_maximum": 8, + "node_utility_distance": 3, + "path_block_ids": ["minecraft:dirt_path", "minecraft:water"], + "path_block_tags": [], + "path_block_strings": [], + "block_string_blacklist": [ + "diagonalwalls:", + "diagonalfences:", + "diagonalwindows:" + ], + "invalid_dimensions": ["nether", "end"], + "invalid_entities": [], + "warp_block_ids": ["via_romana:warp_block"], + "warp_block_tags": ["minecraft:all_signs"], + "travel_fatigue_cooldown": 0, + "fog_of_war_distance": 10, + "spline_animation_time": 2.0, + "maximum_map_dimension": 512, + "map_refresh_interval": 10, + "map_refresh_threshold": 10, + "map_save_interval": 5, + "biomeColor": [], + "use_biome_fallback_for_lowres": true, + "enable_surveyor_landmark": false, + "enable_surveyor_landmark_coloring": false, + "invalid_block_overlay_opacity": 0.4, + "biome_map_opacity": 0.3, + "node_vignette_opacity": 1.0, + "enable_teleport_particles": false, + "logging_enum": "NONE" +} diff --git a/modconfig.md b/modconfig.md new file mode 100644 index 0000000..50d1751 --- /dev/null +++ b/modconfig.md @@ -0,0 +1,25 @@ +# mod configs + +## options + +- disable oculus keys. +- disable puzzle lib cycle keys. +- disable treechop config key. +- enable resource packs. + +## map atlases + +- don't rotate follow player. +- shows hud in inventory. +- accepts paper for maps. + +## via romana + +- allow water charting. +- allow dirt path. +- disallow everything else. +- disallow nether and end. + +## better mineshafts + +- increased ore spawn rate to 100%.