Advanced Rocketry Ore Configuration

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:

Temperature Ranges:

  1. Very Hot: usually spawns mars or venus like planets
  2. Hot: Tends to spawn more desert and jungle biomes
  3. Normal: Just like the overworld, but with a limited set of random biomes
  4. Cold: Spawns more of the colder biomes
  5. Frigid: Spawns only cold biomes
  6. Snowball: Also only spawns cold biomes

Pressure Ranges:

  1. High Pressure: usually spawns mars or venus like planets or swampy planets, has a small chance of spawning biomes with heavy storms.
  2. Normal: Similar to the overworld
  3. Low: Stars are visible even during the day, barely has enough atmosphere to support life
  4. None: Dead worlds, the moon for example.

Explanation of usable tags:

OreGen tag

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.

ore tag

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 block
  • meta: optional attribute to specify the meta value of the block
  • minHeight: 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
    • The vanilla veinSize property
    • This is not the number of ore blocks in a vein; that is a more complex nonlinear relationship
    • Vanilla coal has a size of 16, while iron has a size of 8
    • Please note that sizes over 100 can mean veins the size of villages, yielding 5k+ ore
    • Sizes over 48 are not recommended to be spawned more than a few times pre chunk, as they can become unreasonably large and common
  • 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 ---

            <oreGen pressure="3">
              <ore block="minecraft:iron_block" minHeight="20" maxHeight="80" clumpSize="32" chancePerChunk="64" />
            <oreGen pressure="3" temp="5">
              <ore block="minecraft:gold_block" minHeight="20" maxHeight="80" clumpSize="32" chancePerChunk="64" />