Recipe conditions
Loader conditions and recipe removal.
Recipe conditions
A condition controls whether a recipe loads. For example, this one requires the expensive_mode flag:
FabricApplies to NTM 1.0.4 · Fabric.Shown because Both loaders is selected.
{
"fabric:load_conditions": [
{
"type": "hbm:flag",
"name": "expensive_mode"
}
]
}For additional conditions, see the Fabric resource-condition reference.
NeoForgeApplies to NTM 1.0.4 · NeoForge.Shown because Both loaders is selected.
{
"neoforge:conditions": [
{
"type": "hbm:flag",
"name": "expensive_mode"
}
]
}For additional conditions, see the NeoForge data-load-condition reference.
These are field fragments to include in a complete recipe.
A false condition on a same-ID override does not restore the bundled recipe. The higher-priority file has already replaced it; skipping that file can leave the recipe absent. Use a different resource ID for an additional conditional recipe, or explicitly design which replacement should exist for each configuration.
Flags
| Field | Meaning |
|---|---|
condition (Fabric) or type (NeoForge) | hbm:. |
name | Flag name from the table below; a leading ! negates it, as in !expensive_. Another name fails the recipe file. |
| Flag | True when |
|---|---|
enable_ | mode_ |
enable_ | mode_ and mode_ |
lbsm | lbsm.enabled and not mode_ |
lbsm_ | lbsm and lbsm.simple_ |
lbsm_ | lbsm and lbsm.simple_ |
lbsm_ | lbsm and lbsm.simple_ |
lbsm_ | lbsm and lbsm.simple_ |
lbsm_ | lbsm and lbsm.simple_ |
lbsm_ | lbsm and lbsm.simple_ |
expensive_ | expensive.enabled |
The configuration entries are in config/hbm-content.toml on NeoForge and in the content section of config/hbm.jsonc on Fabric.
Disable an existing recipe
Place the complete file shown for your loader at the recipe's original resource path. A pack intended for both loaders can combine the two condition fields in one file.
(Fabric)
{
"fabric:load_conditions": [
{
"type": "fabric:not",
"value": {
"type": "fabric:true"
}
}
]
}(NeoForge)
{
"neoforge:conditions": [
{
"type": "neoforge:never"
}
]
}An item without a named shredder recipe falls back to scrap unless its components are changed; a changed item is not shredded.
Duration, power and ordering
Recipe timing, HE and lookup order.
Shaped crafting
Symbol-bound input state in shaped crafting recipes.
© 2026 movblock. Original site text is licensed under CC BY-SA 4.0 unless otherwise noted. Built with Fumadocs.