/excavated_variants

Primary LanguageJavaGNU Lesser General Public License v3.0LGPL-3.0

Excavated Variants

Do you want to contribute to the default configs? Feel free to open a pull request. Default config files can be placed under common/src/main/resources/default_configs.

Config Format

Note: the config version may occasionally change between versions. If the config is outdated, the game will log an error and instead load the default config.

The main config file, "excavated_variants.json", contains several options:

  • blacklist_ores and blacklist_stones: A way of disabling specific ores/stones by name.
  • blacklist_ids: A way of disabling specific stone/ore combinations. The value entered here should be the path of the block ID. For instance, for Andesite Redstone Ore this would be "andesite_redstone_ore".
  • attempt_ore_generation_insertion: Allows the world-generation changes to be toggled. Useful if another tool, such as KubeJS, is being used for ore gen.
  • attempt_ore_replacement: Toggles the much slower, but more reliable, ore-gen changes. Disable to speed up world generation substantially at the cost of less-reliable replacement of the original ore with its variants.
  • priority: Allows certain config files to be loaded before others, in the order specified within.

Configs for adding stones or ores are placed in the "excavated_variants" directory. These take the following format:

  • mod_id: The ID of the mod necessary for this config to load, or a list of IDs for the required mods.
  • provided_stones: A list of stones provided by the config.
  • provided_ores: A list of ores provided by the config.

Each ore object takes the following format:

  • id: A name for this ore. Can be shared to avoid duplicate ores.
  • stone: A list of stones, by id, that this ore already appears in.
  • ore_name: A list of other names for this ore, to be used when adding the ore to tags. Optional; if not supplied, defaults to id.
  • block_id: A list of blocks of this ore, in the same order as stone.
  • en_name: The name to be given to this ore in-game.
  • types: A list of types that this ore is classified as. Matched at runtime with the types specified in stone configs.
  • texture_count: The maximum number of texture variants of this ore.

Each stone object takes the following format:

  • id: A name for this ore. Can be shared to avoid duplicate ores.
  • block_id: The block ID of this stone.
  • en_name: The name to be given to this stone in-game.
  • types: A list of types that this stone is classified as. Matched at runtime with the types specified in ore configs.
  • texture_count: The maximum number of texture variants of this stone.