介绍
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.
/>/>/>/>
常见问题
One Enough Block 支持哪些 Minecraft 版本?
One Enough Block 支持 Minecraft Java 版 1.18.2–26.1.2,共 8 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
One Enough Block 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
MerrySnow 的其他作品
查看全部 →TaCZ addon
一个为 TaCZ 提供更完善配件管理功能的扩展模组。
One Enough Lib
用于简化OE系列开发的前置库
One Enough Item
使用OEI,你可以轻松将重复物品替换为单一指定代表物品。
Moves Like Mafuyu
A lightweight action-oriented mod designed to optimize movement experience during exploration and building.
评论
登录后评论和评分