Welcome to the Advanced Rocketry(AR) advanced ore configuration readme!
This document will guide you through manually configuring ore for spawning on AR's various planets.
Default ore configurations are loaded from "./config/advRocketry/oreConfig.xml". This file can be used to specify which ores are generated on different planet types. If a type of planet is not specified, then it will use standard overworld generation.
There are two factors that determine the planet type: Atmosphere Pressure and Temperature. A list of each can be found below:
The "OreGen" defines a new type of planet to define the ore generation for. The "OreGen" tag contains "pressure" and "temp" attributes. These attributes specify the type of planet for which to define ore gen. Both attributes use integers corresponding to the temperature and pressure tables above and at least one of the tags must be present.
Defining only one of the tags will use the same configuration for all of the undefined tag's values. For example if I do not define the "temp" tag and define pressure to be 3, then I am defining ore generation for all planets with no atmosphere regardless of the surface temperature.
Planet type definitions are also read into the game in order, so if I define one type of oregen for all low pressure planets then farther down the file i define oregen for low pressure and high temperature planets, then low pressure high temperature planets will have a different oregen than other low pressure planets, however if I reverse the order then the entry for low pressure high temperature planets will be overwritten.
The "ore" tag specifies an entry for a type of ore to spawn. This tag has the following attributes:
block
: the name or id of the blockmeta
: optional attribute to specify the meta value of the blockminHeight
: minimum height at which to spawn the ore (between 1 and maxHeight)maxHeight
: maximum height at which to spawn the ore (between minHeight and 255)clumpSize
: amount of ores to generate in each clump
chancePerChunk
: maximum number of clumps that can be spawned in a given chunk All planets with no atmosphere will spawn large quantities of iron blocks except those with high temperature, which will instead spawn gold blocks
--- ./config/advancedRocketry/OreConfiguration.xml --- <OreConfig> <oreGen pressure="3"> <ore block="minecraft:iron_block" minHeight="20" maxHeight="80" clumpSize="32" chancePerChunk="64" /> </oreGen> <oreGen pressure="3" temp="5"> <ore block="minecraft:gold_block" minHeight="20" maxHeight="80" clumpSize="32" chancePerChunk="64" /> </oreGen> </OreConfig>