feat: mod config

This commit is contained in:
hypercross 2025-12-01 09:40:57 +08:00
parent fd8d29da3b
commit 431f0d1841
3 changed files with 165 additions and 0 deletions

View File

@ -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

View File

@ -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"
}

25
modconfig.md Normal file
View File

@ -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%.