# Configuration file

##########################################################################################################
# cities_nodamage
#--------------------------------------------------------------------------------------------------------#
# Settings related to city generation for the nodamage profile
##########################################################################################################

cities_nodamage {
    # The default biome factor which is used if your biome is not specified in 'cityBiomeFactors' [range: 0.0 ~ 1.0, default: 1.0]
    S:cityBiomeFactorDefault=1.0

    # List of biomes with a factor to affect the city factor in that biome. Using the value 0 you can disable city generation in biomes [default: [river=0], [frozen_river=0], [ocean=.7], [frozen_ocean=.7], [deep_ocean=.4]]
    S:cityBiomeFactors <
        river=0
        frozen_river=0
        ocean=.7
        frozen_ocean=.7
        deep_ocean=.4
     >

    # The chance this chunk will be the center of a city [range: 0.0 ~ 1.0, default: 0.02]
    S:cityChance=0.02

    # Below this chunk height cities will be level 0 [range: 1 ~ 255, default: 75]
    I:cityLevel0Height=75

    # Below this chunk height cities will be level 1 [range: 1 ~ 255, default: 83]
    I:cityLevel1Height=83

    # Below this chunk height cities will be level 2 [range: 1 ~ 255, default: 91]
    I:cityLevel2Height=91

    # Below this chunk height cities will be level 3 [range: 1 ~ 255, default: 99]
    I:cityLevel3Height=99

    # The maximum radius of a city [range: 1 ~ 10000, default: 128]
    I:cityMaxRadius=128

    # The minimum radius of a city [range: 1 ~ 10000, default: 50]
    I:cityMinRadius=50

    # The center and radius of a city define a sphere. This thresshold indicates from which point a city is considered a city. This is important for calculating where cities are based on overlapping city circles (where the city thressholds are added) [range: 0.0 ~ 1.0, default: 0.2]
    S:cityThresshold=0.2
}


##########################################################################################################
# cityspheres_nodamage
#--------------------------------------------------------------------------------------------------------#
# Settings related to city sphere generation for the nodamage profile
##########################################################################################################

cityspheres_nodamage {
    # The chance that a city sphere will be generated [range: 0.0 ~ 1.0, default: 0.7]
    S:citySphereChance=0.7

    # Only used in 'space' landscape. This factor will be multiplied with the radius of the city to calculate the radius of the outer sphere [range: 0.1 ~ 10.0, default: 1.2]
    S:citySphereFactor=1.2

    # If this is true then there will be a landscape outside the city spheres [default: false]
    B:landscapeOutside=false

    # The chance that a city will have a monorail connection in a certain direction. There will only be an actual connection if there is a city in that direction that also wants a monorail [range: 0.0 ~ 1.0, default: 0.8]
    S:monorailChance=0.8

    # Offset compared to main height [range: -100 ~ 100, default: -2]
    I:monorailOffset=-2

    # If this is true then only predefined spheres are generated [default: false]
    B:onlyPredefined=false

    # Ground level for outside city spheres (DEPRECATED, USE GROUNDLEVEL OF OTHER PROFILE) [range: -1 ~ 256, default: -1]
    I:outsideGroundLevel=-1

    # An optional profile to use for the outside world [default: ]
    S:outsideProfile=

    # Smaller numbers make the surface outside a city sphere more varied [range: 0.0 ~ 1.0, default: 1.0]
    S:outsideSurfaceVariation=1.0

    # If this is true then every city sphere will be limited to one (random) biome [default: false]
    B:singleBiome=false

    # Smaller numbers make the surface inside a city sphere more varied [range: 0.0 ~ 1.0, default: 1.0]
    S:sphereSurfaceVariation=1.0
}


##########################################################################################################
# client_nodamage
#--------------------------------------------------------------------------------------------------------#
# Client side settings for the nodamage profile
##########################################################################################################

