Chald Recipe Blocker
一款轻量级、仅服务端的 NeoForge 模组,允许服务器管理员禁用特定物品的合成配方——既可以通过在配置文件中列出物品 ID 来实现,也可以通过内置的 GUI 编辑器在游戏内实时操作。无需脚本语言,无额外依赖。
为什么需要它
大型整合包通常会包含一些过于强大、可被利用或令人不想要的物品,你不希望玩家能够合成它们,但也不想为了移除一个配方而去分叉并重新编译每一个模组。像 CraftTweaker 或 KubeJS 这样的完整脚本框架可以实现这一功能及更多操作,但如果你的唯一需求只是移除配方,它们作为依赖项显得过于沉重。
Chald Recipe Blocker 只做一件事:它会移除结果匹配你在配置中列出的物品 ID 的配方。该物品的其他属性均不受影响——它依然存在,仍可通过 /give 命令、战利品表、交易或其他模组获得。
特性
- 基于配置驱动 — 无需脚本,无需代码,只需一个包含物品 ID 列表的
.toml文件 - 游戏内 GUI 编辑器 —
/crb gui会打开一个类似箱子风格的菜单,操作员可以通过放置/移除物品来添加或移除被禁用的物品,无需编辑配置文件或重启服务器 - 支持任何类型的配方 — 工作台、熔炉、锻造台、高炉,或由其他模组添加的任何自定义配方类型;该模组按结果物品进行过滤,而非按配方类型
- 自动应用 — 在服务器启动时、每次执行
/reload时以及通过 GUI 保存时立即生效 - 仅服务端 — 无需安装客户端,当原版或第三方客户端连接时不会出现模组不匹配错误
- 多版本支持 — 为 Minecraft 1.21 至 1.21.11 分别构建并发布
工作原理
Minecraft 没有提供在运行时移除已加载配方的官方 API。在每次配方重载后——以及在每次 GUI 保存后——此模组会扫描当前加载的所有配方,将其输出物品与你的黑名单进行比对,并在客户端看到它们之前从服务器的配方管理器中移除匹配的条目。
配置
编辑 config/chaldrecipeblocker-server.toml:
[recipes]
blockedItemIds = [
"minecraft:netherite_ingot",
"minecraft:elytra",
"somemod:overpowered_item"
]
重启服务器或运行 /reload 以应用更改——或者完全跳过文件编辑,使用 /crb gui(需要至少 2 级的操作员权限)来实时编辑列表。
兼容性
专为 NeoForge 构建,适用于 MC 1.21–1.21.11(每个版本对应 NeoForge 21.x 构建)。由于它依赖于内部配方管理器字段来规避缺失的官方 API,未来的 Minecraft/NeoForge 更新可能需要先更新模组才能再次正常工作——如果在更新后发现配方不再被过滤,请查看更新日志。
Chald Recipe Blocker
A lightweight, server-side only NeoForge mod that lets server admins disable crafting recipes for specific items — either by listing item IDs in a config file, or live in-game through a built-in GUI editor. No scripting language, no extra dependencies.
Why
Big modpacks often ship overpowered, exploitable, or otherwise undesirable items that you don't want players to be able to craft, but you don't want to fork and recompile every mod just to remove a recipe. Full scripting frameworks like CraftTweaker or KubeJS can do this and much more, but they're a heavy dependency if recipe removal is all you need.
Chald Recipe Blocker does exactly one thing: it removes recipes whose result matches an item ID you list in the config. Nothing else about the item is touched — it still exists, can still be obtained via /give, loot tables, trading, or other mods.
Features
- Config-driven — no scripts, no code, just a
.tomllist of item IDs - In-game GUI editor —
/crb guiopens a familiar chest-style menu where operators can add or remove blocked items by placing/removing items, no config editing or restart needed - Any recipe type — crafting table, furnace, smithing, blast furnace, or any custom recipe type added by other mods; the mod filters by result item, not by recipe type
- Applies automatically on server start, on every
/reload, and instantly when saved through the GUI - Server-only — no client installation required, no mod-mismatch errors when vanilla or third-party clients connect
- Multi-version — built and published separately for Minecraft 1.21 through 1.21.11
How it works
Minecraft doesn't expose an official API to remove a loaded recipe at runtime. After each recipe reload — and after every GUI save — this mod scans every currently loaded recipe, checks its output item against your blocklist, and removes matching entries from the server's recipe manager, before the client ever gets to see them.
Configuration
Edit config/chaldrecipeblocker-server.toml:
[recipes]
blockedItemIds = [
"minecraft:netherite_ingot",
"minecraft:elytra",
"somemod:overpowered_item"
]
Restart the server or run /reload to apply changes — or skip the file entirely and use /crb gui (requires operator level 2) to edit the list live.
Compatibility
Built for NeoForge across MC 1.21–1.21.11 (matching NeoForge 21.x builds per version). Since it relies on internal recipe-manager fields to work around the missing official API, future Minecraft/NeoForge updates may require a mod update before it works again — check the changelog if recipes stop being filtered after updating.
下载 Chald Recipe Blocker
下载 Chald Recipe Blocker
下载 Chald Recipe Blocker
下载 Chald Recipe Blocker
下载 Chald Recipe Blocker
下载 Chald Recipe Blocker
下载 Chald Recipe Blocker
下载 Chald Recipe Blocker
下载 Chald Recipe Blocker
下载 Chald Recipe Blocker
更新日志
新增
- 多版本支持——现已为 MC 1.21、1.21.1–1.21.11(此前仅支持 1.21.1)分别构建并发布
- 游戏内 GUI 编辑器 (/crb gui) ——通过类似箱子的菜单实时编辑禁止物品列表,无需编辑配置文件或重启
- 跨版本兼容层,用于处理不同 MC 版本间的内部 API 差异(包括物品 ID 处理、权限检查、重载监听器、配方管理器内部机制等)
- 通过配置文件选择消息语言:在 chaldrecipeblocker-server.toml 中设置 locale = "en"(注释中列出了可用选项:#all locale en,ru)。此设置控制服务器控制台/日志消息以及游戏内保存通知的语言。GUI 本身(标题、分页按钮等)仍会根据每个客户端自身的区域设置自动翻译,不受此设置影响。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
使床在所有维度中爆炸的模组
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
评论 0
登录后参与评分
还没有评论,来抢沙发吧