core.register_craft({
    output = "pyutest_tools:wooden_pickaxe 1",
    recipe = {
      { "group:wooden_planks", "group:wooden_planks", "group:wooden_planks" },
      { "",                    "pyutest_tools:stick", "" },
      { "",                    "pyutest_tools:stick", "" }
    }
})

core.register_craft({
    output = "pyutest_tools:wooden_axe 1",
    recipe = {
      { "group:wooden_planks", "group:wooden_planks", "" },
      { "group:wooden_planks", "pyutest_tools:stick", "" },
      { "",                    "pyutest_tools:stick", "" }
    }
})

core.register_craft({
    output = "pyutest_tools:wooden_sword 1",
    recipe = {
      { "", "group:wooden_planks", "" },
      { "", "group:wooden_planks", "" },
      { "", "pyutest_tools:stick", "" }
    }
})

core.register_craft({
    output = "pyutest_tools:stone_pickaxe",
    recipe = {
      { "group:cobble", "group:cobble",         "group:cobble" },
      { "",            "pyutest_tools:stick", "" },
      { "",            "pyutest_tools:stick", "" }
    }
})

core.register_craft({
    output = "pyutest_tools:stone_axe",
    recipe = {
      { "group:cobble", "group:cobble",         "" },
      { "group:cobble", "pyutest_tools:stick", "" },
      { "",            "pyutest_tools:stick", "" }
    }
})

core.register_craft({
    output = "pyutest_tools:stone_sword",
    recipe = {
      { "", "group:cobble",         "" },
      { "", "group:cobble",         "" },
      { "", "pyutest_tools:stick", "" }
    }
})

core.register_craft({
    output = "pyutest_tools:iron_pickaxe",
    recipe = {
      { "pyutest_ores:iron_ingot", "pyutest_ores:iron_ingot", "pyutest_ores:iron_ingot" },
      { "",                        "pyutest_tools:stick",     "" },
      { "",                        "pyutest_tools:stick",     "" }
    }
})

core.register_craft({
    output = "pyutest_tools:iron_axe",
    recipe = {
      { "pyutest_ores:iron_ingot", "pyutest_ores:iron_ingot", "" },
      { "pyutest_ores:iron_ingot", "pyutest_tools:stick",     "" },
      { "",                        "pyutest_tools:stick",     "" }
    }
})

core.register_craft({
    output = "pyutest_tools:iron_sword",
    recipe = {
      { "pyutest_ores:iron_ingot" },
      { "pyutest_ores:iron_ingot" },
      { "pyutest_tools:stick" }
    }
})

core.register_craft({
    output = "pyutest_farming:hoe",
    recipe = {
      { "pyutest_ores:iron_ingot", "pyutest_ores:iron_ingot", "" },
      { "",                        "pyutest_tools:stick",     "" },
      { "",                        "pyutest_tools:stick",     "" }
    }
})

core.register_craft({
    output = "pyutest_tools:shears",
    recipe = {
      "pyutest_ores:iron_ingot",
      "pyutest_ores:iron_ingot"
    },
    type = "shapeless"
})

core.register_craft({
    output = "pyutest_tools:diamond_pickaxe",
    recipe = {
      { "pyutest_ores:diamond_shard", "pyutest_ores:diamond_shard", "pyutest_ores:diamond_shard" },
      { "",                           "pyutest_tools:stick",        "" },
      { "",                           "pyutest_tools:stick",        "" }
    }
})

core.register_craft({
    output = "pyutest_tools:diamond_axe",
    recipe = {
      { "pyutest_ores:diamond_shard", "pyutest_ores:diamond_shard", "" },
      { "pyutest_ores:diamond_shard", "pyutest_tools:stick",        "" },
      { "",                           "pyutest_tools:stick",        "" }
    }
})

core.register_craft({
    output = "pyutest_tools:diamond_sword",
    recipe = {
      { "pyutest_ores:diamond_shard" },
      { "pyutest_ores:diamond_shard" },
      { "pyutest_tools:stick" }
    }
})

core.register_craft({
    output = "pyutest_tools:flint_and_steel",
    recipe = {
      "pyutest_tools:flint", "pyutest_ores:iron_ingot"
    },
    type = "shapeless"
})

-- not tools
core.register_craft({
    output = "pyutest_blocks:crate",
    recipe = {
      { "group:wooden_planks", "group:wooden_planks", "group:wooden_planks" },
      { "group:wooden_planks", "",                    "group:wooden_planks" },
      { "group:wooden_planks", "group:wooden_planks", "group:wooden_planks" }
    }
})

core.register_craft({
    output = "pyutest_blocks:brick_block 4",
    recipe = {
      { "pyutest_tools:brick", "pyutest_tools:brick" },
      { "pyutest_tools:brick", "pyutest_tools:brick" }
    }
})

core.register_craft({
    output = "pyutest_furnace:furnace",
    recipe = {
      { "group:cobble", "group:cobble", "group:cobble" },
      { "group:cobble", "",            "group:cobble" },
      { "group:cobble", "group:cobble", "group:cobble" }
    }
})

core.register_craft({
    output = "pyutest_blocks:workbench",
    recipe = {
      { "group:wooden_planks", "group:wooden_planks" },
      { "group:wooden_planks", "group:wooden_planks" },
    }
})

