Skip to content

Geode Ores

DaFuqs edited this page Jul 13, 2026 · 2 revisions

Spectrum adds ores around geodes - the vanilla Amethyst one, plus all Spectrum ones. The amount of ores, the ores themselves and the geodes they generate in are fully data driven. You can even specify your own ores to generate around geodes from other mods!

You can specify additional ores for geodes by placing json files in the directory <data_pack_or_mod_name>/data/spectrum/spectrum/geode_ores.

Properties

  • (BrokenBlockPredicate) geode_inner_layer_block_predicate:
  • (int) min_distance_from_center:
  • (int) max_distance_from_center:
  • (int) tries_per_range_increment:
  • (OreConfiguration.TargetBlockState) ore_configuration:

Example: Amethyst Geodes with Amethyst Ore

{
  "geode_inner_layer_block_predicate": {
    "blocks": "minecraft:amethyst_block"
  },
  "min_distance_from_center": 5,
  "max_distance_from_center": 15,
  "tries_per_range_increment": 24,
  "ore_configuration": [
    {
      "state": {
        "Name": "spectrum:amethyst_ore"
      },
      "target": {
        "predicate_type": "minecraft:tag_match",
        "tag": "minecraft:stone_ore_replaceables"
      }
    },
    {
      "state": {
        "Name": "spectrum:deepslate_amethyst_ore"
      },
      "target": {
        "predicate_type": "minecraft:tag_match",
        "tag": "minecraft:deepslate_ore_replaceables"
      }
    },
    {
      "target": {
        "predicate_type": "minecraft:tag_match",
        "tag": "spectrum:blackslag_ore_replaceables"
      },
      "state": {
        "Name": "spectrum:blackslag_amethyst_ore"
      }
    }
  ]
}

Clone this wiki locally