Skip to content

Recipes

Generated page, edit scripts/gen_schema_pages.py instead.

Vanilla datapack recipes (Minecraft 1.20.1), pkl4mc dialect.

Usage

amends "@pkl4mc/recipes.pkl"

Examples

cooking

amends "@pkl4mc/recipes.pkl"

blasting {
  new {
    name = "example_blasting"
    category = "misc"
    input { item = "minecraft:raw_iron" }
    output { item = "minecraft:iron_ingot" }
    experience = 0.7
    cookingTime = 100
  }
}

smoking {
  new {
    name = "example_smoking"
    category = "food"
    input { item = "minecraft:porkchop" }
    output { item = "minecraft:cooked_porkchop" }
    experience = 0.35
    cookingTime = 100
  }
}

campfire {
  new {
    name = "example_campfire"
    input { item = "minecraft:potato" }
    output { item = "minecraft:baked_potato" }
    cookingTime = 600
  }
}

shaped

amends "@pkl4mc/recipes.pkl"

shaped {
  new {
    name = "example_shaped"
    category = "misc"
    key {
      ["S"] { item = "minecraft:stick" }
    }
    pattern { "S S"; " S "; "S S" }
    output { item = "minecraft:stick"; count = 4 }
  }
}

shapeless

amends "@pkl4mc/recipes.pkl"

shapeless {
  new {
    name = "example_shapeless"
    category = "misc"
    inputs { new { item = "minecraft:sea_pickle" } }
    output { item = "minecraft:lime_dye" }
  }
}

smelting

amends "@pkl4mc/recipes.pkl"

smelting {
  new {
    name = "example_smelting"
    category = "misc"
    input { item = "minecraft:stick" }
    output { item = "minecraft:stick" }
    experience = 0.7
    cookingTime = 200
  }
}

smithing

amends "@pkl4mc/recipes.pkl"

smithing_transform {
  new {
    name = "example_smithing_transform"
    template { item = "minecraft:netherite_upgrade_smithing_template" }
    base { item = "minecraft:diamond_sword" }
    addition { item = "minecraft:netherite_ingot" }
    output { item = "minecraft:netherite_sword" }
  }
}

smithing_trim {
  new {
    name = "example_smithing_trim"
    template { item = "minecraft:sentry_armor_trim_smithing_template" }
    base { tag = "minecraft:trimmable_armor" }
    addition { tag = "forge:gems" }
  }
}

stonecutting

amends "@pkl4mc/recipes.pkl"

stonecutting {
  new {
    name = "example_stonecutting"
    input { item = "minecraft:stone" }
    output { item = "minecraft:stone_bricks"; count = 1 }
  }
}