onEvent("recipes", recipesEvent => {
  const chestType = [
    {
      "modid": "betterendforge",
      "material": "mossy_glowshroom",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "mossy_glowshroom",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "lacugrove",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "lacugrove",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "end_lotus",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "end_lotus",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "pythadendron",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "pythadendron",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "dragon_tree",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "dragon_tree",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "tenanea",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "tenanea",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "helix_tree",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "helix_tree",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "umbrella_tree",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "umbrella_tree",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "jellyshroom",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "jellyshroom",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "lucernia",
      "suffix": "log"
    },
    {
      "modid": "betterendforge",
      "material": "lucernia",
      "suffix": "log"
    },
    {
      "modid": "environmental",
      "material": "willow",
      "suffix": "log"
    },
    {
      "modid": "environmental",
      "material": "cherry",
      "suffix": "log"
    },
    {
      "modid": "environmental",
      "material": "wisteria",
      "suffix": "log"
    },
    {
      "modid": "bayou_blues",
      "material": "cypress",
      "suffix": "log"
    },
    {
      "modid": "upgrade_aquatic",
      "material": "driftwood",
      "suffix": "log"
    },
    {
      "modid": "upgrade_aquatic",
      "material": "river",
      "suffix": "log"
    },
    {
      "modid": "endergetic",
      "material": "poise",
      "suffix": "stem"
    },
    {
      "modid": "abundance",
      "material": "jacaranda",
      "suffix": "log"
    },
    {
      "modid": "abundance",
      "material": "redbud",
      "suffix": "log"
    },
    {
      "modid": "charm",
      "material": "acacia",
      "suffix": "log"
    },
    {
      "modid": "charm",
      "material": "birch",
      "suffix": "log"
    },
    {
      "modid": "charm",
      "material": "crimson",
      "suffix": "stem"
    },
    {
      "modid": "charm",
      "material": "dark_oak",
      "suffix": "log"
    },
    {
      "modid": "charm",
      "material": "jungle",
      "suffix": "log"
    },
    {
      "modid": "charm",
      "material": "oak",
      "suffix": "log"
    },
    {
      "modid": "charm",
      "material": "spruce",
      "suffix": "log"
    },
    {
      "modid": "charm",
      "material": "warped",
      "suffix": "stem"
    },
    {
      "modid": "outer_end",
      "material": "azure",
      "suffix": "stem"
    }
  ];

  for (let chest of chestType) {
    let { modid, material, suffix } = chest;
    recipesEvent.shaped(
      `4x ${modid}:${material}_chest`,
      [
        "LLL",
        "L L",
        "LLL"
      ],
      {
        L: `${modid === "charm" ? "minecraft" : modid}:${material}_${suffix}`
      }
    );
  }
});