Skip to content

Ore Generation

Invadermonky edited this page Dec 5, 2026 · 2 revisions

Ore Generation

Description

The Ways Between dimension is a Thaumcraft-themed mining dimension that has massive cave systems spanning from y = 0 to y = 255. The dimension features a fully customizable ore generation system, allowing users to define nearly every facet of ore veins within the dimension.

You can reload or reset the configuration json from in-game using the /tfrac <reset|reload> oreGen command, though new worlds may be required to see the effects.


Example Entry

[
  {
    "name": "large_coal",
    "oreBlocks": [
      {
        "block": "minecraft:coal_ore",
        "meta": 0,
        "weight": 100
      },
      {
        "block": "minecraft:diamond_ore",
        "meta": 0,
        "weight": 1
      }
    ],
    "requiredBlocks": [
      {
        "block": "minecraft:coal_ore",
        "meta": 0
      },
      {
        "block": "minecraft:diamond_ore",
        "meta": 0
      }
    ],
    "minVeins": 5,
    "maxVeins": 10,
    "veinChance": 1.0,
    "minY": 0,
    "maxY": 255,
    "minVeinSize": 250,
    "maxVeinSize": 500
  }
]

Settings

name

The internal name of this ore. Used for debugging purposes. Cannot be empty or null.

oreBlocks

All possible ore blocks that make up this ore vein. Multiple blocks can be defined with the weight determining how often the appear within the vein.

Must have at least one valid ore to register.

{
  "block": "minecraft:coal_ore",
  "meta": 0,
  "weight": 50
}
  • block - The block registry id.
  • meta - The blockstate metadata.
  • weight - The weight for this ore. Must be greater than 0.

requiredBlocks

Blocks that must be loaded for this ore vein to generate. If this setting is left blank, the ore vein will always attempt to generate.

{
  "block": "minecraft:coal_ore",
  "meta": 0
}
  • block - The block registry id.
  • meta - The blockstate metadata.

minVeins

The minimum number of ore veins that can spawn in each chunk. Must be greater than or equal to 0 and less than or equal to maxVeins.

maxVeins

The maximum number of ore veins that can spawn in each chunk. Must be greater than 0 and greater than or equal to minVeins.

veinChance

The chance each individual ore vein will spawn. This value must be greater than 0 and less than or equal to 1.0.

minY

The minimum y-level this ore vein can spawn. Must be greater than 0, less than 256, and less than or equal to maxY.

maxY

The maximum y-level this ore vein can spawn. Must be greater than 0, less than 256, and greater than or equal to minY.

minVeinSize

The minimum number of ores that a vein of this type can generate with. Must be greater than 0 and less or equal to maxVeinSize.

maxVeinSize

The maximum number of ores that a vein of this type can generate with. Must be greater than 0 and greater than or equal to minVeinSize.

Clone this wiki locally