Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
One Enough Block

One Enough Block

Easily specify replacing one block with another.

8,582
3
Utility
World Generation
AboutChangelogVersions

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

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.x
1.20.x
1.19.x
1.18.x

Platforms

Forge
NeoForge

Supported environments

Client and server

Links

Report issues View source

Creators

MerrySnow
MerrySnow Member
Flechazo098
Flechazo098 Member

Details

Licensed GPL-3.0-only
Published 3 months ago
Updated 4 weeks ago

Modrinth is open source.

main@9fd0f68

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.