//priority: 0

ServerEvents.recipes(event => {
    event.remove({ output: 'minecraft:redstone', type: 'exnihilosequentia:sifting'})
    event.remove({ output: 'minecraft:glowstone_dust', type: 'exnihilosequentia:sifting'})

    event.recipes.exnihilosequentia.sifting('exnihilosequentia:dust', 'minecraft:redstone', [
        {
            chance: 0.2,
            mesh: "iron"
        }],
        false
    )

    event.recipes.exnihilosequentia.sifting('exnihilosequentia:dust', 'minecraft:glowstone_dust', [
        {
            chance: 0.4,
            mesh: "iron"
        }],
        false
    )

    event.recipes.exnihilosequentia.sifting('exnihilosequentia:dust', 'voidblock:dust', [
        {
            chance: 0.5,
            mesh: "iron"
        }],
        false
    )

    event.recipes.exnihilosequentia.sifting('minecraft:dirt', 'exnihilosequentia:mycelium_spores', [
        {
            chance: 0.2,
            mesh: "none"
        }],
        false
    )

    event.custom({
        "type": "pneumaticcraft:pressure_chamber",
        "inputs": [
          {
            "type": "pneumaticcraft:stacked_item",
            "item": "minecraft:gunpowder",
            "count": 2
          },
          {
            "type": "pneumaticcraft:stacked_item",
            "item": "minecraft:rotten_flesh",
            "count": 2
          },
          {
            "type": "pneumaticcraft:stacked_item",
            "item": "minecraft:spider_eye",
            "count": 2
          },
          {
            "item": "minecraft:bucket"
          },
        ],
        "pressure": 1.0,
        "results": [
          {
            "item": "pneumaticcraft:etching_acid_bucket"
          }
        ]
    })
})