if (Platform.isLoaded("pneumaticcraft")) {
  ServerEvents.recipes((allthemods) => {
    function changeInput(item, replacement) {
      allthemods.replaceInput({ mod: "pneumaticcraft" }, item, replacement)
    }

    allthemods.remove({ mod: "pneumaticcraft", output: "pneumaticcraft:amadron_tablet" })
    allthemods.custom({
      type: "pneumaticcraft:crafting_shaped_pressurizable",
      category: "misc",
      key: {
        C: {
          item: "pneumaticcraft:air_canister"
        },
        G: {
          item: "pneumaticcraft:gps_tool"
        },
        P: {
          tag: "c:plastics"
        }
      },
      pattern: ["PPP", "PGP", "PCP"],
      result: {
        count: 1,
        id: "pneumaticcraft:amadron_tablet"
      }
    })

    // changeInput('#pneumaticcraft:plastic_sheets', '#c:plastics')
    changeInput("pneumaticcraft:plastic", "#c:plastics")
  })
}
