Skip to content

Create Utility Functions

Diogo B.Beloni edited this page Sep 24, 2026 · 1 revision

Utility functions for creating multiple or specialized Create recipes using MustJS.

These functions combine existing Create recipe helpers to simplify the creation of recipe families, tiered systems, and more complex processing chains.


Pressing Pairs

Creates multiple Create pressing recipes by pairing item outputs with item tags.

  • Machine: mechanical press and depot.

  • Outputs: array of item identifiers.

  • Inputs: array of item tag identifiers.

  • Pairing: each output is paired with the input tag at the same index.

  • Typical use: creating metal sheet recipes for multiple materials.

  • Code:

pressingPairs(
    e,
    [
        "create:iron_sheet"
    ],
    [
        "c:ingots/iron"
    ]
);

Each input is converted into an item tag ingredient using itemInputTag().


Sequence Deploy

Creates multiple deploying recipes and optionally converts them into Sequenced Assembly recipes.

  • Base: array of item identifiers used as the starting ingredients.

  • Outputs: array of final item identifiers.

  • Deployment: array of items used by the deployer.

  • Loops: number of Sequenced Assembly repetitions for each recipe.

  • Behavior: when the corresponding loop value is greater than 1, a Sequenced Assembly recipe is created. Otherwise, a standard deploying recipe is created.

  • Typical use: creating tiered mechanisms where some recipes require repeated processing.

  • Code:

const mechanism = [
    "createmechanisms:storage_mechanism"
];

const processor = [
    "ae2:engineering_processor"
];

const base = [
    "createmechanisms:zinc_mechanism"
];

const loop = [1, 1, 1, 4];

sequenceDeploy(
    e,
    processor,
    base,
    mechanism,
    loop
);

The item at each position in press is used as the deploying ingredient for the corresponding recipe.


Processor Forge

Creates multiple AE2 processor recipes using Create Sequenced Assembly.

Each recipe starts with a printed circuit and sequentially deploys ae2:printed_silicon and minecraft:redstone.

  • Base: printed processor circuit.

  • Output: final AE2 processor.

  • Processes: deploys printed silicon, followed by redstone.

  • Loops: one processing loop.

  • Typical use: creating AE2 processors through Create machinery.

  • Code:

const circuit = [
    "ae2:printed_engineering_processor"
];

const processors = [
    "ae2:engineering_processor"
];

processorForge(
    e,
    processors,
    circuit
);

Enderiam Tier

Creates multiple Enderiam-tier Sequenced Assembly recipes.

Each recipe starts with an Enderium Plate and applies a predefined sequence of pressing, deploying, and filling operations.

  • Base: alltheores:enderium_plate.

  • Output: final Enderiam-tier mechanism.

  • Transitional: incomplete mechanism used throughout the sequence.

  • Processes:

    • Pressing
    • Deploying the input mechanism
    • Deploying an Enderium Gear
    • Deploying an Enderiam Mechanism
    • Filling with Enderiam Fluid
    • Filling with Enderiam Fluid again
  • Fluid: createmechanisms:enderiam_fluid, 1000mb per filling operation.

  • Loops: one processing loop.

  • Code:

enderiamTier(
    e,
    [
        "createmechanisms:advanced_fluid_mechanism"
    ],
    [
        "createmechanisms:enderiam_fluid_mechanism"
    ],
    [
        "createmechanisms:incomplete_enderiam_fluid_mechanism"
    ]
);

Saw Recipe

Creates multiple shaped crafting recipes for different saw tiers.

Each recipe combines wooden components with a tier-specific material.

  • Machine: crafting table.

  • Output: tier-specific saw.

  • A: wooden slab tag.

  • B: wooden rod tag.

  • C: tier-specific material.

  • Typical use: generating saw recipes for multiple material tiers.

  • Code:

sawRecipe(
    e,
    [
        "createmechanisms:copper_saw"
    ],
    [
        itemInputKey("C", "minecraft:copper_ingot")
    ]
);

The recipe pattern is:

B  
CB 
 CA

Where:

  • A = minecraft:wooden_slabs
  • B = c:rods/wooden
  • C = tier-specific material

Clone this wiki locally