Skip to content
Mana and Artifice

Mana and Artifice

Generated page, edit scripts/gen_schema_pages.py instead.

Mana and Artifice recipes (1.20.1), pkl4mc dialect.

Mana and Artifice isn’t open source, verified against bytecode decompiled with CFR from mna-forge-*.jar (found in the “mna” folder in the user’s modpack instance, decompiled sources at temp/ManaAndArtifice/).

multiblock is out of scope: recipes reference a datapack structure NBT file plus a block-matcher/variation system with no analog to author from pkl4mc anyway (there’s no structure-file authoring here), so a partial schema wouldn’t be independently usable.

Usage

amends "@pkl4mc/mana_and_artifice_recipes.pkl"

Example

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

shape {
  new {
    name = "example_shape_touch"
    items { "mna:vellum" }
    patterns { "mna:touch_shape_pattern" }
    output = "mna:touch"
  }
}

component {
  new {
    name = "example_component_fire"
    items { "mna:vellum"; "minecraft:blaze_powder" }
    patterns { "mna:fire_component_pattern" }
    output = "mna:fire"
  }
}

modifier {
  new {
    name = "example_modifier_amplify"
    items { "mna:vellum"; "minecraft:glowstone_dust" }
    patterns { "mna:amplify_modifier_pattern" }
    output = "mna:amplify"
  }
}

eldrin_altar {
  new {
    name = "example_eldrin_altar_soul_gem"
    items { "minecraft:amethyst_shard"; "minecraft:glass" }
    output = "mna:soul_gem"
    powerRequirements { new { affinity = "LIFE"; amount = 10.0 } }
    colorOne = 0xff0000
    colorTwo = 0x0000ff
  }
}

manaweaving_recipe {
  new {
    name = "example_manaweaving_sharpness_rune"
    items { "mna:rune_blank" }
    patterns { "mna:sharpness_pattern" }
    output = "mna:sharpness_rune"
    enchant = "minecraft:sharpness"
    magnitude = 2
  }
}

crushing {
  new {
    name = "example_crushing_vinteum_dust"
    input = "mna:vinteum_ore"
    output = "mna:vinteum_dust"
    outputQuantity = 2
  }
}

arcane_furnace {
  new {
    name = "example_arcane_furnace_vinteum_ingot"
    input = "mna:vinteum_dust"
    output = "mna:vinteum_ingot"
    burnTime = 200
  }
}

runeforging {
  new {
    name = "example_runeforging_fire_rune"
    pattern = "mna:fire_rune_pattern"
    output = "mna:fire_rune"
    hits = 15
  }
}

runescribing {
  new {
    name = "example_runescribing_fire_pattern"
    mutexH = 5
    mutexV = 3
    output = "mna:fire_rune_pattern"
  }
}

eldrin_fume {
  new {
    name = "example_eldrin_fume_coal"
    item = "minecraft:coal"
    powerProvided { affinity = "FIRE"; amount = 5.0 }
  }
}

transmutation {
  new {
    name = "example_transmutation_stone_to_vinteum_ore"
    targetBlock = "minecraft:stone"
    replaceBlock = "mna:vinteum_ore"
  }
}

manaweave_cache_effect {
  new {
    name = "example_manaweave_cache_effect_regeneration"
    effect = "minecraft:regeneration"
    magnitude = 2
    durationMin = 5
    durationMax = 10
  }
}

progression_condition {
  new {
    name = "example_progression_condition_tier_1"
    advancement = "mna:main/craft_vellum"
    tier = 1
  }
}

manaweaving_pattern {
  new {
    name = "example_manaweaving_pattern_circle"
    pattern {
      new { 0; 0; 0; 0; 1; 1; 1; 0; 0; 0; 0 }
      new { 0; 0; 1; 1; 0; 0; 0; 1; 1; 0; 0 }
      new { 0; 1; 0; 0; 0; 0; 0; 0; 0; 1; 0 }
      new { 0; 1; 0; 0; 0; 0; 0; 0; 0; 1; 0 }
      new { 1; 0; 0; 0; 0; 0; 0; 0; 0; 0; 1 }
      new { 1; 0; 0; 0; 0; 0; 0; 0; 0; 0; 1 }
      new { 1; 0; 0; 0; 0; 0; 0; 0; 0; 0; 1 }
      new { 0; 1; 0; 0; 0; 0; 0; 0; 0; 1; 0 }
      new { 0; 1; 0; 0; 0; 0; 0; 0; 0; 1; 0 }
      new { 0; 0; 1; 1; 0; 0; 0; 1; 1; 0; 0 }
      new { 0; 0; 0; 0; 1; 1; 1; 0; 0; 0; 0 }
    }
  }
}

ritual {
  new {
    name = "example_ritual_summon_lightning"
    keys {
      ["S"] { item = "minecraft:redstone_torch" }
      ["W"] { item = "minecraft:water_bucket"; consume = false }
    }
    pattern {
      new { 0; 1; 0 }
      new { 1; 1; 1 }
      new { 0; 1; 0 }
    }
    reagents {
      "   "
      " W "
      "   "
    }
    command = "summon minecraft:lightning_bolt ~ ~ ~"
    parameters {
      innerColor = "0xFFFFFF"
      outerColor = "0x00FFFF"
    }
  }
}