client_nodamage {
    # This is used client-side (but only if the client has this mod) for the fog color [range: -1.0 ~ 1.0, default: -1.0]
    S:fogBlue=-1.0

    # This is used client-side (but only if the client has this mod) for the fog density [range: -1.0 ~ 1.0, default: -1.0]
    S:fogDensity=-1.0

    # This is used client-side (but only if the client has this mod) for the fog color [range: -1.0 ~ 1.0, default: -1.0]
    S:fogGreen=-1.0

    # This is used client-side (but only if the client has this mod) for the fog color [range: -1.0 ~ 1.0, default: -1.0]
    S:fogRed=-1.0

    # This is used client-side (but only if the client has this mod) to set the height of the horizon [range: -1.0 ~ 256.0, default: -1.0]
    S:horizon=-1.0
}


##########################################################################################################
# explosions_nodamage
#--------------------------------------------------------------------------------------------------------#
# Settings related to explosions and damage for the nodamage profile
##########################################################################################################

explosions_nodamage {
    # A factor that determines how much debris will overflow from nearby damaged chunks. Bigger numbers mean less debris [range: 1 ~ 10000, default: 200]
    I:debrisToNearbyChunkFactor=200

    # When a section of blocks in in an explosion the generator will count the number of blocks that are connected. The number of connections divided by the total number of blocks in a connected section is compared with this number. If it is smaller then the section of blocks is destroyed or moved down with gravity [range: 0.0 ~ 1.0, default: 0.05]
    S:destroyLoneBlocksFactor=0.05

    # When a section of blocks is to be moved or destroyed this chance gives the chance of removal (as opposed to moving with gravity) [range: 0.0 ~ 1.0, default: 0.4]
    S:destroyOrMoveChance=0.4

    # A section of blocks that is about to be moved or destroyed is always destroyed if it is smaller then this size [range: 1 ~ 5000, default: 50]
    I:destroySmallSectionsSize=50

    # The chance that a chunk will contain an explosion [range: 0.0 ~ 1.0, default: 0.0]
    S:explosionChance=0.0

    # The maximum height of an explosion [range: 1 ~ 256, default: 90]
    I:explosionMaxHeight=90

    # The maximum radius of an explosion [range: 1 ~ 3000, default: 35]
    I:explosionMaxRadius=35

    # The minimum height of an explosion [range: 1 ~ 256, default: 75]
    I:explosionMinHeight=75

    # The minimum radius of an explosion [range: 1 ~ 1000, default: 15]
    I:explosionMinRadius=15

    # If this is true the center of an explosion can only be in a city (the blast can still affect non-city chunks) [default: true]
    B:explosionsInCitiesOnly=true

    # The chance that a chunk will contain a mini explosion [range: 0.0 ~ 1.0, default: 0.0]
    S:miniExplosionChance=0.0

    # The maximum height of a mini explosion [range: 1 ~ 256, default: 100]
    I:miniExplosionMaxHeight=100

    # The maximum radius of a mini explosion [range: 1 ~ 3000, default: 12]
    I:miniExplosionMaxRadius=12

    # The minimum height of a mini explosion [range: 1 ~ 256, default: 60]
    I:miniExplosionMinHeight=60

    # The minimum radius of a mini explosion [range: 1 ~ 1000, default: 5]
    I:miniExplosionMinRadius=5
}


##########################################################################################################
# lostcity_nodamage
#--------------------------------------------------------------------------------------------------------#
# Settings related to the Lost City for the nodamage profile
##########################################################################################################

