MBD2 More Extended
A Multiblocked2 addon: NBT recipe conditions, Ars Nouveau source trait/recipe capability, and KubeJS bindings. Adds no items or blocks.
介绍
MBD2 More Extended
MBD2 More Extended is a feature add-on for the official Multiblocked2 (MBD2).
It adds no items, blocks or creative tabs and extends multiblock behavior purely through the MBD2 API.
Features
-
nbt_comparerecipe condition- Reads a top-level numeric key from the machine’s
customData - Supports
>=,>,<=,<,==,!= - JSON / network / NBT serialization; editor fields for key, operator and value
- Inherited
RecipeConditionreverse toggle
- Reads a top-level numeric key from the machine’s
-
ars_source_storagetrait (optional, requires Ars Nouveau)- Configurable capacity and transfer rate
- Source amount is persisted and synced
- Ars I/O mode:
IN/OUT/BOTH, with no per-face configurationIN: sourcelinks may push in; rituals cannot drain itOUT: rituals may drain it; it pushes to nearby accepting targetsBOTH: behaves like a source jar, accepts pushes and can be drained
- Automatically registers/unregisters an Ars
SourceManagerprovider - Recipe handler direction:
IN/OUT/BOTH - Slot names and distinct flag supported
-
ars_sourcerecipe capability (integer)- Recipe inputs consume source, outputs produce source
- Recipe handler direction supports
IN/OUT/BOTH - Recipe contents can match by slot name
-
Optional KubeJS binding
nbtCompare(key, operator, value)
Requirements
- Minecraft 1.20.1
- Forge 47.4.10
- Multiblocked2 1.0.37+ (required)
- Ars Nouveau 4.12+ (optional, source features)
- KubeJS 2001.6.5+ (optional, script binding)
- JEI optional, any version
Installation
- Install Minecraft 1.20.1 + Forge 47.4.10
- Install Multiblocked2 1.0.37+ and its LDLib dependency
- Optional: install Ars Nouveau and/or KubeJS
- Put
mbd2_more_extended-1.0.0.jarintomods/
Usage
nbt_compare recipe condition
{
"type": "nbt_compare",
"data": { "key": "magnetizer_level", "operator": ">=", "value": 36.0 }
}
KubeJS
m.addCondition(nbtCompare('magnetizer_level', '>=', level * 36))
ars_source recipes
"inputs": {
"ars_source": [ { "content": 500 } ]
},
"outputs": {
"ars_source": [ { "content": 1000 } ]
}
The machine’s source trait direction must support the matching side: IN or BOTH for inputs,
OUT or BOTH for outputs.
Compatibility / limitations
- Targets the official Multiblocked2 only.
Multiblocked2 Unofficialis an incompatible fork
with changed internals and project-file format — do not mix them nbt_compareonly reads top-level keys ofcustomData, and only numeric values- Values are compared as
double;==/!=are exact - Unknown operators fall back to
>= - JEI is not a runtime dependency; older JEI versions are accepted
Links
- GitHub: https://github.com/gaozi233/mbd2_more_extended
- Issues: https://github.com/gaozi233/mbd2_more_extended/issues
License
All Rights Reserved. See LICENSE.txt in the repository.
常见问题
MBD2 More Extended 支持哪些 Minecraft 版本?
MBD2 More Extended 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
MBD2 More Extended 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分