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

One Enough Block

Easily specify replacing one block with another.

Автор: MerrySnow69,4 тыс.12обновлён 3 авг. 2026 г.
УтилитыГенерация мира

Описание

One Enough Block

Does your modpack have three kinds of orange trees or four kinds of silver ore? Or do you just want to wipe out useless naturally generated ores like copper?

With One Enough Block, you can conveniently specify which blocks should be replaced with others — easily, flexibly, and powerfully.


Main Features

Load Method 1: via configuration file. Reload using the /reload command.

Path: config/OEB/example.json

[
  {
    "match": [
      "manametalmod:ManaTreeLog",
      "#minecraft:logs"
    ],
    "result": "minecraft:redstone_block"
  },
  {
    "match": ["#minecraft:logs"],
    "result": "minecraft:redstone_block"
  }
]

Load Method 2: via datapack (available since v1.1.0). Requires OEI as a dependency — note that the structure has changed!

Path: data/oeb/replacements/example.json

[
  {
    "matchBlock": ["#minecraft:logs"],
    "resultBlock": "minecraft:redstone_block"
  }
]

Simply list the block IDs you want to replace in the "match" array, and specify the target block under "result". The replacement will automatically take effect in-game.

Supports tag-based matching, allowing you to replace all blocks under a tag at once. Even fluids can be replaced!

Note: Since version 1.1.0, an in-game replacement rule editor is built in! Press CTRL + R by default to open the UI and enjoy a brain-free, zero-code editing experience.(Switch Function -> Page OEB)


Use Cases

Block replacement occurs when creating worlds or loading new chunks, making it ideal for modifying naturally generated blocks such as ores, plants, or structure blocks.

Replacement also applies to any block placement — when a player places a block, it will be immediately replaced if it matches a rule.

Additionally, existing blocks in the world can be replaced retroactively. This feature is disabled by default, but can be enabled in the config file.


Future Plans

None for now.


logs -> reastone block

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

Все версии →
release

One Enough Block 1.0.0

1.0.0
3 авг. 2026 г.176Minecraft: 26.1.2neoforge
Скачать
release

One Enough Block 1.1.3.1-hotfix

1.1.3.1-hotfix
6 апр. 2026 г.2,4 тыс.Minecraft: 1.20.1forge
Скачать
Что нового
fix server can't start
release

One Enough Block 1.1.3.1

1.1.3.1
26 мар. 2026 г.265Minecraft: 1.20.1forge
Скачать
release

One Enough Block 1.1.3

1.1.3
19 янв. 2026 г.11,6 тыс.Minecraft: 1.20.1forge
Скачать
release

One Enough Block 1.1.2-hotfix

1.1.2-hotfix
17 янв. 2026 г.4,5 тыс.Minecraft: 1.21.1neoforge
Скачать
Что нового
fix: can't join server
release

One Enough Block 1.1.2

1.1.2
12 янв. 2026 г.314Minecraft: 1.20.1forge
Скачать
Что нового
Added config; extend block property feature is disabled by default
release

One Enough Block 1.1.2

1.1.2
12 янв. 2026 г.117Minecraft: 1.21.1neoforge
Скачать
Что нового
Added config; extend block property feature is disabled by default
release

One Enough Block 1.0.0

1.0.0
14 дек. 2025 г.45,8 тыс.Minecraft: 1.21.1neoforge
Скачать
release

One Enough Block 1.1.1-jech

1.1.1-jech
27 нояб. 2025 г.2,2 тыс.Minecraft: 1.20.1forge
Скачать
Что нового
- supported jech - fixed bugs about server
release

One Enough Block 1.0.0

1.0.0
1 окт. 2025 г.463Minecraft: 1.21.1neoforge
Скачать