Dungeon Configuration

From ChocolateQuestWiki
Jump to navigation Jump to search

Page WIP

Option Data type Description Constraints
generator Generator Type The dungeon generator which will be used when generating this dungeon.
enabled Boolean Enable/Disable the generation of this dungeon. The dungeon placer item will still be available.
icon Integer The model and texture of the dungeon placer item. min=0 max=19
weight Integer The weight that this dungeon will be selected for generation.
chance Integer When this dungeon is selected for generation this is the chance in percent that this dungeon genrates. min=0 max=100
spawnLimit Integer How often this dungeon can generate in each dimension. Note: -1 means there is no limit. min=-1
allowedDims List of Integer List of dimensions where this dungeon can generate.
allowedDimsAsBlacklist Boolean When enabled allows generation in all dimensions except the dimensions listed in 'allowedDims'
allowedBiomes List of ResourceLocation List of biomes where this dungeon can generate.
allowedBiomeTypes List of Biome Type List of biome types where this dungeon can generate.
allowedInAllBiomes List of ResourceLocation Allows generation in all biomes except the biomes listed in 'disallowedBiomes' or biomes with a biome type listed in 'disallowedBiomeTypes'.
disallowedBiomes List of ResourceLocation List of biomes where this dungeon can NOT generate.
disallowedBiomeTypes List of Biome Type List of biome types where this dungeon can NOT generate.
lockedPositions x,z,spawnPointRelative; x,z,spawnPointRelative; ... List of positions where this dungeon will generate ignoring other config options.
spawnOnlyBehindWall Boolean Enable this to only allow the generation of this dungeon further north than the 'Wall in the North'. The 'Wall in the North' has to be enabled for this to have an effect.
modDependencies List of String List of mods which have to be installed to spawn this dungeon.
treatWaterAsAir Boolean Wether or not water is seen as air when selecting the y-position on generation.
undergroundoffset Integer Amount of blocks used under the surface. Needs to be at least 0
fixedY Boolean Wether or not the y-position for this dungeon type is fixed. If set to true it will always spawn on a y value between yOffsetMin and yOffsetMax.
yOffsetMin Integer Only takes effect when fixedY is set to "true". If that applies, it defines the minimal y value this dungeon will spawn on. Has to be at least 0 and lower then or equal to yOffsetMax.
yOffsetMax Integer Same as yOffsetMin, but it is the maximal y value. Has to be at least the same value as yOffsetMin.
dummyReplacement Dungeon Inhabitant Defines the inhabitant config to use. Basically it defines what mobs spawn in the dungeon. Set it to DEFAULT to use the "mobDependantOnSpawnDistance" mechanic.
replaceBanners Boolean If the CQR-Banners (Banners with a CQR pattern) in the dungeon should be replaced by banners defined in the inhabitant config.
buildsupportplatform Boolean If a support platform (makes the dungeon blend in better with the environment) should be constructed. Not available for every generator.
supportblock ResourceLocation Block to use in the support platform.
supportblocktop ResourceLocation Block to use in the support platform on the highest blocks.
usecoverblock Boolean If it should use the cover block. It basically places this block accross the whole area that is covered by the generated dungeon. A good example is to use this for snow to be placed atop the dungeon.
coverblock ResourceLocation Block to use for the coverblock
enableProtectionSystem Boolean Wether or not the protection system can be active in this dungeon type. Only takes effect when the option is enabled in the Main Configuration too.
preventBlockBreaking Boolean Wether or not the protection system should try to prevent players from breaking blocks in the dungeon. Only takes effect when the option is enabled in the Main Configuration too.
preventBlockPlacing Boolean Wether or not the protection system should try to prevent the placement of blocks by players in the dungeon. Only takes effect when the option is enabled in the Main Configuration too.
preventExplosionsTNT Boolean Wether or not the protection system should try to prevent tnt explosions in the dungeon. Only takes effect when the option is enabled in the Main Configuration too.
preventExplosionsOther Boolean Wether or not the protection system should try to prevent non-tnt explosions in the dungeon. Only takes effect when the option is enabled in the Main Configuration too.
preventFireSpreading Boolean Wether or not the protection system should try to prevent fire from spreading in the dungeon. Only takes effect when the option is enabled in the Main Configuration too.
preventEntitySpawning Boolean Wether or not the protection system should try to prevent normal entity spawning in the dungeon. Only takes effect when the option is enabled in the Main Configuration too.
ignoreNoBossOrNexus Boolean If set to true, it will always generate a protected region, even when it can't be deactived normally (by defeating the boss and destroying all Force Field Nexus blocks.

Visual guide on how a dungeon gets selected for generation:

CQR-Config-Chance-Weight.png