Skip to content

Forestry

Generated page, edit scripts/gen_schema_pages.py instead.

Forestry recipes (1.20.1), pkl4mc dialect.

Usage

amends "@pkl4mc/forestry_recipes.pkl"

Example

recipes
// Forestry recipes - one example per type.
// Each entry becomes `<name>.json` under this file's directory.
amends "@pkl4mc/forestry_recipes.pkl"

// Shaped grid + optional fluid + optional box slot item.
carpenter {
  new {
    name = "example_carpenter_sturdy_casing"
    time = 40
    fluidInput { fluid = "minecraft:water"; amount = 1000 }
    grid {
      key { ["B"] { item = "forestry:bronze_ingot" } }
      pattern {
        "BBB"
        "B B"
        "BBB"
      }
      output { item = "forestry:sturdy_casing" }
    }
  }
}

centrifuge {
  new {
    name = "example_centrifuge_honey_comb"
    time = 20
    input { item = "forestry:bee_comb_honey" }
    outputs {
      new { item = "forestry:beeswax" }
      new { item = "forestry:honey_drop"; chance = 0.9 }
    }
  }
}

// Like carpenter but consumes molten fluid from the thermionic fabricator.
fabricator {
  new {
    name = "example_fabricate_tube"
    fluidInput { fluid = "forestry:glass"; amount = 500 }
    grid {
      key {
        ["C"] { item = "minecraft:copper_ingot" }
        ["R"] { item = "minecraft:redstone" }
      }
      pattern {
        " C "
        " C "
        " R "
      }
      output { item = "forestry:elite_circuit_board"; count = 4 }
    }
  }
}

// What the fabricator can melt down into its tank; inputs are alternatives.
fabricator_smelting {
  new {
    name = "example_melt_glass"
    melting = 1000
    fluidOutput { fluid = "forestry:glass"; amount = 1000 }
    inputs {
      new { item = "minecraft:glass" }
      new { item = "minecraft:sand" }
    }
  }
}

fermenter {
  new {
    name = "example_ferment_carrot"
    fermentationValue = 80
    modifier = 1.5
    input { item = "minecraft:carrot" }
    fluidInput { fluid = "minecraft:water"; amount = 1000 }
    output = "forestry:biomass"
  }
}

// Alveary climate control per liquid.
hygroregulator {
  new {
    name = "example_hygro_lava"
    time = 40
    fluidInput { fluid = "minecraft:lava"; amount = 1 }
    humiditySteps = -1
    temperatureSteps = 2
  }
}

moistener {
  new {
    name = "example_moisten_mossy"
    time = 5000
    input { item = "minecraft:cobblestone" }
    output { item = "minecraft:mossy_cobblestone" }
  }
}

// Items squeeze into fluid + optional remnant item (chance on the remnant).
squeezer {
  new {
    name = "example_squeeze_apple"
    time = 10
    inputs { new { item = "minecraft:apple"; count = 2 } }
    fluidOutput { fluid = "forestry:juice"; amount = 200 }
    remnant { item = "forestry:mulch"; chance = 0.2 }
  }
}

// Empties filled containers back into the tank.
squeezer_container {
  new {
    name = "example_squeeze_can"
    time = 10
    container { item = "forestry:can" }
    remnant { item = "forestry:broken_bronze_shovel"; chance = 0.05 }
  }
}

still {
  new {
    name = "example_distill_biomass"
    time = 100
    fluidInput { fluid = "forestry:biomass"; amount = 10 }
    fluidOutput { fluid = "forestry:bio_ethanol"; amount = 3 }
  }
}