Advanced Rocketry Asteroid Configuration (1.1.6+)



Welcome to the Advanced Rocketry Asteroid Configuration readme! This document will list and explain the meanings of the different settings available.

The asteroid config is located in the "./config/advRocketry/asteroidConfig.xml" file. This config is used to specify the traits of asteroids that can be found in the observatory ingame.

The configuration must be surrounded with "Asteroids" tags

Explanation of usable tags:


Asteroid Specification

The "asteroid" tag is used to begin and end the Specification of a new type of asteroid. The tag has several fields:

  • name - The name of the asteroid type.
  • distance - The minimum viewable distance the observatory must have to be able to discover this asteroid type. Note that the max distance is 200 and the min distance is 35, and asteroid wieghts are calculated out of the available asteroids at the distance
  • mass - The total amount of blocks that can be harvested from this asteroid.
  • massVariability - The range of uncertainty of the number of blocks in an asteroid (must be between 0 and 1). (number = mass +/- 0.5*mass*massVariability)
  • minLevel - unused, to be removed.
  • richness - The ratio of the ore to rock content of the asteroid, 1.0 would make the asteroid 100% ore.
  • richnessVariability - The range of uncertainty of the ratio of ore to stone (must be between 0 and 1).
  • probability - The probability relative to other asteroids of showing up in the list during gameplay. Note that the probabilities are normallized so sums of probabilities greater than 1 are allowed.
  • timeMultiplier - The multiplier on the amount of time requires to mine an asteroid.

The only tags allowed inside the asteroid specification are "ore" tags. The ore tags contain an "itemstack" and "chance" field. The "itemstack" field should contain the unlocaillized name of a block or item optionally followed by a space and meta value. The "chance" field should contain an integer and its purpose is to specify the chances of that particular stack being mined compared to other stacks in the asteroid. Most asteroids should contain a healthy mix of all the stacks specified.

Example asteroid: contains iron, gold, redstone ores, and charcoal (coal with metavalue 1)

        <Asteroids>
            ...
            <asteroid name="Large Asteroid" distance="10" mass="1000" massVariability="0.5" minLevel="0" probability="1" richness="0.8" richnessVariability="0.5">
                <ore itemStack="minecraft:iron_ore" chance="15" />
                <ore itemStack="minecraft:gold_ore" chance="10" />
                <ore itemStack="minecraft:redstone_ore" chance="10" />
                <ore itemStack="minecraft:coal 1" chance="20" />
            </asteroid>
            ...
        </Asteroids>