Skip to content

Mekanism

Generated page, edit scripts/gen_schema_pages.py instead.

Mekanism machine recipes (1.20.1), pkl4mc dialect.

Item ingredients take item/tag + count, fluids take fluid/fluidTag + amount, same shapes as every other pkl4mc schema. Chemicals (gas/infusion/pigment) use Chem. Role-named slots (mainInput, leftInput, …) keep their names because Mekanism gives them meaning.

Usage

amends "@pkl4mc/mekanism_recipes.pkl"

Example

recipes
amends "@pkl4mc/mekanism_recipes.pkl"

// Crusher: flint → gunpowder
crushing {
  new {
    name = "my_mod/crushing/flint_to_gunpowder"
    input { item = "minecraft:flint" }
    output { item = "minecraft:gunpowder" }
  }
}

// Enrichment Chamber: glowstone block → 4 glowstone dust
enriching {
  new {
    name = "my_mod/enriching/glowstone"
    input { item = "minecraft:glowstone" }
    output { item = "minecraft:glowstone_dust"; count = 4 }
  }
}

// Metallurgic Infuser: sand + bio infuse → dirt
metallurgic_infusing {
  new {
    name = "my_mod/metallurgic_infusing/sand_to_dirt"
    itemInput { tag = "forge:sand" }
    chemicalInput { tag = "mekanism:bio"; amount = 10 }
    output { item = "minecraft:dirt" }
  }
}

// Chemical Injection Chamber: brick + water vapor → clay ball
injecting {
  new {
    name = "my_mod/injecting/brick_to_clay"
    itemInput { tag = "forge:ingots/brick" }
    chemicalInput { tag = "mekanism:water_vapor"; amount = 1 }
    output { item = "minecraft:clay_ball" }
  }
}

// Chemical Infuser: hydrogen + chlorine → hydrogen chloride
chemical_infusing {
  new {
    name = "my_mod/chemical_infusing/hydrogen_chloride"
    leftInput { gas = "mekanism:hydrogen"; amount = 1 }
    rightInput { gas = "mekanism:chlorine"; amount = 1 }
    output { gas = "mekanism:hydrogen_chloride"; amount = 1 }
  }
}

// Chemical Oxidizer: item → gas
oxidizing {
  new {
    name = "my_mod/oxidizing/sulfur_to_sulfur_dioxide"
    input { tag = "forge:dusts/sulfur" }
    output { gas = "mekanism:sulfur_dioxide"; amount = 100 }
  }
}

// Precision Sawmill: log → planks + sawdust (25%)
sawing {
  new {
    name = "my_mod/sawing/oak_log"
    input { tag = "minecraft:logs" }
    mainOutput { item = "minecraft:oak_planks"; count = 6 }
    secondaryOutput { item = "mekanism:sawdust"; chance = 0.25 }
  }
}

// Antiprotonic Nucleosynthesizer: coal + antimatter → diamond
nucleosynthesizing {
  new {
    name = "my_mod/nucleosynthesizing/diamond_from_coal"
    itemInput { item = "minecraft:coal" }
    gasInput { gas = "mekanism:antimatter"; amount = 4 }
    output { item = "minecraft:diamond" }
    duration = 1000
  }
}

// Pressurized Reaction Chamber: item + fluid + gas → gas (+ optional item output)
reaction {
  new {
    name = "my_mod/reaction/wood_gasification"
    itemInput { tag = "minecraft:logs" }
    fluidInput { fluidTag = "minecraft:water"; amount = 100 }
    gasInput { gas = "mekanism:oxygen"; amount = 100 }
    gasOutput { gas = "mekanism:hydrogen"; amount = 100 }
    duration = 600
  }
}

// Thermal Evaporation Plant: water → brine
evaporating {
  new {
    name = "my_mod/evaporating/brine"
    input { fluidTag = "minecraft:water"; amount = 10 }
    output { fluid = "mekanism:brine"; amount = 1 }
  }
}

