COWMODSКаталог модов

Ore Generation Disabler

Disables Overworld ore generation using a configurable block tag

Автор: teslafoll5780обновлён 11 июл. 2026 г.
Утилиты

Описание

Ore Generation Disabler

This mod was inspired by the removal of the WorldGen class from KubeJS, which made it much harder for modpack creators to manage and disable ore generation through scripts. Ore Generation Disabler was created as a lightweight alternative for controlling Overworld ore generation in modern NeoForge modpacks.

The mod removes ore-generating worldgen features before chunks are generated. Instead of replacing blocks after generation, it prevents matching ore features from running in the first place. Ores are controlled through a block tag:

#oregenerationdisabler:disabled_overworld_ores

Any ore block added to this tag will be detected and used to disable the worldgen features that generate it.

Features

  • Disables Overworld ore generation before chunk generation.
  • Uses a configurable block tag instead of hardcoded ore lists.
  • Works with vanilla and many modded ores.
  • Does not remove ores placed inside structures as decoration.
  • Designed for custom modpacks with alternative ore generation systems.
  • Supports datapack and KubeJS tag editing.

How to configure

After the first launch, the mod creates its config files.

Example

You can also add blocks to the tag using KubeJS:

ServerEvents.tags('block', event => {
  event.add('oregenerationdisabler:disabled_overworld_ores', [
    'minecraft:iron_ore',
    'minecraft:deepslate_iron_ore',
    'minecraft:diamond_ore',
    'minecraft:deepslate_diamond_ore'
  ])
})

Important notes

This mod affects newly generated chunks only. Existing chunks will not be changed.

Originally made for my personal modpack, this mod was later released to help other modpack developers deal with ore generation after WorldGen was removed from KubeJS. Feel free to fork it, improve it, or adapt it for your own projects.

Галерея

shit

Последние версии

Все версии →
release

Ore Generation Disabler 1.0.1

1.0.1
11 июл. 2026 г.547Minecraft: 1.21.1neoforge
Скачать
Что нового
## Changelog v1.0.1 ### Added - Added separate control for ore filtering sources: - Config-based ore blacklist can now be enabled or disabled independently. - Biome Modifier block list/tag filtering can now be enabled or disabled independently. ### Changed - Improved ore disabling logic to prevent conflicts between config lists and biome modifier block lists. - Debug logging is now controlled only through the `debugLogging` config option. - Removed the biome modifier JSON debug override to make debug behavior more predictable. - Removed unnecessary startup logging to keep logs cleaner. ### Fixed - Fixed an issue where ores could still be disabled after being removed from one filtering source while remaining in another. - Fixed unwanted debug messages appearing even when `debugLogging` was disabled. ### Notes - Existing configurations remain compatible. - No changes were made to ore detection or generation scanning mechanics.
release

Ore Generation Disabler 1.0.0

1.0.0
9 июл. 2026 г.31Minecraft: 1.21.1neoforge
Скачать