onEvent('recipes',event => {       
    //dank 1-v1
    event.remove({id: 'dankstorage:1'})
    event.custom({
        "type": "minecraft:crafting_shaped",
        "pattern": [
          "rrr",
          "rbr",
          "rrr"
        ],
        "key": {
          "r": {
            "item": "silentgear:netherwood_charcoal"
          },
          "b": {
            "item": "minecraft:barrel"
          }
        },
        "result": {
          "item": "dankstorage:dank_1"
        }
      })

    //dank 1-v2
    event.custom({
        "type": "minecraft:crafting_shaped",
        "pattern": [
          "rrr",
          "rbr",
          "rrr"
        ],
        "key": {
          "r": {
            "item": "immersiveengineering:coal_coke"
          },
          "b": {
            "item": "minecraft:barrel"
          }
        },
        "result": {
          "item": "dankstorage:dank_1"
        }
      })

    //5 to 6
    event.remove({id: 'dankstorage:5_to_6'})
    event.custom({
        "type": "minecraft:crafting_shaped",
        "pattern": [
        "ifi",
        "fsf",
        "ifi"
        ],
        "key": {
        "i": {
            "item": "eidolon:shadow_gem"
        },
        "f": {
            "item": "kubejs:draconium_sheet"
        },
        "s": {
            "item": "minecraft:stick"
        }
        },
        "result": {
        "item": "dankstorage:5_to_6"
        }
    })

    //6
    event.remove({id: 'dankstorage:6'})
    event.custom({
        "type": "dankstorage:upgrade",
        "pattern": [
          "ifi",
          "f1f",
          "ifi"
        ],
        "key": {
          "i": {
            "item": "eidolon:shadow_gem"
          },
          "f": {
            "item": "kubejs:draconium_sheet"
          },
          "1": {
            "item": "dankstorage:dank_5"
          }
        },
        "result": {
          "item": "dankstorage:dank_6"
        }
      })

    //7
    event.remove({id: 'dankstorage:7'})
    event.custom({
      "type": "dankstorage:upgrade",
      "pattern": [
        "ifi",
        "f1f",
        "ifi"
      ],
      "key": {
        "i": {
          "item": "minecraft:nether_star"
        },
        "f": {
          "item": "draconicevolution:draconium_block"
        },
        "1": {
          "item": "dankstorage:dank_6"
        }
      },
      "result": {
        "item": "dankstorage:dank_7"
      }
    })

    //6_to_7
    event.remove({id: 'dankstorage:6_to_7'})
    event.custom({
      "type": "minecraft:crafting_shaped",
      "pattern": [
        "ifi",
        "fsf",
        "ifi"
      ],
      "key": {
        "i": {
          "item": "minecraft:nether_star"
        },
        "f": {
          "item": "draconicevolution:draconium_block"
        },
        "s": {
          "item": "minecraft:stick"
        }
      },
      "result": {
        "item": "dankstorage:6_to_7"
      }
    })
})