// Rotary Condensentrator: water ↔ water vapor
rotary {
  new {
    name = "my_mod/rotary/water_vapor"
    fluidInput { fluidTag = "minecraft:water"; amount = 1 }
    fluidOutput { fluid = "minecraft:water"; amount = 1 }
    gasInput { gas = "mekanism:water_vapor"; amount = 1 }
    gasOutput { gas = "mekanism:water_vapor"; amount = 1 }
  }
}

// Electrolytic Separator: water → hydrogen + oxygen
separating {
  new {
    name = "my_mod/separating/water"
    input { fluidTag = "minecraft:water"; amount = 2 }
    leftGasOutput { gas = "mekanism:hydrogen"; amount = 2 }
    rightGasOutput { gas = "mekanism:oxygen"; amount = 1 }
  }
}

// Combiner: cobblestone + 2 flint → gravel
combining {
  new {
    name = "my_mod/combining/gravel"
    mainInput { tag = "forge:cobblestone" }
    extraInput { item = "minecraft:flint"; count = 2 }
    output { item = "minecraft:gravel" }
  }
}

// Purification Chamber: ore + oxygen → clump
purifying {
  new {
    name = "my_mod/purifying/iron_ore"
    itemInput { tag = "forge:ores/iron" }
    chemicalInput { gas = "mekanism:oxygen"; amount = 1 }
    output { item = "mekanism:clump_iron" }
  }
}

// Chemical Crystallizer: lithium gas → lithium dust
crystallizing {
  new {
    name = "my_mod/crystallizing/lithium"
    chemicalType = "gas"
    input { gas = "mekanism:lithium"; amount = 100 }
    output { item = "mekanism:dust_lithium" }
  }
}

// Chemical Dissolution Chamber: fluorite + sulfuric acid → hydrofluoric acid
dissolution {
  new {
    name = "my_mod/dissolution/hydrofluoric_acid"
    itemInput { tag = "forge:gems/fluorite" }
    gasInput { gas = "mekanism:sulfuric_acid"; amount = 1 }
    output { gas = "mekanism:hydrofluoric_acid"; amount = 1000; chemicalType = "gas" }
  }
}

// Gas Conversion: osmium ingot → osmium gas
gas_conversion {
  new {
    name = "my_mod/gas_conversion/osmium_from_ingot"
    input { tag = "forge:ingots/osmium" }
    output { gas = "mekanism:osmium"; amount = 200 }
  }
}

// Infusion Conversion: redstone dust → redstone infuse type
infusion_conversion {
  new {
    name = "my_mod/infusion_conversion/redstone"
    input { tag = "forge:dusts/redstone" }
    output { infuseType = "mekanism:redstone"; amount = 10 }
  }
}

// Energy Conversion: redstone dust → Joules
energy_conversion {
  new {
    name = "my_mod/energy_conversion/redstone"
    input { tag = "forge:dusts/redstone" }
    output = 10000
  }
}

// Painting Machine: wool + cyan pigment → cyan wool
painting {
  new {
    name = "my_mod/painting/cyan_wool"
    itemInput { tag = "minecraft:wool" }
    chemicalInput { pigment = "mekanism:cyan"; amount = 32 }
    output { item = "minecraft:cyan_wool" }
  }
}

// Pigment Extractor: white stained glass → white pigment
pigment_extracting {
  new {
    name = "my_mod/pigment_extracting/white_glass"
    input { tag = "forge:glass/white" }
    output { pigment = "mekanism:white"; amount = 16 }
  }
}

// Pigment Mixer: black + red → dark red
pigment_mixing {
  new {
    name = "my_mod/pigment_mixing/dark_red"
    leftInput { pigment = "mekanism:black"; amount = 1 }
    rightInput { pigment = "mekanism:red"; amount = 4 }
    output { pigment = "mekanism:dark_red"; amount = 5 }
  }
}