Configuration

There are different ways to configure this mod. Nowadays the mod can be played perfectly without any configuration on Vanilla. But If you would like to tweak the mod to include in your modpacks or just changing the play style continue reading.

The file is on config/dungeonsmod-common.toml

## Difficulty configuration

Difficulty is an mod characteristic. As if it becomes too easy or hard will become boring. So is key to mantain a balance especially when using with other mods. The configuration file introduce a system to trying getting balanced into the mods. The default configuration is:

```
#[BETA] For manual adjustment. Recommended number = (Highest Weapon Damage / 20) . For reference, Vanilla defaults : Easy = 0.25, Normal = 0.5, Hard = 0.75. Values > 0.75 requires Attribute Fix Mod. For using server difficulty = 0
#Range: 0 ~ 1000
 "Custom Difficulty Value" = 0
#[BETA] This will make bosses to scale with the number of players near and the world difficulty
 "Bosses Scaling" = true

```
In summary, if you got for example a sword in your modpack with a maximum damage of 100 per attack, the custom recommended difficulty value will become 100/20 = 5.

Be aware that Attribute Fix Mod is recommended for high values (Value > 0.75)..

## Mobs configuration

In the configuration can be changed the spawn rate of the mobs.

```
 #Blacklisted biomes in which no mobs will spawn
 [mobs.blacklisted-biomes]
 "Blacklisted Biomes" = ["minecraft:modified\_jungle\_edge"]

 [mobs.anthermite]
 #Range: > 0
 "Anthermite Weight" = 2

```

Here's an example inside the configuration, the weight is the number that controls spawning of mobs. Lower the weight, lower the spawn rate. As an example, Zombies at night have an spawn weight = 100. If you would like to disable the spawning of any mob, set this value to 0.

Also, if you would like to blacklist a biome for any mob spawning can be placed on blacklisted biomes.

## Structure configuration

The structures by default are very rare, because the existance of the Traveler, but if you would like to increase the spawn rate of this. You can change this settings. An example of a piece of configuration inside:

```
 [structures.the\_house]
 #Range: > 0
 "Seed Modifier" = 9326560
 #Range: > 0
 Separation = 20
 #Range: 0 ~ 64
 Price = 2
 #1 to always, 100/positiveValues chance
 #Range: > 1
 "Spawing Chance" = 1
 #Range: > 0
 Spacing = 80

```

If you would like to change the distribution on the structure, every structure have 3 configuration values refering to this:

* **spacing** (number): Average distance between two structure placement attempts of this type in chunks.

* **separation** (number): Minimum distance between two structures of this type in chunks; must be less than `spacing`.
* **seed modifier** (integer): A number that assists in randomization.

Source

So in summary:

* if you would like to increase the spawn rate of the structure: Lower spacing and separation numbers.
* if you would like to decrease the spawn rate of the structure: Higher spacing and separation numbers and higher chance value.
* If there's a superpolation above any other mod structures, change seed modifier to any other value.
* if you would like to disable a structure, set the chance = 0