movblock.mov

Shaped crafting

Symbol-bound input state in shaped crafting recipes.

since NTM 1.0.1Applies to NTM 1.0.1, 1.0.2, 1.0.3, 1.0.4.Shown because All revisions is selected.

File: data/<namespace>/recipe/<path>.json.

hbm:crafting_shaped uses the same JSON on Fabric and NeoForge; NTM's bundled shaped crafting recipes use it. Its pattern matches after trimming empty borders and allows horizontal mirroring. Input-state rules bind to the pattern symbols through either transformation. Inputs accept pristine stacks by default.

Fields

FieldMeaning and defaultRange
typeSelects the hbm:crafting_shaped recipe format.
pattern1–3 equal-width rows, each at most 3 characters. Spaces represent empty cells; at least one cell must contain an ingredient.
keyMaps each pattern symbol to an ingredient; every key symbol must appear in the pattern.
resultOutput stack template. A result carrier requires count 1.
input_state​OptionalInput-state rules keyed by pattern symbol; default empty.
category​OptionalRecipe-book category: building, redstone, equipment, or misc; default misc.
group​OptionalRecipe-book group string; default empty.
show_notification​OptionalShows the recipe-unlock notification; default true.

Each input_state selector must name a symbol in key. preserve: result requires exactly one occurrence of that symbol in the pattern. Loader conditions can wrap the recipe.

Example:

Shipped steel-to-desh crate upgrade, data/hbm/recipe/crate_desh.json. Four desh plates surround the Steel Crate; the Desh Crate retains that crate's component changes, including its contents, name and lock.

{
  "type": "hbm:crafting_shaped",
  "input_state": {
    "S": {
      "preserve": "result"
    }
  },
  "key": {
    "D": "hbm:plate_desh",
    "S": "hbm:crate_steel"
  },
  "pattern": [
    " D ",
    "DSD",
    " D "
  ],
  "result": {
    "id": "hbm:crate_desh"
  }
}

© 2026 movblock. Original site text is licensed under CC BY-SA 4.0 unless otherwise noted. Built with Fumadocs.

On this page