lostcity_nodamage {
    # List of biomes that are allowed in the world. Empty list is default all biomes. The factor controls how much that biome is favored over the others (higher means less favored!) [default: ]
    S:allowedBiomeFactors <
     >

    # If this is true then parks will have no foliage (trees and flowers currently) [default: false]
    B:avoidFoliage=false

    # This will prevent biomes from generating cactii [default: false]
    B:avoidGeneratedCactii=false

    # This will prevent the generation of desert wells [default: false]
    B:avoidGeneratedDesertWell=false

    # This will prevent biomes from generating flowers [default: false]
    B:avoidGeneratedFlowers=false

    # This will prevent the generation of fossils [default: false]
    B:avoidGeneratedFossils=false

    # This will prevent biomes from generating grass [default: false]
    B:avoidGeneratedGrass=false

    # This will prevent the generation of water in lakes [default: false]
    B:avoidGeneratedLakewater=false

    # This will prevent biomes from generating lilypads [default: false]
    B:avoidGeneratedLilypads=false

    # This will prevent biomes from generating mushrooms [default: false]
    B:avoidGeneratedMushrooms=false

    # This will prevent biomes from generating pumpkins [default: false]
    B:avoidGeneratedPumpkins=false

    # This will prevent biomes from generating reeds [default: false]
    B:avoidGeneratedReeds=false

    # This will prevent biomes from generating trees [default: false]
    B:avoidGeneratedTrees=false

    # If true then all water will be avoided (replaced with air) [default: false]
    B:avoidWater=false

    # Block to use as the worldgen base [default: minecraft:stone]
    S:baseBlock=minecraft:stone

    # The height of the bedrock layer that is generated at the bottom of some world types. Set to 0 to disable this and get default bedrock generation [range: 0 ~ 10, default: 1]
    I:bedrockLayer=1

    # This is used in combination with allowedBiomeFactors. 'original' is the old strategy. 'randomized' is a new strategy that tries to randomize the biomes better. 'varied' is similar but has a more relaxed biome distance function [default: original]
    S:biomeSelectionStrategy=original

    # The chance that a chunk can possibly contain a bridge. There actually being a bridge also depends on the presence of adjacent bridges and other conditions [range: 0.0 ~ 1.0, default: 0.7]
    S:bridgeChance=0.7

    # If true bridges get supports when needed. You can disable this if you have bridges that span void chunks [default: true]
    B:bridgeSupports=true

    # The chance that a chunk can possibly be the top-left chunk of 2x2 building. There actually being a 2x2 building also depends on the condition of those other chunks [range: 0.0 ~ 1.0, default: 0.03]
    S:building2x2Chance=0.03

    # The chance that a chunk in a city will have a building. Otherwise it will be a street [range: 0.0 ~ 1.0, default: 0.3]
    S:buildingChance=0.3

    # The chance that a doorway will be generated at a side of a building (on any level). Only when possible [range: 0.0 ~ 1.0, default: 0.6]
    S:buildingDoorwayChance=0.6

    # The chance that a building will have a 'front' part if this is possible (i.e. adjacent street) [range: 0.0 ~ 1.0, default: 0.2]
    S:buildingFrontChance=0.2

    # The maximum number of cellars (below ground). 0 means no cellar [range: 0 ~ 7, default: 4]
    I:buildingMaxCellars=4

    # A cap for the amount of floors a city can have (above ground) [range: 0 ~ 30, default: 9]
    I:buildingMaxFloors=9

    # The amount of floors of a building is equal to: MINFLOORS + random(MINFLOORS_CHANCE + (cityFactor + .1f) * (MAXFLOORS_CHANCE - MINFLOORS_CHANCE)) [range: 1 ~ 30, default: 6]
    I:buildingMaxFloorsChance=6

    # The minimum number of cellars (below ground). 0 means no cellar [range: 0 ~ 7, default: 0]
    I:buildingMinCellars=0

    # The minimum number of floors (above ground) for a building (0 means the first floor only) [range: 0 ~ 30, default: 0]
    I:buildingMinFloors=0

    # The amount of floors of a building is equal to: MINFLOORS + random(MINFLOORS_CHANCE + (cityFactor + .1f) * (MAXFLOORS_CHANCE - MINFLOORS_CHANCE)) [range: 1 ~ 30, default: 4]
    I:buildingMinFloorsChance=4

    # The chance that a building will have no loot and no spawners [range: 0.0 ~ 1.0, default: 0.2]
    S:buildingWithoutLootChance=0.2

    # The chance that a chest will have no loot [range: 0.0 ~ 1.0, default: 0.2]
    S:chestWithoutLootChance=0.2

    # The chance that a chunk can possibly contain a corridor. There actually being a corridor also depends on the presence of adjacent corridors [range: 0.0 ~ 1.0, default: 0.7]
    S:corridorChance=0.7

    # The chance that a 2x2 building will be a data center [range: 0.0 ~ 1.0, default: 0.1]
    S:dataCenterChance=0.1

    # The description of this profile [default: Like default but no explosion damage]
    S:description=Like default but no explosion damage

    # Additional information [default: Ruins and rubble are disabled and ravines are disabled in cities]
    S:extraDescription=Ruins and rubble are disabled and ravines are disabled in cities

    # The chance that a street section contains a fountain [range: 0.0 ~ 1.0, default: 0.05]
    S:fountainChance=0.05

    # If true then there will be minimal lighting in the buildings [default: false]
    B:generateLighting=false

    # If true the chests in the buildings will contain loot [default: true]
    B:generateLoot=true

    # If true then the buildings will be full of spawners [default: true]
    B:generateSpawners=true

    # A json with generator options for the chunk generator [default: ]
    S:generatorOptions=

    # Ground level [range: 2 ~ 256, default: 71]
    I:groundLevel=71

    # Mask to control how far highways can generate. Must be a power of 2 (minus 1). If 0 there are no highways at all [range: 0 ~ 2147483647, default: 7]
    I:highwayDistanceMask=7

    # 0 (take height from top-left city), 1 (take minimum height from both cities), 2 (take maximum height from both cities), 3 (take average height) [range: 0 ~ 3, default: 0]
    I:highwayLevelFromCities=0

    # For highways on a certain axis, this value is used to scale the perlin noise generator on the main axis. Increasing this value will increase the frequency of highways but make them smaller [range: 1.0 ~ 1000.0, default: 50.0]
    S:highwayMainPerlinScale=50.0

    # The highway perlin noise is compared to this value. Setting this to 0 would give 50% chance of a highway being at a spot. Note that highways only generate on chunks a multiple of 8. Setting this very high will prevent highways from generating [range: -100.0 ~ 100.0, default: 2.0]
    S:highwayPerlinFactor=2.0

    # If true then a highway will only generate if both sides have a valid city. If false then one city is sufficient [default: true]
    B:highwayRequiresTwoCities=true

    # For highways on a certain axis, this value is used to scale the perlin noise generator on the secondary axis. Increasing this value will increase the variation of nearby highways [range: 1.0 ~ 1000.0, default: 10.0]
    S:highwaySecondaryPerlinScale=10.0

    # If true highways get supports when needed. You can disable this if you have highways that span void chunks [default: true]
    B:highwaySupports=true

    # The icon to use in the configuration screen (64x64) [default: textures/gui/icon_nodamage.png]
    S:icon=textures/gui/icon_nodamage.png

    # Type of landscape [default: default]
    S:landscapeType=default

    # The chance that a 2x2 building will be a library [range: 0.0 ~ 1.0, default: 0.1]
    S:libraryChance=0.1

    # Block to use as a liquid [default: minecraft:water]
    S:liquidBlock=minecraft:water

    # Use in combination with 'allowedBiomeFactors' to manually map some biomes to others. This is a list of the format oldbiome=newbiome [default: ]
    S:manualBiomeMappings <
     >

    # The chance that a non-building section can be a park section [range: 0.0 ~ 1.0, default: 0.2]
    S:parkChance=0.2

    # The chance that a chunk next to a railway will have a railway dungeon [range: 0.0 ~ 1.0, default: 0.01]
    S:railwayDungeonChance=0.01

    # If true then railway stations are enabled [default: true]
    B:railwayStationsEnabled=true

    # If true the a place where a station would have been if there was a city above will have an 'ending' rail part if one side of the 'station' has no connections. Useful in case cities are rare [default: false]
    B:railwaysCanEnd=false

    # If true then railways are enabled. If false they are not (but stations will still generate) [default: true]
    B:railwaysEnabled=true

    # Chance that leafblocks will be generated at the border of a building and a street [range: 0.0 ~ 1.0, default: 0.1]
    S:randomLeafBlockChance=0.1

    # Frequency of leafblocks as seen from the sides of buildings [range: 1 ~ 8, default: 2]
    I:randomLeafBlockThickness=2

    # The scale of the dirt layer. Smaller values make the layer larger. Use 0 to disable [range: 0.0 ~ 100.0, default: 3.0]
    S:rubbleDirtScale=3.0

    # If this is true an alternative way to generate dirt/stone/sand + leave blocks is used that makes the city appear more overgrown [default: false]
    B:rubbleLayer=false

    # The scale of the leave layer. Smaller values make the layer larger. Use 0 to disable [range: 0.0 ~ 100.0, default: 6.0]
    S:rubbleLeaveScale=6.0

    # If ruines are enabled this gives the chance that a building is ruined [range: 0.0 ~ 1.0, default: 0.05]
    S:ruinChance=0.05

    # If a building is ruined this indicates the maximum start height for the ruin destruction layer [range: 0.0 ~ 1.0, default: 1.0]
    S:ruinMaxlevelPercent=1.0

    # If a building is ruined this indicates the minimum start height for the ruin destruction layer [range: 0.0 ~ 1.0, default: 0.8]
    S:ruinMinlevelPercent=0.8

    # If true there is a chance a building is ruined from the top (not caused by explosion damage) [default: false]
    B:ruins=false

    # When this is set the player will always spawn in the given biome [default: ]
    S:spawnBiome=

    # When this is set the player will always spawn in the given predefined city [default: ]
    S:spawnCity=

    # If this is true the player will not spawn in a building. This can be used in combination with the other spawn settings [default: false]
    B:spawnNotInBuilding=false

    # When this is set the player will always spawn in the given predefined sphere. If you use <in> the player will always spawn in a random sphere. If you use <out> the player will always spawn outside a sphere [default: ]
    S:spawnSphere=

    # The chance that a block on the outside of a building will be covered with a vine [range: 0.0 ~ 1.0, default: 0.009]
    S:vineChance=0.009

    # How much lower the water level is compared to the ground level (63) [range: -100 ~ 100, default: 8]
    I:waterLevelOffset=8

    # The worldstyle used by this profile (defined in the assets) [default: standard]
    S:worldStyle=standard
}


maxcaveheight {
    # Maximum height at which vanilla caves can generate. Default is 128. Lower this if you don't want the caves to damage buildings [range: 20 ~ 240, default: 64]
    I:structures_nodamage=64
}


##########################################################################################################
# structures_nodamage
#--------------------------------------------------------------------------------------------------------#
# Settings related to structure generation for the nodamage profile
##########################################################################################################

structures_nodamage {
    # Generate caves
    B:generateCaves=true

    # Generate dungeons
    B:generateDungeons=true

    # Generate lakes (lava/water)
    B:generateLakes=true

    # Generate mansions
    B:generateMansions=true

    # Generate mineshafts
    B:generateMineshafts=true

    # Generate ocean monuments
    B:generateOceanMonuments=true

    # Generate ravines
    B:generateRavines=true

    # Generate scattered features (swamphunts, desert temples, ...)
    B:generateScattered=true

    # Generate strongholds
    B:generateStrongholds=true

    # Generate villages
    B:generateVillages=true

    # If true then no lakes and ravines will be generated in cities
    B:preventLakesRavinesInCities=true

    # If true then an attempt will be made to prevent villages in cities. Note that enabling this option will likely require a low city density in order to actually get a reasonable chance for villages.
    B:preventVillagesInCities=true
}


