Input Entries

Input entries define what a recipe checks for and consumes.

Consume input

{
  "type": "mm:input/consume",
  "per_tick": true,
  "chance": 0.5,
  "ingredient": {
    "type": "mm:item",
    "item": "minecraft:iron_ingot",
    "count": 1
  }
}
Field Meaning
type Use mm:input/consume for normal consumed inputs.
per_tick Optional. When true, consumes the ingredient every recipe tick instead of at completion.
chance Optional. Random chance from 0.0 to 1.0; default is 1.0.
ingredient Ingredient config object. See Ingredient Configs.

If chance is 0, the input is never consumed. If chance is 1, it is always consumed.

Counted and flex inputs

mm:input/count counts matching items in input item ports without consuming them. Its as value can scale an output. mm:input/flex selects several distinct item kinds for one flex recipe; mm:input/flex_match requires a related item for each selected kind. See Flex Recipes and Counted Inputs for their fields, templates, and examples.