core.register_craft({
    output = "pyutest_blocks:slime_block",
    type = "shapeless",
    recipe = {
      "pyutest_blocks:clay_block",
      "pyutest_blocks:swampy_grass_block"
    }
})

core.register_craft({
    output = "pyutest_tools:sugar 3",
    type = "shapeless",
    recipe = {
      "pyutest_flowers:sugarcane"
    }
})

core.register_craft({
    output = "pyutest_blocks:clay_block 4",
    recipe = {
      { "pyutest_tools:clay", "pyutest_tools:clay" },
      { "pyutest_tools:clay", "pyutest_tools:clay" }
    }
})

core.register_craft({
    output = "pyutest_blocks:bone_block 4",
    recipe = {
      { "pyutest_tools:bone", "pyutest_tools:bone" },
      { "pyutest_tools:bone", "pyutest_tools:bone" }
    }
})

core.register_craft({
    output = "pyutest_tools:stick 4",
    recipe = {
      { "group:wooden_planks" },
      { "group:wooden_planks" }
    }
})

core.register_craft({
    output = "pyutest_tools:coin",
    recipe = {
      { "pyutest_ores:gold_ingot", "pyutest_ores:gold_ingot", "pyutest_ores:gold_ingot" },
      { "pyutest_ores:gold_ingot", "pyutest_ores:gold_ingot", "pyutest_ores:gold_ingot" },
      { "pyutest_ores:gold_ingot", "pyutest_ores:gold_ingot", "pyutest_ores:gold_ingot" }
    }
})

core.register_craft({
    output = "pyutest_ores:gold_ingot 9",
    recipe = {
      { "pyutest_tools:coin" }
    }
})

-- this recipe makes no sense, but who cares?
core.register_craft({
    output = "pyutest_blocks:contagious_acid 3",
    recipe = {
      "pyutest_blocks:mushroom_block",
      "pyutest_blocks:mushroom_stem_block",
      "pyutest_blocks:dirt_block",
      "pyutest_blocks:swampy_grass_block"
    },
    type = "shapeless"
})

core.register_craft({
    output = "pyutest_blocks:light 4",
    recipe = {
      { "pyutest_blocks:torch", "pyutest_blocks:torch" },
      { "pyutest_blocks:torch", "pyutest_blocks:torch" }
    }
})

core.register_craft({
    output = "pyutest_blocks:tnt 4",
    recipe = {
      { "pyutest_blocks:sand_block", "pyutest_tools:gunpowder" },
      { "pyutest_tools:gunpowder",   "pyutest_blocks:sand_block" }
    }
})

core.register_craft({
    output = "pyutest_blocks:tnt 4",
    recipe = {
      { "pyutest_tools:gunpowder",   "pyutest_blocks:sand_block" },
      { "pyutest_blocks:sand_block", "pyutest_tools:gunpowder" }
    }
})

core.register_craft({
    output = "pyutest_blocks:torch 4",
    recipe = {
      { "pyutest_ores:coal_lump" },
      { "pyutest_tools:stick" }
    }
})

core.register_craft({
    output = "pyutest_blocks:ladder 16",
    recipe = {
      { "pyutest_tools:stick", "",                    "pyutest_tools:stick" },
      { "pyutest_tools:stick", "pyutest_tools:stick", "pyutest_tools:stick" },
      { "pyutest_tools:stick", "",                    "pyutest_tools:stick" }
    }
})

core.register_craft({
    output = "pyutest_tools:wheat 4",
    recipe = {
      "pyutest_blocks:haybale_block"
    },
    type = "shapeless"
})

core.register_craft({
    output = "pyutest_blocks:haybale_block",
    recipe = {
      { "pyutest_tools:wheat", "pyutest_tools:wheat" },
      { "pyutest_tools:wheat", "pyutest_tools:wheat" }
    }
})

core.register_craft({
    output = "pyutest_tools:bread 3",
    recipe = {
      "pyutest_tools:wheat",
      "pyutest_tools:wheat",
      "pyutest_tools:wheat"
    },
    type = "shapeless"
})

core.register_craft({
    output = "pyutest_tools:paper 3",
    recipe = {
      "pyutest_flowers:sugarcane",
      "pyutest_flowers:sugarcane",
      "pyutest_flowers:sugarcane",
    },
    type = "shapeless",
})

core.register_craft({
    output = "pyutest_fireworks:firework 3",
    recipe = {
      "pyutest_tools:gunpowder",
      "pyutest_tools:paper",
    },
    type = "shapeless"
})

core.register_craft({
    output = "pyutest_tools:sliced_potato 2",
    recipe = {
      "pyutest_tools:potato"
    },
    type = "shapeless"
})

core.register_craft({
    type = "cooking",
    output = "pyutest_blocks:glass",
    recipe = "pyutest_blocks:sand_block"
})

core.register_craft({
    type = "cooking",
    output = "pyutest_blocks:brick",
    recipe = "pyutest_tools:clay",
})

core.register_craft({
    type = "cooking",
    output = "pyutest_blocks:stone_block",
    recipe = "pyutest_blocks:cobblestone_block",
})
