Reika/CondensedOres_Files
folder in the standard config folder. Add new files here to define your prototypes, and edit base.lua
if you wish to change the base values. Any files ending in .lua, .txt, .ini, .cfg, or .yml (all formatted like the above) will be read and parsed into ore prototypes. The mod also contains a sample file in the jar ("example.lua") to show the general format and various parameters - with detailed explanation - that can be customized as they might appear in a real file, along with many more example values than can be shown here.
/reloadoreconfig
.
Definition Key | Description | Default Value | Min Value | Max Value |
---|---|---|---|---|
sortOrder | Entry sorting order | 0 | ||
retrogen | Enable retrogen | false | ||
sprinkleMix | Enable sprinkle mixing | false | ||
veinSize | Vein axial length (not block count) | 10 | 0 | Any |
blocks | Ore block list | |||
blockSet | Ore block weights (ALTERNATIVE TO blocks ) | |||
heightRule | Y-level spawning pattern | |||
maxHeight | Maximum Y level | 64 | minHeight | 255 |
minHeight | Minimum Y level | 0 | 0 | maxHeight |
variation | Height distribution pattern | "linear" | ||
veinShape | What shape the ore veins take | |||
shape | Which shape prefab (see below) | VANILLA | ||
<Other> | Other properties depending on shape (see below) | |||
veinFrequency | Spawn frequency rules | |||
chunkGenChance | Chance (out of 1) to attempt generation per chunk | 1.0 | 0.0 | 1.0 |
veinsPerChunk | Number of generation attempts per chunk if the above test suceeds | 8 | 0 | Any |
spawnBlock | Blocks to spawn in (list) | |||
biomeRules | Biome restrictions | |||
combination | Rule combination | "or" | ||
dimensionRules | Dimension restrictions | |||
combination | Rule combination | "or" | ||
proximityRules | Adjacent block requirements | |||
strict | Require strict proximity | false |
blocks
, which is just a list of all available options. If you wish to make certain blocks more common relative to others, you can instead specify a blockSet
block, using the following format:
specialBlock
option on the veinShape
block, using the same "specify an item" format as used elsewhere in the ore definitions.veinFrequency
and veinSize
parameters, as well as the height parameters except for minimum and maximum Y levels. Noise-based generation uses a 3D simplex noise algorithm (the same as used in a great deal of other worldgen code, including most of ChromatiCraft), and values in the approximate middle of the noise field magnitude (ie absolute magnitude < some threshold) will become ore if the placement conditions are met. This type requires an additional property threshold
, which ranges from 0 to 1, corresponding to no and solid ore respectively. Recommended values are around 0.015
to 0.25
.biomeID
, or a name with biomeName
. The type
property - not to be confused with the same-name property on the overall prototype - defines what the rule is, ie whether it is a requirement (include
), exclusion (exclude
), or Forge biome dictionary require/exclude (dictionary-require
and dictionary-exclude
respectively).
dimensionID
property.