Disabling Ore Generation | Ore Tweaker 3 - EwyBoy/OreTweaker GitHub Wiki

Disabling Ore Generation using Ore-Tweaker

Introduction

Ore Tweaker provides the option to disable ore generation entirely.

Modded Ores

Ore Tweaker is compatible with mods that utilize the standard vanilla Minecraft ore generation, such as Thermal Expansion. However, mods that use their own custom generation cannot be disabled by default.

Most mods allow you to disable their world generation in their own config files. If possible, it is usually easier to disable ore generation there rather than using Ore Tweaker.

Disabling Ore Generation

Disabling ore generation is straightforward and can be done by setting the appropriate values to -1 in the JSON file for the ores you wish to disable.

Example:

The following example demonstrates how to completely disable iron and coal ores from spawning.

{
  "oreConfig": [
    {
      "ore": "minecraft:iron_ore",
      "minY": -1,
      "maxY": -1,
      "maxVeinSize": -1,
      "spawnRate": -1,
      "biomeFilters": {
        "biomeBlacklist": [],
        "biomeWhitelist": []
      }
    }
  ]
}