One Enough Block
你的整合包里有三种橙色树或四种银矿吗? 或者你只是想清除像铜这样无用的自然生成矿石?
使用 One Enough Block,你可以方便地指定哪些方块应该被替换为其他方块——轻松、灵活且强大。
主要功能
加载方式 1: 通过配置文件。
使用 /reload 命令重载。
路径: config/OEB/example.json
[
{
"match": [
"manametalmod:ManaTreeLog",
"#minecraft:logs"
],
"result": "minecraft:redstone_block"
},
{
"match": ["#minecraft:logs"],
"result": "minecraft:redstone_block"
}
]
加载方式 2: 通过数据包(自 v1.1.0 起可用)。 需要 OEI 作为依赖项——请注意结构已更改!
路径: data/oeb/replacements/example.json
[
{
"matchBlock": ["#minecraft:logs"],
"resultBlock": "minecraft:redstone_block"
}
]
只需在 "match" 数组中列出你想要替换的方块 ID,并在 "result" 下指定目标方块。
替换将在游戏中自动生效。
支持基于标签的匹配,允许你一次性替换某个标签下的所有方块。 甚至流体也可以被替换!
注意: 从 1.1.0 版本开始,内置了游戏内替换规则编辑器! 默认按下 CTRL + R 打开界面,享受无需动脑、零代码编辑体验。(切换功能 -> Page OEB)
用例
方块替换发生在创建世界或加载新区块时,因此非常适合修改自然生成的方块,例如矿石、植物或结构方块。
替换也适用于任何方块放置行为——当玩家放置方块时,如果匹配规则,它将立即被替换。
此外,世界中已有的方块也可以进行回溯替换。 此功能默认禁用,但可以在配置文件中启用。
未来计划
目前暂无计划。

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
下载 One Enough Block
下载 One Enough Block
下载 One Enough Block
下载 One Enough Block
下载 One Enough Block
下载 One Enough Block
下载 One Enough Block
下载 One Enough Block
下载 One Enough Block
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